Bug 20452
Summary: | When looking at a .js URL, javascript in Inspector is not highlighted | ||
---|---|---|---|
Product: | WebKit | Reporter: | Gavin Sherlock <gsherloc> |
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | joepeck, timothy |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://www.google-analytics.com/urchin.js |
Gavin Sherlock
Steps to reproduce:
1. Go to bug url (http://www.google-analytics.com/urchin.js)
2. Right click, and select Inspect Element anywhere on page
3. Select resource, and select urchin.js
Expected results:
Javascript should be syntax highlighted
Actual results:
Javascript is not syntax highlighted.
Note, when the js is included as part of another page, e.g. at http://www.candidagenome.org/ it is highlighted correctly.
Tested in r35814 on 10.5.4 on a MacPro
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Joseph Pecoraro
This seems to be working for me now:
http://grab.by/4fK
Mark this as fixed?
Gavin Sherlock
Confirmed as fixed - was fixed sometime before r48355, though I didn't run bisect-builds to find the progression.