Closed Bug 1539884 Opened 3 years ago Closed 8 months ago

Mark EventDispatcher::Dispatch as MOZ_CAN_RUN_SCRIPT

Categories

(Core :: DOM: Events, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
97 Branch
Tracking Status
firefox68 --- wontfix
firefox97 --- fixed

People

(Reporter: bzbarsky, Assigned: saschanaz)

References

(Blocks 2 open bugs)

Details

Attachments

(38 files, 1 obsolete file)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

Since it clearly can.

Priority: -- → P2
See Also: → 1547757
See Also: → 1680167
See Also: → 1680611
Assignee: nobody → krosylight
See Also: → 1743439
Keywords: leave-open
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/aa6dfd520383
Part 1: Mark Document::DispatchContentLoadedEvents as CAN_RUN_SCRIPT r=masayuki
https://hg.mozilla.org/integration/autoland/rev/e1530114beba
Part 2: Mark PostMessageEvent::Dispatch as CAN_RUN_SCRIPT r=masayuki
https://hg.mozilla.org/integration/autoland/rev/d80ea806fda4
Part 3: Mark VisualViewport::Fire*Event as CAN_RUN_SCRIPT r=masayuki
Attachment #9255535 - Attachment is obsolete: true
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/57068a40f3c9
Part 4: Mark nsContentUtils::MaybeFireNodeRemoved as CAN_RUN_SCRIPT r=masayuki
https://hg.mozilla.org/integration/autoland/rev/ca7c808621d6
Part 5: Mark Focus*Event::Run as CAN_RUN_SCRIPT_BOUNDARY r=masayuki
https://hg.mozilla.org/integration/autoland/rev/3d3019f61b5a
Part 6: Mark nsGlobalWindowInner::FireFrameLoadEvent as CAN_RUN_SCRIPT r=masayuki
https://hg.mozilla.org/integration/autoland/rev/ca21c5838f37
Part 7: Mark nsIEventListenerService::getEventTargetChainFor as can_run_script r=masayuki
https://hg.mozilla.org/integration/autoland/rev/a8cfa2201751
Part 8: Mark EventStateManager::Send[Legacy]Event as CAN_RUN_SCRIPT r=masayuki
https://hg.mozilla.org/integration/autoland/rev/de9e2829d42a
Part 9: Mark EventStateManager::PostHandleKeyboardEvent as CAN_RUN_SCRIPT r=masayuki
https://hg.mozilla.org/integration/autoland/rev/15d728ef97ca
Part 10: Mark EventStageManager::DispatchMouseOrPointerEvent as CAN_RUN_SCRIPT r=masayuki
https://hg.mozilla.org/integration/autoland/rev/ad65ce9208ce
Part 11: Mark HTMLFormElement::Reset as CAN_RUN_SCRIPT r=masayuki
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9b2d73b43bed
Part 4: Mark nsContentUtils::MaybeFireNodeRemoved as CAN_RUN_SCRIPT r=masayuki
https://hg.mozilla.org/integration/autoland/rev/0b8e3442e4f0
Part 5: Mark Focus*Event::Run as CAN_RUN_SCRIPT_BOUNDARY r=masayuki
https://hg.mozilla.org/integration/autoland/rev/a01c249b5af3
Part 6: Mark nsGlobalWindowInner::FireFrameLoadEvent as CAN_RUN_SCRIPT r=masayuki
https://hg.mozilla.org/integration/autoland/rev/9ed4144fa565
Part 7: Mark nsIEventListenerService::getEventTargetChainFor as can_run_script r=masayuki
https://hg.mozilla.org/integration/autoland/rev/4743c26338e8
Part 8: Mark EventStateManager::Send[Legacy]Event as CAN_RUN_SCRIPT r=masayuki
https://hg.mozilla.org/integration/autoland/rev/e852d0abe66f
Part 9: Mark EventStateManager::PostHandleKeyboardEvent as CAN_RUN_SCRIPT r=masayuki
https://hg.mozilla.org/integration/autoland/rev/6bb30c8450cf
Part 10: Mark EventStageManager::DispatchMouseOrPointerEvent as CAN_RUN_SCRIPT r=masayuki
https://hg.mozilla.org/integration/autoland/rev/77c3bbbd9b7b
Part 11: Mark HTMLFormElement::Reset as CAN_RUN_SCRIPT r=masayuki
Flags: needinfo?(krosylight)
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/27ef29bc1a6a
Part 12: Mark HTMLInputElement::DispatchSelectEvent as CAN_RUN_SCRIPT r=masayuki
https://hg.mozilla.org/integration/autoland/rev/c27ecbcbd13d
Part 13: Mark HTMLMenuElement::SendShowEvent as CAN_RUN_SCRIPT r=masayuki
https://hg.mozilla.org/integration/autoland/rev/e03220ef1d65
Part 14: Mark nsGenericHTMLElement::Click/DispatchSimulatedClick as CAN_RUN_SCRIPT r=masayuki
https://hg.mozilla.org/integration/autoland/rev/39c1b1cc1839
Part 15: Mark BrowserBridgeChild::RecvMaybeFireEmbedderLoadEvents as CAN_RUN_SCRIPT_BOUNDARY r=masayuki
https://hg.mozilla.org/integration/autoland/rev/6cfd7b3f6088
Part 16: Mark BrowserParent::RecvReplyKeyEvent/RecvAccessKeyNotHandled as CAN_RUN_SCRIPT_BOUNDARY r=masayuki
https://hg.mozilla.org/integration/autoland/rev/e6bce31797bc
Part 17: Mark nsIScriptLoaderObserver::scriptEvaluated as can_run_script r=masayuki
https://hg.mozilla.org/integration/autoland/rev/bb4306053628
Part 18: Mark AsyncTimeEventRunner::Run as CAN_RUN_SCRIPT_BOUNDARY r=masayuki
https://hg.mozilla.org/integration/autoland/rev/6276ff43a727
Part 19: Mark XMLDocument::EndLoad as CAN_RUN_SCRIPT_BOUNDARY r=masayuki
https://hg.mozilla.org/integration/autoland/rev/b50047134e40
Part 20: Mark XULBroadcastManager::ExecuteOnBroadcastHandlerFor as CAN_RUN_SCRIPT r=masayuki
Attachment #9256279 - Attachment description: Bug 1539884 - Part 23: Mark HasListenersFor* in FocusTarget as CAN_RUN_SCRIPT r=masayuki → Bug 1539884 - Part 23: Mark HasListenersFor* in FocusTarget as CAN_RUN_SCRIPT_BOUNDARY r=masayuki
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7e07c76c0dc1
Part 21: Mark nsIDOMXULCommandDispatcher::updateCommands as can_run_script r=masayuki
https://hg.mozilla.org/integration/autoland/rev/b652bdc0f8f5
Part 22: Mark nsXULElement::ClickWithInputSource as CAN_RUN_SCRIPT r=masayuki
https://hg.mozilla.org/integration/autoland/rev/843729ca64f6
Part 23: Mark HasListenersFor* in FocusTarget as CAN_RUN_SCRIPT_BOUNDARY r=masayuki
https://hg.mozilla.org/integration/autoland/rev/2f955ecf3f6b
Part 24: Mark nsIContentViewer::pageHide as can_run_script r=masayuki
https://hg.mozilla.org/integration/autoland/rev/914baba4da41
Part 25: Mark nsLayoutUtils::HasDocumentLevelListenersForApzAwareEvents as CAN_RUN_SCRIPT_BOUNDARY r=masayuki
https://hg.mozilla.org/integration/autoland/rev/0d5dc3e6ad50
Part 26: Mark ScrollFrameHelper::Fire*Event as CAN_RUN_SCRIPT r=masayuki
https://hg.mozilla.org/integration/autoland/rev/ad51e216e0a7
Part 27: Mark nsImageBoxFrameEvent::Run as CAN_RUN_SCRIPT_BOUNDARY r=masayuki
https://hg.mozilla.org/integration/autoland/rev/226311623b39
Part 28: Mark nsXULPopupShownEvent::Run as CAN_RUN_SCRIPT_BOUNDARY r=masayuki
https://hg.mozilla.org/integration/autoland/rev/410d891e4eb8
Part 29: Mark nsXULPopupManager::HidePopupCallback as CAN_RUN_SCRIPT r=masayuki
https://hg.mozilla.org/integration/autoland/rev/b2c9d1416fea
Part 30: Mark nsXULPopupManager::FirePopupShowingEvent as CAN_RUN_SCRIPT r=masayuki
https://hg.mozilla.org/integration/autoland/rev/88b62a87d5fa
Part 31: Mark nsTreeBodyFrame::FireScrollEvent as CAN_RUN_SCRIPT r=masayuki
https://hg.mozilla.org/integration/autoland/rev/ed52c544e38d
Part 32: Mark nsHtml5SVGLoadDispatcher::Run as CAN_RUN_SCRIPT_BOUNDARY r=masayuki
https://hg.mozilla.org/integration/autoland/rev/3490e674ca51
Part 33: Mark nsDocLoader::DocLoaderIsEmpty as CAN_RUN_SCRIPT r=masayuki
https://hg.mozilla.org/integration/autoland/rev/903333385c89
Part 34: Mark StatusBarEntry::OnMessage as CAN_RUN_SCRIPT r=masayuki
https://hg.mozilla.org/integration/autoland/rev/174b207e035f
Part 35: Mark relevant nsMenuX methods to CAN_RUN_SCRIPT r=masayuki
https://hg.mozilla.org/integration/autoland/rev/28adc7539217
Part 36: Mark AppWindow::ExecuteCloseHandler as CAN_RUN_SCRIPT r=masayuki
https://hg.mozilla.org/integration/autoland/rev/b00ab8f84a81
Part 37: Add strong references for arguments in callers r=masayuki
https://hg.mozilla.org/integration/autoland/rev/080266d5b2a2
Part 38: Mark EventDispatcher::Dispatch as CAN_RUN_SCRIPT r=masayuki
Keywords: leave-open
Blocks: 1748910
You need to log in before you can comment on or make changes to this bug.