Closed Bug 1827856 Opened 2 years ago Closed 2 years ago

DevTools don't observe mutations to UA widgets correctly.

Categories

(Core :: DOM: Core & HTML, defect)

defect

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(5 files)

STR:

  • Set devtools.inspector.showAllAnonymousContent=true
  • Open data:text/html,<video controls>
  • Inspect the play/pause button.
  • Click it

ER:

  • The inspector view updates to show the changed attributes.

AR:

  • It doesn't. It seems they're using MutationObserver but the listeners are not getting called properly.

You let me know if this seems appealing to you :)

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/632a4846f98e Speed up GetClosestAnonymousSubtreeRoot for UA widgets. r=smaug https://hg.mozilla.org/integration/autoland/rev/63a815a0c38c Improve docs of IsInSameAnonymousTree. r=smaug https://hg.mozilla.org/integration/autoland/rev/794e1e64e3ab Misc cleanups to nsDOMMutationObserver. r=smaug
Keywords: leave-open
Severity: -- → S3
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2745e11153d9 Allow chrome code to properly observe UA widgets / NAC. r=smaug,devtools-reviewers,nchevobbe
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9c6e31cf2855 Remove nativeAnonymousChildList observers. r=smaug,credential-management-reviewers,devtools-reviewers,sgalich,nchevobbe
Keywords: leave-open
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: