Title: [287752] trunk/LayoutTests
Revision
287752
Author
dp...@igalia.com
Date
2022-01-07 09:27:19 -0800 (Fri, 07 Jan 2022)

Log 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:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (287751 => 287752)


--- trunk/LayoutTests/ChangeLog	2022-01-07 17:19:18 UTC (rev 287751)
+++ trunk/LayoutTests/ChangeLog	2022-01-07 17:27:19 UTC (rev 287752)
@@ -1,3 +1,15 @@
+2022-01-07  Diego Pino Garcia  <dp...@igalia.com>
+
+        [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:
+
 2022-01-07  Martin Robinson  <mrobin...@webkit.org>
 
         When transform-style: preserve-3d is used with a grouping property it should still create a containing block

Modified: trunk/LayoutTests/inspector/audit/run-resources.html (287751 => 287752)


--- trunk/LayoutTests/inspector/audit/run-resources.html	2022-01-07 17:19:18 UTC (rev 287751)
+++ trunk/LayoutTests/inspector/audit/run-resources.html	2022-01-07 17:27:19 UTC (rev 287752)
@@ -54,7 +54,7 @@
 
                         if (resource.url.endsWith("sample-resource.js")) {
                             InspectorTest.log("Found sample-resource.js.");
-                            InspectorTest.assert(resource.mimeType === "text/_javascript_", "sample-resource.js should have a text/_javascript_ MIME type.");
+                            InspectorTest.assert(resource.mimeType === "text/_javascript_" || resource.mimeType === "application/_javascript_", "sample-resource.js should have a valid MIME type.");
 
                             let content = await getContentForResource(resource);
                             InspectorTest.expectEqual(content.data, "/* TEST JS */", "sample-resource.js should have the expected content.");

Modified: trunk/LayoutTests/platform/gtk/TestExpectations (287751 => 287752)


--- trunk/LayoutTests/platform/gtk/TestExpectations	2022-01-07 17:19:18 UTC (rev 287751)
+++ trunk/LayoutTests/platform/gtk/TestExpectations	2022-01-07 17:27:19 UTC (rev 287752)
@@ -1860,8 +1860,6 @@
 webkit.org/b/196061 editing/pasteboard/smart-paste-paragraph-002.html [ Failure ]
 webkit.org/b/196061 editing/pasteboard/smart-paste-paragraph-004.html [ Failure ]
 
-webkit.org/b/196196 inspector/audit/run-resources.html [ Failure ]
-
 webkit.org/b/196197 http/wpt/cache-storage/cache-quota-after-restart.any.html [ Failure ]
 
 webkit.org/b/197248 fast/events/autoscroll-when-input-is-offscreen.html [ Failure Crash ]
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to