Closed
Bug 1440385
Opened 7 years ago
Closed 7 years ago
Warning: "Removed unsafe attribute. Element: svg. Attribute: xmlns" when evaluating 'window' in the new console frontend
Categories
(DevTools :: Console, defect)
DevTools
Console
Tracking
(firefox60 affected)
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
firefox60 | --- | affected |
People
(Reporter: bgrins, Assigned: nchevobbe)
References
Details
STR:
1. Open the browser console (with devtools.browserconsole.new-frontend-enabled=true)
2. Evaluate `window`
The evaluation works, but below the window object I see: "Removed unsafe attribute. Element: svg. Attribute: xmlns. react-dom.js:11623:4"
Reporter | ||
Comment 1•7 years ago
|
||
I see this on any object preview. For example: `window.foo = {}` shows the warning as well. Maybe this has to do with the expander arrow.
Assignee | ||
Comment 2•7 years ago
|
||
yes, I removed every xmlns attributes from the reps.js bundle and I don't see warnings after that.
I'll file an issue on Reps to fix this.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Priority: P2 → P1
Assignee | ||
Comment 3•7 years ago
|
||
Turns out those are needed when the svg is inlined in a non-HTML document, which is the case of the layout panel in the inspector, where Reps are used.
IMO, there shouldn't be a warning if removing the attribute prevents the element to work :/
Assignee | ||
Comment 4•7 years ago
|
||
Filed bug 1445258 to see if there's an issue on the platform side
Depends on: 1445258
Assignee | ||
Comment 5•7 years ago
|
||
Fixed in 1440388 ( and on Github, see https://github.com/devtools-html/devtools-core/issues/988)
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Updated•7 years ago
|
Priority: P1 → --
Whiteboard: [newconsole-mvp]
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•