Closed
Bug 635284
Opened 15 years ago
Closed 15 years ago
jsd.onScriptCreated not called for dynamic script tags
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 566446
People
(Reporter: johnjbarton, Unassigned)
Details
(Whiteboard: [firebug-p2])
Open
http://getfirebug.com/tests/content/script/dynamicScriptTag/dynamicScriptTag.html
Test case for dynamic inline script tag debugging
Issue 2912: problems debugging javascript added by appending script tags
1. Enable all panels (right click on Firebug Start button)
2. Reload the page
* Expected: two lines in the Console, followed by breaking into the Script panel on a debugger; statement.
* Observed: three lines in the Console, no source in the Script panel from the third Console.log call.
As far as I can tell, jsd.onScriptCreated() is not called for the dynamic script tag. So there is no hack we can create in Firebug to solve this problem.
This technique is widely used, for example it is used in jQuery.
Reporter | ||
Updated•15 years ago
|
Whiteboard: [firebug-p2]
Reporter | ||
Comment 1•15 years ago
|
||
Based on the jsdIScript.tag sequence numbers, I don't think jsdIScripts are created either.
Reporter | ||
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•14 years ago
|
Component: JavaScript Debugging/Profiling APIs → JavaScript Engine
You need to log in
before you can comment on or make changes to this bug.
Description
•