mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 14:30:43 +00:00
Bug 1539884 - Part 19: Mark XMLDocument::EndLoad as CAN_RUN_SCRIPT_BOUNDARY r=masayuki
Depends on D134109 Differential Revision: https://phabricator.services.mozilla.com/D134110
This commit is contained in:
parent
65777f8c50
commit
593535bad1
@ -309,7 +309,8 @@ void XMLDocument::EndLoad() {
|
||||
// document was loaded as pure data without any presentation
|
||||
// attached to it.
|
||||
WidgetEvent event(true, eLoad);
|
||||
EventDispatcher::Dispatch(ToSupports(this), nullptr, &event);
|
||||
// TODO: Bug 1506441
|
||||
EventDispatcher::Dispatch(MOZ_KnownLive(ToSupports(this)), nullptr, &event);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -42,7 +42,8 @@ class XMLDocument : public Document {
|
||||
bool aReset = true,
|
||||
nsIContentSink* aSink = nullptr) override;
|
||||
|
||||
virtual void EndLoad() override;
|
||||
// TODO: Convert this to MOZ_CAN_RUN_SCRIPT (bug 1415230, bug 1535398)
|
||||
MOZ_CAN_RUN_SCRIPT_BOUNDARY virtual void EndLoad() override;
|
||||
|
||||
virtual nsresult Init() override;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user