  bool WaitUntilSatisfied() {
    if (!was_observed_)
      message_loop_runner_->Run();
    if (observer_.IsObserving(render_widget_))
      observer_.Remove(render_widget_);
    return !did_fail_;
  }

The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.