Closed Bug 1571622 Opened 7 years ago Closed 7 years ago

Worklet script names in Web Console are not linkified

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: karlt, Assigned: karlt)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

  1. Run ./mach mochitest dom/worklet/tests/test_console.html
  2. Open Web Console (Ctrl+Shift+K).
  3. Click on "worklet_console.js".

Expected: view-source:https://example.com/tests/dom/worklet/tests/worklet_console.js loads in new tab.
Actual: "worklet_console.js" is not a link.

This is consistent with ScriptLoader::FillCompileOptionsForRequest()
https://searchfox.org/mozilla-central/rev/29cce9a2684ef64c4f1f996087da8b7545d31f65/dom/script/ScriptLoader.cpp#2437
and provides that devtools can find the script.

Pushed by ktomlinson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3a8e01b092bf use absolute URL in CompileOptions for worklet scripts r=baku https://hg.mozilla.org/integration/autoland/rev/c31323a02576 test for absolute URL in worklet script console logging r=baku
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: