Title: [92103] trunk/Source/WebCore
- Revision
- 92103
- Author
- aba...@webkit.org
- Date
- 2011-08-01 01:04:11 -0700 (Mon, 01 Aug 2011)
Log Message
application/json MIME type shouldn't cause warnings in <script> tags
https://bugs.webkit.org/show_bug.cgi?id=65448
Reviewed by Pavel Feldman.
This patch stops the web inspector from logging a ton of spam warnings
when a web page uses a JSONP service (which points script tags at
application/json resources).
* inspector/front-end/inspector.js:
(WebInspector.reset):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (92102 => 92103)
--- trunk/Source/WebCore/ChangeLog 2011-08-01 07:26:41 UTC (rev 92102)
+++ trunk/Source/WebCore/ChangeLog 2011-08-01 08:04:11 UTC (rev 92103)
@@ -1,3 +1,17 @@
+2011-08-01 Adam Barth <aba...@webkit.org>
+
+ application/json MIME type shouldn't cause warnings in <script> tags
+ https://bugs.webkit.org/show_bug.cgi?id=65448
+
+ Reviewed by Pavel Feldman.
+
+ This patch stops the web inspector from logging a ton of spam warnings
+ when a web page uses a JSONP service (which points script tags at
+ application/json resources).
+
+ * inspector/front-end/inspector.js:
+ (WebInspector.reset):
+
2011-08-01 Yuta Kitamura <yu...@chromium.org>
WebSocket: Rename SocketStreamHandleClient member functions
Modified: trunk/Source/WebCore/inspector/front-end/inspector.js (92102 => 92103)
--- trunk/Source/WebCore/inspector/front-end/inspector.js 2011-08-01 07:26:41 UTC (rev 92102)
+++ trunk/Source/WebCore/inspector/front-end/inspector.js 2011-08-01 08:04:11 UTC (rev 92103)
@@ -1644,6 +1644,7 @@
"application/_javascript_": {4: true},
"application/ecmascript": {4: true},
"application/x-_javascript_": {4: true},
+ "application/json": {4: true},
"text/_javascript_1.1": {4: true},
"text/_javascript_1.2": {4: true},
"text/_javascript_1.3": {4: true},
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes