Closed
Bug 1221315
Opened 10 years ago
Closed 7 years ago
The 'ID' field in a SW message generated by importScripts isn't fully resolved
Categories
(DevTools :: Console, defect)
DevTools
Console
Tracking
(firefox45 affected)
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| firefox45 | --- | affected |
People
(Reporter: bgrins, Unassigned)
Details
No description provided.
| Reporter | ||
Comment 1•10 years ago
|
||
STR:
Pull down https://github.com/bgrins/devtools-demos/ and run it at localhost
Enable SW logging in webconsole
Load http://localhost/devtools-demos/worker/push.html
Click on the link next to this message:
Hello from ServiceWorker importScripts [object ServiceWorkerGlobalScope]
Expected:
It opens view-source:http://localhost/devtools-demos/worker/push-service-worker-import.js in a new tab
Actual:
It opens view-source:http://push-service-worker-import.js/ in a new tab
Summary: The 'ID' field in a SW message generated by importScripts → The 'ID' field in a SW message generated by importScripts isn't fully resolved
| Reporter | ||
Comment 2•10 years ago
|
||
It appears that the ID is set by frame.mFilename here: https://dxr.mozilla.org/mozilla-central/source/dom/base/Console.cpp#510.
But now I can't seem to reproduce the issue anymore in local testing.. Need to do further investigation
Updated•8 years ago
|
Product: Firefox → DevTools
Comment 3•7 years ago
|
||
I just tested this with STR from Comment 1, and I do get a view-source:http://localhost/devtools-demos/worker/push-service-worker-import.js new tab (so, expected result).
I'm closing this, but feel free to re-open it Brian if I missed something.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•