Closed Bug 1133509 Opened 10 years ago Closed 6 years ago

For scripts that are introduced by a HTML page, introductionURL should be the URL of the page.

Categories

(DevTools :: Debugger, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: ejpbruel, Unassigned)

References

(Blocks 1 open bug)

Details

We use the introductionURL property on Debugger.Script to generate a label for eval sources. However, for eval sources coming from a HTML page, such as inline scripts, or calls to eval from within an inline script, introductionURL is null, so these sources do not show up in the sources pane. It seems reasonable to make introductionURL return the URL of the HTML page in this case. This would allow these sources to show up in the sources pane. Cc'ing jimb since he is the main designer of the debugger API and as such may have an opinion on this :-)
Product: Firefox → DevTools

Is this still relevant?

Flags: needinfo?(bhackett1024)

We don't show eval sources at all in the sources pane. I don't know if that's the behavior that should be kept, but it seems like more of a design decision for what this pane should include than a question of the Debugger.Script's properties.

Flags: needinfo?(bhackett1024)

agreed.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.