Bug 88712 - Web Inspector: Errors when pending console messages are attached to JavaScriptSourceFrame.
Summary: Web Inspector: Errors when pending console messages are attached to JavaScrip...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Vsevolod Vlasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-09 08:27 PDT by Vsevolod Vlasov
Modified: 2012-06-13 08:35 PDT (History)
10 users (show)

See Also:


Attachments
Patch (2.49 KB, patch)
2012-06-09 08:28 PDT, Vsevolod Vlasov
pfeldman: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vsevolod Vlasov 2012-06-09 08:27:42 PDT
Console error:

Uncaught TypeError: Object Network Log Warning: Resource interpreted as Script but transferred with MIME type text/html: "http://ad.rambler.ru/ban.ban?pg=8454&ifr=16". http://lenta.ru/:31
http://lenta.ru/ line 31,Network Log Warning: Resource interpreted as Script but transferred with MIME type text/html: "http://ad.rambler.ru/lenta.ban?pg=5374&ifr=6". http://lenta.ru/:31
http://lenta.ru/ line 31,Network Log Warning: Resource interpreted as Script but transferred with MIME type text/html: "http://ad.rambler.ru/roff/lenta.ban?pg=8302&ifr=16&codep=2". http://lenta.ru/:31
http://lenta.ru/ line 31,Network Log Warning: Resource interpreted as Script but transferred with MIME type text/html: "http://ad.rambler.ru/roff/lenta.ban?pg=8331&ifr=16&codep=2". http://lenta.ru/:31
http://lenta.ru/ line 31,Network Log Warning: Resource interpreted as Script but transferred with MIME type text/html: "http://ad.rambler.ru/lenta.ban?pg=8295&ifr=6". http://lenta.ru/:31
http://lenta.ru/ line 31,Network Log Warning: Resource interpreted as Script but transferred with MIME type text/html: "http://ad.rambler.ru/lenta.ban?pg=6074&ifr=6". http://lenta.ru/:31
http://lenta.ru/ line 31 has no method 'isEqual' SourceFrame.js:378
WebInspector.SourceFrame.addMessageToSource SourceFrame.js:378
WebInspector.JavaScriptSourceFrame.onTextViewerContentLoaded JavaScriptSourceFrame.js:526
WebInspector.SourceFrame.setContent SourceFrame.js:226
WebInspector.UISourceCode.fireContentAvailable UISourceCode.js:276
WebInspector.JavaScriptSource.fireContentAvailable JavaScriptSource.js:64
callback Resource.js:458
InspectorBackendClass.dispatch InspectorBackend.js:186
GET chrome-devtools://devtools/undefined  SourceFrame.js:406
Comment 1 Vsevolod Vlasov 2012-06-09 08:28:51 PDT
Created attachment 146705 [details]
Patch
Comment 2 Pavel Feldman 2012-06-09 09:40:42 PDT
Comment on attachment 146705 [details]
Patch

Do we need to merge this?
Comment 3 Vsevolod Vlasov 2012-06-09 09:55:53 PDT
This was introduced 03/12/2012 in http://trac.webkit.org/changeset/110434
Comment 4 Vsevolod Vlasov 2012-06-10 01:22:50 PDT
This should be merged to chrome m19 and m20 .
Comment 5 Vsevolod Vlasov 2012-06-13 08:35:21 PDT
Committed r120214: <http://trac.webkit.org/changeset/120214>