Closed Bug 1394478 Opened 8 years ago Closed 5 years ago

debugger can show wrong script source

Categories

(DevTools :: Debugger, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: bkelly, Unassigned)

References

(Blocks 2 open bugs)

Details

Over in bug 1394429 I am trying to diagnose a problem with facebook's service worker in firefox. Using the debugger, though, it shows me an html file for the main SW script. Talking with FB it appears that they only serve the SW script if the ServiceWorker header is on the request. This shouldn't matter for the debugger, though, since it should show the exact script we already have loaded. Looking at our on-disk offlined data for the SW script we have the correct script. The debugger is incorrectly pulling the source for the script from the network, though, and not using the worker's script source.
Note, this appears to happen for both the new debugger frontend and the old debugger frontend.
Its unclear to me if this is a worker problem or something the debugger code is doing.
Product: Firefox → DevTools
Blocks: dbg-worker
Type: enhancement → defect
Priority: -- → P5

This is old so I don't know if it's still be an issue, but we've also done some recent work on how we fetch sources, I'd guess that this is fixed on Nightly at least. Would you be able to verify or close?

Flags: needinfo?(ben)

I don't know. Let's just close it.

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(ben)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.