Closed Bug 2016950 Opened 1 day ago Closed 18 hours ago

XUL prototype code calls into DoneCreatingElement() for already created elements

Categories

(Core :: XUL, defect)

defect

Tracking

()

RESOLVED FIXED
149 Branch
Tracking Status
firefox149 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

That caused some violation of invariants with https://phabricator.services.mozilla.com/D283423 which for now I'm just working around, but I plan to fix in this bug.

It uses DoneAddingChildren / DoneCreatingElement, and nsXULElement also
does this.

Otherwise we can get into weird situations because the consumers might
not expect this.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Pushed by ealvarez@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/4ceb7c55a11a https://hg.mozilla.org/integration/autoland/rev/1d37fe93b012 PrototypeDocumentContentSink should use FROM_PARSER_NETWORK for non-XUL elements too. r=smaug
Pushed by agoloman@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/da8cbbbcbfc4 https://hg.mozilla.org/integration/autoland/rev/423e33a3aa6f Revert "Bug 2016950 - PrototypeDocumentContentSink should use FROM_PARSER_NETWORK for non-XUL elements too. r=smaug" for causing multiple failures.

Backed out for causing multiple failures.

Flags: needinfo?(emilio)
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/cced10961b53 https://hg.mozilla.org/integration/autoland/rev/7edce67f9460 PrototypeDocumentContentSink should use FROM_PARSER_NETWORK for non-XUL elements too. r=smaug
Status: ASSIGNED → RESOLVED
Closed: 18 hours ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
Regressions: 2017020
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: