Unreviewed test gardening, rebaseline HAR test after r244294.
authorjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Apr 2019 18:19:18 +0000 (18:19 +0000)
committerjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Apr 2019 18:19:18 +0000 (18:19 +0000)
* http/tests/inspector/network/har/har-page-expected.txt:
* http/tests/inspector/network/har/har-page.html:
Update for stricter SameSite parsing.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244345 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/http/tests/inspector/network/har/har-page-expected.txt
LayoutTests/http/tests/inspector/network/har/har-page.html

index b3a71c8..fa8b42b 100644 (file)
@@ -1,3 +1,11 @@
+2019-04-16  Joseph Pecoraro  <pecoraro@apple.com>
+
+        Unreviewed test gardening, rebaseline HAR test after r244294.
+
+        * http/tests/inspector/network/har/har-page-expected.txt:
+        * http/tests/inspector/network/har/har-page.html:
+        Update for stricter SameSite parsing.
+
 2019-04-16  Shawn Roberts  <sroberts@apple.com>
 
         media/W3C/video/events/event_progress_manual.html is a flaky failure
index d3db1ae..d9a30b0 100644 (file)
@@ -583,13 +583,12 @@ HAR Page Test.
           "httpVersion": "<filtered>",
           "cookies": [
             {
-              "name": "same-site-implicit-strict",
-              "value": "same-site-implicit-strict",
+              "name": "same-site-ignored-because-no-value",
+              "value": "same-site-ignored-because-no-value",
               "path": "/",
               "expires": "",
               "httpOnly": false,
-              "secure": false,
-              "sameSite": "Strict"
+              "secure": false
             }
           ],
           "headers": "<filtered>",
@@ -629,8 +628,8 @@ HAR Page Test.
               "value": "http-only"
             },
             {
-              "name": "same-site-implicit-strict",
-              "value": "same-site-implicit-strict"
+              "name": "same-site-ignored-because-no-value",
+              "value": "same-site-ignored-because-no-value"
             },
             {
               "name": "same-site-strict",
@@ -656,13 +655,12 @@ HAR Page Test.
           "httpVersion": "<filtered>",
           "cookies": [
             {
-              "name": "same-site-strict-because-invalid-SameSite-value",
-              "value": "same-site-strict-because-invalid-SameSite-value",
+              "name": "same-site-ignored-because-unknown-value",
+              "value": "same-site-ignored-because-unknown-value",
               "path": "/",
               "expires": "",
               "httpOnly": false,
-              "secure": false,
-              "sameSite": "Strict"
+              "secure": false
             }
           ],
           "headers": "<filtered>",
@@ -702,16 +700,16 @@ HAR Page Test.
               "value": "http-only"
             },
             {
-              "name": "same-site-implicit-strict",
-              "value": "same-site-implicit-strict"
+              "name": "same-site-ignored-because-no-value",
+              "value": "same-site-ignored-because-no-value"
             },
             {
-              "name": "same-site-strict",
-              "value": "same-site-strict"
+              "name": "same-site-ignored-because-unknown-value",
+              "value": "same-site-ignored-because-unknown-value"
             },
             {
-              "name": "same-site-strict-because-invalid-SameSite-value",
-              "value": "same-site-strict-because-invalid-SameSite-value"
+              "name": "same-site-strict",
+              "value": "same-site-strict"
             },
             {
               "name": "simple",
index 872715e..5918bee 100644 (file)
@@ -116,8 +116,8 @@ async function setup()
     await setCookie("with-expiration", "with-expiration", {"Expires": new Date("01/04/5000").toGMTString()});
     await setCookie("http-only", "http-only", {"HttpOnly": null});
     await setCookie("same-site-strict", "same-site-strict", {"SameSite": "Strict", "path": "/"});
-    await setCookie("same-site-implicit-strict", "same-site-implicit-strict", {"SameSite": null, "path": "/"});
-    await setCookie("same-site-strict-because-invalid-SameSite-value", "same-site-strict-because-invalid-SameSite-value", {"SameSite": "invalid", "path": "/"});
+    await setCookie("same-site-ignored-because-no-value", "same-site-ignored-because-no-value", {"SameSite": null, "path": "/"});
+    await setCookie("same-site-ignored-because-unknown-value", "same-site-ignored-because-unknown-value", {"SameSite": "invalid", "path": "/"});
     await setCookie("same-site-lax", "same-site-lax", {"SameSite": "Lax", "path": "/"});
     TestPage.dispatchEventToFrontend("SetupComplete");
 }