Closed
Bug 972633
Opened 11 years ago
Closed 10 years ago
Show blob scripts in the debugger
Categories
(DevTools :: Debugger, defect, P3)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: PatrickWesterhoff, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
image/png
|
Details |
Scripts that are loaded dynamically via blobs currently don’t appear in the debugger. In contrast, Chrome’s developer tools are able to show them just fine. 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/javascript' }); var script = document.createElement('script'); script.type = 'text/javascript'; script.src = window.URL.createObjectURL(blob); document.getElementsByTagName('head')[0].appendChild(script); It would be nice if the debugger could pick up scripts loaded like this too. (The same applies to CSS loaded this way btw.)
Updated•11 years ago
|
Depends on: dbg-source
Comment 1•11 years ago
|
||
(In reply to Patrick Westerhoff from comment #0) > (The same applies to CSS loaded this way btw.) In the inspector rules view or in the source editor sources? File a new bug in the appropriate component with more details please.
Reporter | ||
Comment 2•11 years ago
|
||
Sure thing, opened bug #972650 for the style sheets.
Updated•11 years ago
|
Priority: -- → P3
Updated•10 years ago
|
Blocks: dbg-inspect
Comment 4•10 years ago
|
||
Works for me, now. I assume it was bug 905700 that fixed it.
Updated•10 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•