RESOLVED FIXED 17752
Inspector's source view missing some words, doubles others in JS source in <script> tag
https://bugs.webkit.org/show_bug.cgi?id=17752
Summary Inspector's source view missing some words, doubles others in JS source in <s...
Adam Roben (:aroben)
Reported 2008-03-10 14:55:03 PDT
The Inspector's source view is missing some words and doubling others in some JS source inside <script> tags. 1. Go to http://fanghorn.ws.utk.edu/evtcal/ 2. Right-click on the page and choose 'Inspect Element' 3. Go to the source view for the main document 4. Scroll down until you find a script tag The source is completely screwed up. See the View Source window for the correct version of the source. This seems to have gotten worse from Safari 3.0.4 to ToT.
Attachments
Proposed patch (7.98 KB, patch)
2008-05-15 18:48 PDT, Timothy Hatcher
sullivan: review+
Adam Roben (:aroben)
Comment 1 2008-03-10 14:55:28 PDT
Timothy Hatcher
Comment 2 2008-03-10 14:59:04 PDT
The HTML view source mode is entering into the script body, the first time "<" is encountered it starts paring everything after that as HTML. In this case it is the following line: for (i=0;i<preloadimages.arguments.length;i++){
Timothy Hatcher
Comment 3 2008-05-15 18:48:17 PDT
Created attachment 21192 [details] Proposed patch
Dave Hyatt
Comment 4 2008-05-15 19:55:15 PDT
Comment on attachment 21192 [details] Proposed patch r=me
Timothy Hatcher
Comment 5 2008-05-15 20:22:44 PDT
Landed in r33509.
Note You need to log in before you can comment on or make changes to this bug.