Bug 58538

Summary: Web Inspector: fix de-obfuscation of scripts inlined in html.
Product: WebKit Reporter: Pavel Podivilov <podivilov>
Component: Web Inspector (Deprecated)Assignee: Pavel Podivilov <podivilov>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, apavlov, bweinstein, eric, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, webkit.review.bot, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch. pfeldman: review+

Pavel Podivilov
Reported 2011-04-14 06:44:20 PDT
Web Inspector: fix de-obfuscation of scripts inlined in html. Currently we use script positions from scriptParsed notifications from backend. This doesn't work very well: 1. Some scripts may already be collected when frontend is opened. 2. Sometimes scripts come after resource is finished, so we are forced to rebuild content for each scriptParsed event. More robust solution would be to use html tokenizer to find script boundaries.
Attachments
Patch. (27.03 KB, patch)
2011-04-14 06:45 PDT, Pavel Podivilov
pfeldman: review+
Pavel Podivilov
Comment 1 2011-04-14 06:45:39 PDT
Pavel Podivilov
Comment 2 2011-04-22 06:51:49 PDT
WebKit Review Bot
Comment 3 2011-04-22 09:48:48 PDT
http://trac.webkit.org/changeset/84625 might have broken GTK Linux 32-bit Debug
Note You need to log in before you can comment on or make changes to this bug.