Title: [224979] trunk/LayoutTests
Revision
224979
Author
[email protected]
Date
2017-11-17 12:43:11 -0800 (Fri, 17 Nov 2017)

Log Message

LayoutTest http/tests/inspector/network/har/har-page.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=179781

Patch by Joseph Pecoraro <[email protected]> on 2017-11-17
Reviewed by Alexey Proskuryakov.

* http/tests/inspector/network/har/har-page-expected.txt:
* http/tests/inspector/network/har/har-page.html:
Filter out the protocol value since it might not be available if the resource was cached.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (224978 => 224979)


--- trunk/LayoutTests/ChangeLog	2017-11-17 20:38:26 UTC (rev 224978)
+++ trunk/LayoutTests/ChangeLog	2017-11-17 20:43:11 UTC (rev 224979)
@@ -1,3 +1,14 @@
+2017-11-17  Joseph Pecoraro  <[email protected]>
+
+        LayoutTest http/tests/inspector/network/har/har-page.html is a flaky failure
+        https://bugs.webkit.org/show_bug.cgi?id=179781
+
+        Reviewed by Alexey Proskuryakov.
+
+        * http/tests/inspector/network/har/har-page-expected.txt:
+        * http/tests/inspector/network/har/har-page.html:
+        Filter out the protocol value since it might not be available if the resource was cached.
+
 2017-11-17  Ryan Haddad  <[email protected]>
 
         Mark imported/w3c/web-platform-tests/fetch/api/abort/serviceworker-intercepted.https.html as flaky on iOS.

Modified: trunk/LayoutTests/http/tests/inspector/network/har/har-page-expected.txt (224978 => 224979)


--- trunk/LayoutTests/http/tests/inspector/network/har/har-page-expected.txt	2017-11-17 20:38:26 UTC (rev 224978)
+++ trunk/LayoutTests/http/tests/inspector/network/har/har-page-expected.txt	2017-11-17 20:43:11 UTC (rev 224979)
@@ -29,7 +29,7 @@
         "request": {
           "method": "GET",
           "url": "http://127.0.0.1:8000/inspector/network/har/har-page.html",
-          "httpVersion": "HTTP/1.1",
+          "httpVersion": "<filtered>",
           "cookies": [],
           "headers": "<filtered>",
           "queryString": [],
@@ -39,14 +39,14 @@
         "response": {
           "status": 200,
           "statusText": "OK",
-          "httpVersion": "HTTP/1.1",
+          "httpVersion": "<filtered>",
           "cookies": [],
           "headers": "<filtered>",
           "content": {
-            "size": 2915,
+            "size": 3042,
             "compression": 0,
             "mimeType": "text/html",
-            "text": "<filtered text (2915)>"
+            "text": "<filtered text (3042)>"
           },
           "redirectURL": "",
           "headersSize": "<filtered>",
@@ -70,7 +70,7 @@
         "request": {
           "method": "GET",
           "url": "http://127.0.0.1:8000/inspector/resources/inspector-test.js",
-          "httpVersion": "",
+          "httpVersion": "<filtered>",
           "cookies": [],
           "headers": "<filtered>",
           "queryString": [],
@@ -80,7 +80,7 @@
         "response": {
           "status": 200,
           "statusText": "OK",
-          "httpVersion": "",
+          "httpVersion": "<filtered>",
           "cookies": [],
           "headers": "<filtered>",
           "content": {

Modified: trunk/LayoutTests/http/tests/inspector/network/har/har-page.html (224978 => 224979)


--- trunk/LayoutTests/http/tests/inspector/network/har/har-page.html	2017-11-17 20:38:26 UTC (rev 224978)
+++ trunk/LayoutTests/http/tests/inspector/network/har/har-page.html	2017-11-17 20:43:11 UTC (rev 224979)
@@ -23,6 +23,10 @@
         if (key === "_fetchType")
             return undefined;
 
+        // If cached the protocol might not be available.
+        if (key === "httpVersion")
+            return "<filtered>";
+
         // Headers include dynamic data.
         if (key === "headers")
             return "<filtered>";
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to