Closed
Bug 1987440
Opened 1 year ago
Closed 1 year ago
Dialog code clean up
Categories
(Core :: DOM: Core & HTML, task, P5)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
145 Branch
| Tracking | Status | |
|---|---|---|
| firefox145 | --- | fixed |
People
(Reporter: keithamus, Assigned: keithamus)
References
()
Details
Attachments
(1 file)
The dialog code has fallen out of sync with the defined terms in the HTML spec. While behaviour is consistent with the spec for users, we should tidy the code so that it better reflects the specification prose.
| Assignee | ||
Comment 1•1 year ago
|
||
This mostly adds code comments, slightly reorganises some code (in
non-user impacting ways) and removes some TODOs which are now done.
Pushed by kcirkel@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/8ce543335337
https://hg.mozilla.org/integration/autoland/rev/a2e5a9cf48a7
Tidy up HTMLDialogElement.cpp r=smaug,dom-core
Pushed by sstanca@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/f01d101e1c1e
https://hg.mozilla.org/integration/autoland/rev/5562ebb2b4c0
Revert "Bug 1987440 - Tidy up HTMLDialogElement.cpp r=smaug,dom-core" for causing wpt failures.
Comment 4•1 year ago
|
||
Reverted this because it was causing wpt failures.
- Revert link
- Push with failures
- Failure Log
- Failure line: PROCESS-CRASH | MOZ_ASSERT(mCloseWatcher) [@ mozilla::dom::HTMLDialogElement::SetCloseWatcherEnabledState] | /html/semantics/interactive-elements/the-dialog-element/dialog-closedby-bounds-clicking.html
Also, please check these wpt failures.
Flags: needinfo?(mozilla)
Pushed by kcirkel@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/7bf002d54747
https://hg.mozilla.org/integration/autoland/rev/f997934d8325
Tidy up HTMLDialogElement.cpp r=smaug,dom-core
| Assignee | ||
Updated•1 year ago
|
Flags: needinfo?(mozilla)
Description
•