⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 287752 in webkit


Ignore:
Timestamp:
Jan 7, 2022, 9:27:19 AM (5 years ago)
Author:
Diego Pino Garcia
Message:

[GTK] Regression in inspector/audit/run-resources.html
https://bugs.webkit.org/show_bug.cgi?id=196196

Reviewed by Chris Lord.

Fix JavaScript file MIME type check by comparing to 'text/javascript' or 'application/javascript'.

  • inspector/audit/run-resources.html:
  • platform/gtk/TestExpectations:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r287742 r287752  
     12022-01-07  Diego Pino Garcia  <dpino@igalia.com>
     2
     3        [GTK] Regression in inspector/audit/run-resources.html
     4        https://bugs.webkit.org/show_bug.cgi?id=196196
     5
     6        Reviewed by Chris Lord.
     7
     8        Fix JavaScript file MIME type check by comparing to 'text/javascript' or 'application/javascript'.
     9
     10        * inspector/audit/run-resources.html:
     11        * platform/gtk/TestExpectations:
     12
    1132022-01-07  Martin Robinson  <mrobinson@webkit.org>
    214
  • trunk/LayoutTests/inspector/audit/run-resources.html

    r266317 r287752  
    5555                        if (resource.url.endsWith("sample-resource.js")) {
    5656                            InspectorTest.log("Found sample-resource.js.");
    57                             InspectorTest.assert(resource.mimeType === "text/javascript", "sample-resource.js should have a text/javascript MIME type.");
     57                            InspectorTest.assert(resource.mimeType === "text/javascript" || resource.mimeType === "application/javascript", "sample-resource.js should have a valid MIME type.");
    5858
    5959                            let content = await getContentForResource(resource);
  • trunk/LayoutTests/platform/gtk/TestExpectations

    r287599 r287752  
    18601860webkit.org/b/196061 editing/pasteboard/smart-paste-paragraph-002.html [ Failure ]
    18611861webkit.org/b/196061 editing/pasteboard/smart-paste-paragraph-004.html [ Failure ]
    1862 
    1863 webkit.org/b/196196 inspector/audit/run-resources.html [ Failure ]
    18641862
    18651863webkit.org/b/196197 http/wpt/cache-storage/cache-quota-after-restart.any.html [ Failure ]
Note: See TracChangeset for help on using the changeset viewer.