Open Bug 1538345 Opened 5 years ago Updated 2 months ago

Can not open worker file on Slack

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: Harald, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

Attached image image.png

What were you doing?

  1. Log into a Slack and open Debugger (I used https://devtools-html.slack.com/, join via https://devtools-html-slack.herokuapp.com/ )
  2. 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.)

Any idea of this is a new issue, or could we just never debug blob-URL workers?

Workers from blobs work, can be tested on https://clooney-examples.glitch.me/promises.html

Can we reproduce this without a worker. i.e. do blobs fail on the main thread?

Priority: -- → P3

Since blobs work in general, moving out of m1.

Blocks: dbg-worker
No longer blocks: dbg-windowless

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.

Flags: needinfo?(hkirschner)
Flags: needinfo?(hkirschner)
Severity: normal → S3
Attachment #9383482 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: