Closed Bug 1987440 Opened 1 year ago Closed 1 year ago

Dialog code clean up

Categories

(Core :: DOM: Core & HTML, task, P5)

task

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.

This mostly adds code comments, slightly reorganises some code (in
non-user impacting ways) and removes some TODOs which are now done.

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)
Flags: needinfo?(mozilla)