Closed
Bug 1688508
Opened 4 years ago
Closed 4 years ago
shadowrootattached is too slow
Categories
(Core :: DOM: Core & HTML, defect, P3)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
87 Branch
Tracking | Status | |
---|---|---|
firefox87 | --- | fixed |
People
(Reporter: smaug, Assigned: emilio)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
There are at least benchmark types of cases where dispatching shadowrootattached all the time causes major performance hit.
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
Much like devtools manages the existing stylesheet changed events.
This is tested by devtools/client/inspector/markup/test/browser_markup_shadowdom.js
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4603e793ec0d
Fire shadowrootattached only if devtools is observing the document. r=smaug
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/65d676171800
Also enable the event on initialization.
Comment 5•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4603e793ec0d
https://hg.mozilla.org/mozilla-central/rev/65d676171800
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox87:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•