Closed
Bug 1455680
Opened 7 years ago
Closed 7 years ago
Notify document-element-inserted in XUL documents
Categories
(Core :: DOM: Core & HTML, enhancement)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla61
Tracking | Status | |
---|---|---|
firefox61 | --- | fixed |
People
(Reporter: bgrins, Assigned: bgrins)
References
Details
Attachments
(1 file)
Spinning this out of Bug 1411707 since it'll also help for Bug 1455649.
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8969716 [details]
Bug 1455680 - Notify document-element-inserted in XUL documents;
https://reviewboard.mozilla.org/r/238516/#review244268
r=me, but can you please add a nsContentUtils::IsSafeToRunScript() assert in NotifyDocElementCreated? And it that assert fails with this patch, use nsDocElementCreatedNotificationRunner as a scriptrunner as needed.
Attachment #8969716 -
Flags: review?(bzbarsky) → review+
Comment hidden (mozreview-request) |
Assignee | ||
Comment 4•7 years ago
|
||
Comment on attachment 8969716 [details]
Bug 1455680 - Notify document-element-inserted in XUL documents;
Re-requesting review just to confirm I've done Comment 2 correctly
Attachment #8969716 -
Flags: review+ → review?(bzbarsky)
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8969716 [details]
Bug 1455680 - Notify document-element-inserted in XUL documents;
https://reviewboard.mozilla.org/r/238516/#review244336
Attachment #8969716 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 6•7 years ago
|
||
Looks like we'll also need to convert the XML sink calls to the scriptrunner given all the assertion failures here https://treeherder.mozilla.org/#/jobs?repo=try&revision=9008183fd14fe422e08b4e25522e4daa75997038
Comment 7•7 years ago
|
||
In that case, it might be simplest to just put the scriptrunner bit inside the shared method like that pastebin you showed me on IRC instead of having all the callers doing it manually.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 9•7 years ago
|
||
(In reply to Boris Zbarsky [:bz] (no decent commit message means r-) from comment #7)
> In that case, it might be simplest to just put the scriptrunner bit inside
> the shared method like that pastebin you showed me on IRC instead of having
> all the callers doing it manually.
Turns out there were only two other callers (XML and XSLT). I updated the patch to include them - will see how try looks with that change.
Assignee | ||
Comment 10•7 years ago
|
||
Comment 11•7 years ago
|
||
Pushed by bgrinstead@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/427e3dce92c2
Notify document-element-inserted in XUL documents;r=bz
Comment 12•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•