Can not open worker file on Slack
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(Not tracked)
People
(Reporter: Harald, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
129.52 KB,
image/png
|
Details |
What were you doing?
- Log into a Slack and open Debugger (I used https://devtools-html.slack.com/, join via https://devtools-html-slack.herokuapp.com/ )
- Open blob file from the worker in the source panel (
blob:https://devtools-html.slack.com/a73aaba7-6b11-2641-9dc4-12dbea0300c5
in my case)
What happened?
Cryptic error: Error loading this URI: Could not load the source for blob:https://devtools-html.slack.com/a73aaba7-6b11-2641-9dc4-12dbea0300c5. [object Object]
What should have happened?
File is loaded. (Works in Chrome.)
Comment 1•5 years ago
|
||
Any idea of this is a new issue, or could we just never debug blob-URL workers?
Reporter | ||
Comment 2•5 years ago
|
||
Workers from blobs work, can be tested on https://clooney-examples.glitch.me/promises.html
Comment 3•5 years ago
|
||
Can we reproduce this without a worker. i.e. do blobs fail on the main thread?
Updated•5 years ago
|
Comment 6•4 years ago
|
||
I don't think you'll run into this now unless the script has been GCed and we try to resurrect it, so this should be much better than before.
I think we probably need to have a real conversation around how we decide to restore sources after they've been GCed, which is why I filed https://bugzilla.mozilla.org/show_bug.cgi?id=1645942. I'd love to remove our logic for trying to re-fetch sources if they've been GCed, because it means we still need to try to re-fetch sources in cases like this even if it's not always possible. Better to just accept that things are GCed, and instead focus on not GCing them as aggressively.
Reporter | ||
Updated•4 years ago
|
Updated•2 years ago
|
Comment hidden (spam) |
Updated•2 months ago
|
Description
•