[Webkit-unassigned] [Bug 34764] New: Web Inspector: provide a way to debug scripts dynamically added to document
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 9 10:40:18 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=34764
Summary: Web Inspector: provide a way to debug scripts
dynamically added to document
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: caseq at google.com
CC: timothy at hatcher.name, rik at webkit.org,
keishi at webkit.org, pmuellr at yahoo.com,
joepeck at webkit.org, pfeldman at chromium.org,
bweinstein at apple.com
Currently, inspector binds scripts to resources and attempts to show them
within a resource context. However, for a script that was added dynamically
(e.g. via document.write() or by adding a script element), we're unable to
display script in a resource.
Thus, it is suggested that inspector should handle dynamically added scripts
differently. To enable this, we would need to pass some indication to inspector
that a script was added programmatically. As scripts written with
document.write() are created from within HTMLTokenizer, it is suggested that we
add a field (e.g. processingDynamicContents) to HTMLTokenizer and, whenever a
document is opened from script, create HTMLTokenizer with
processingDynamicContents set. This, in turn, would require adding a similar
protected property to Document that would be used to pass a flag from
Document::open() to HTMLDocument::createTokenizer().
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list