EventQueue* Document::GetEventQueue() const {
  if (!dom_window_)
    return nullptr;
  return dom_window_->GetEventQueue();
}

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