Closed Bug 1097873 Opened 10 years ago Closed 10 years ago

Figure out how to list various eval'ed sources

Categories

(DevTools :: Debugger, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1133509

People

(Reporter: jlong, Unassigned)

References

(Blocks 1 open bug)

Details

After bug 905700 lands, we will be able to debug eval sources. However, there are several types of eval sources, like inline event handlers set on DOM elements as strings. All eval sources have a `url` of null. We now have an `introductionUrl` property on the source actor form, which most eval sources have, and we use that to generate a label for it in the sources pane. However, eval sources that come from HTML pages (runs `eval` in an inline script, or the inline string event handlers) have `introductionUrl` as null because the HTML page is not a source. Either we should figure out how to make `introductionUrl` the HTML page or do something else. Right now I just don't show these scripts. This should be rare, and showing something like "unknown" just clutters up the source list.
Resolving this as a duplicate by jlongster's request.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
Blocks: 1565711
Blocks: 1565713
No longer blocks: 1565711
No longer blocks: 1565713
You need to log in before you can comment on or make changes to this bug.