Open
Bug 1598952
Opened 5 years ago
Updated 2 years ago
DOM mutation breakpoints do not work in Web Components.
Categories
(DevTools :: Debugger, defect, P3)
DevTools
Debugger
Tracking
(Not tracked)
NEW
People
(Reporter: emilio, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file, 1 obsolete file)
214 bytes,
text/html
|
Details |
Because of this check, which doesn't pass for nodes in a shadow tree.
Bug 1575688 would allow that check to be changed isConnected
(as nsIMutationObserver
does fire for shadow tree mutations), and thus for shadow root to work.
Comment 1•5 years ago
|
||
Thanks for the report Emilio!
Can you please provide a simple test case that can be used to reproduce (and later verify) the issue?
Thanks,
Honza
Flags: needinfo?(emilio)
Priority: -- → P3
Reporter | ||
Comment 2•5 years ago
|
||
Sure, sorry :)
You can't attach mutation breakpoints in the shadow content.
Flags: needinfo?(emilio)
Reporter | ||
Comment 3•5 years ago
|
||
Whoops. This one does repro the issue.
Attachment #9112297 -
Attachment is obsolete: true
Comment 4•5 years ago
|
||
Thanks for the test case!
Here are STRs
- Load http://janodvarko.cz/tests/bugzilla/1598952/
- Open DevTools and select the Inspector panel
- Right click on the <body> element and pick
Break on -> Subtree modification
, you should see a blue marker at the left side - Right click on the <em> element (body->div->shadow-root->div->em) and pick
Break on -> Subtree modification
, you should see a blue marker at the left side. It isn't there -> BUG
Honza
Has STR: --- → yes
Updated•5 years ago
|
Blocks: devtools-webcomponents
Updated•2 years ago
|
Severity: normal normal → S3 S3
You need to log in
before you can comment on or make changes to this bug.
Description
•