Closed
Bug 1598944
Opened 5 years ago
Closed 5 years ago
Can't copy the innerHTML of a shadow root
Categories
(DevTools :: Inspector, enhancement, P3)
DevTools
Inspector
Tracking
(firefox72 fixed)
RESOLVED
FIXED
Firefox 72
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(5 files)
If I inspect a shadow host and right-click on the #shadow-root
, I cannot click on Copy > Inner HTML
.
Assignee | ||
Comment 1•5 years ago
|
||
As they have an innerHTML property, and it is useful.
I didn't find relevant tests for this. browser_inspector-traversal.js tests only
the server bits.
Updated•5 years ago
|
Assignee: nobody → emilio
Updated•5 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P3
Assignee | ||
Comment 2•5 years ago
|
||
Depends on D54422
Assignee | ||
Comment 3•5 years ago
|
||
Right now it's enable but it throws with "remove() is not a function".
Depends on D55096
Assignee | ||
Comment 4•5 years ago
|
||
No reason not to.
Depends on D55097
Assignee | ||
Comment 5•5 years ago
|
||
This covers all the previous changes, afaict.
Depends on D55098
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/35d7fa762937 Allow to copy innerHTML of document fragments (including ShadowRoot). r=jdescottes https://hg.mozilla.org/integration/autoland/rev/f3986d8c8b24 Rename isSelectionElement to isElement in markup-context-menu.js. r=jdescottes https://hg.mozilla.org/integration/autoland/rev/6e91c5ac72a8 Don't enable the "Delete" context menu for fragments. r=jdescottes https://hg.mozilla.org/integration/autoland/rev/6030206a6a58 Allow to paste innerHTML in fragments. r=jdescottes https://hg.mozilla.org/integration/autoland/rev/759b894614db Test context menu in shadow root nodes. r=jdescottes
Comment 7•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/35d7fa762937
https://hg.mozilla.org/mozilla-central/rev/f3986d8c8b24
https://hg.mozilla.org/mozilla-central/rev/6e91c5ac72a8
https://hg.mozilla.org/mozilla-central/rev/6030206a6a58
https://hg.mozilla.org/mozilla-central/rev/759b894614db
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox72:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 72
You need to log in
before you can comment on or make changes to this bug.
Description
•