Closed
Bug 972650
Opened 11 years ago
Closed 11 years ago
Show blob style sheets in the style editor
Categories
(DevTools :: Style Editor, defect)
DevTools
Style Editor
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 947119
People
(Reporter: PatrickWesterhoff, Unassigned)
Details
Style sheets that are loaded dynamically via blobs currently don’t appear in the style editor. Those styles do appear in the inspector though and will also show the correct blob source name. Clicking on the source name will switch to the style editor but the file is not listed there. For example mega.co.nz does this to load all their assets. The code in question looks like this: var blob = new Blob(data, { type: 'text/css' }); var link = document.createElement('link'); link.setAttribute('rel', 'stylesheet'); link.type = 'text/css'; link.href = window.URL.createObjectURL(blob); document.head.appendChild(link);
Reporter | ||
Updated•11 years ago
|
Summary: Show blob scripts in the style editor → Show blob style sheets in the style editor
Comment 1•11 years ago
|
||
Thanks for filing, Patrick, this is a larger problem with showing dynamically added style sheets
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Comment 2•11 years ago
|
||
To expand: if you delay opening the tools until after mega has loaded the blob stylesheet, it will appear in the style editor's list.
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•