Changeset 92103 in webkit


Ignore:
Timestamp:
Aug 1, 2011 1:04:11 AM (13 years ago)
Author:
abarth@webkit.org
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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r92102 r92103  
     12011-08-01  Adam Barth  <abarth@webkit.org>
     2
     3        application/json MIME type shouldn't cause warnings in <script> tags
     4        https://bugs.webkit.org/show_bug.cgi?id=65448
     5
     6        Reviewed by Pavel Feldman.
     7
     8        This patch stops the web inspector from logging a ton of spam warnings
     9        when a web page uses a JSONP service (which points script tags at
     10        application/json resources).
     11
     12        * inspector/front-end/inspector.js:
     13        (WebInspector.reset):
     14
    1152011-08-01  Yuta Kitamura  <yutak@chromium.org>
    216
  • trunk/Source/WebCore/inspector/front-end/inspector.js

    r91839 r92103  
    16451645    "application/ecmascript":      {4: true},
    16461646    "application/x-javascript":    {4: true},
     1647    "application/json":            {4: true},
    16471648    "text/javascript1.1":          {4: true},
    16481649    "text/javascript1.2":          {4: true},
Note: See TracChangeset for help on using the changeset viewer.