Closed
Bug 1097866
Opened 10 years ago
Closed 6 years ago
Inline event handler scripts won't have a URL after bug 905700
Categories
(DevTools :: Debugger, task)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jlong, Unassigned)
References
(Blocks 1 open bug)
Details
When better Debugger.Source support lands in the debugger server (bug 905700), event handlers specified as an inline string won't have a URL. Example:
<button onclick="foo()"></button>
This creates a separate eval-style source with the text "foo()". The debugger server will report a SourceActor with the url as `null` (the fact that eval'ed Debugger.Source's currently have a URL is a bug). The SourceActor also has an `introductionUrl` property, but here that will also be `null` because the HTML page is not a source.
I thought this would mean that looking at event handlers in the inspector wouldn't show a URL, however it does somehow still seem to report the HTML page correctly... Filing this bug to make sure we check up on this.
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Blocks: dbg-server
Type: defect → task
Comment 2•6 years ago
|
||
This seems to still work fine, the inspector shows both the URL and text for the event handler.
Flags: needinfo?(bhackett1024)
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•