Remove LayoutTests/platform/mac-bigsur-wk1
authortsavell@apple.com <tsavell@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Dec 2020 00:26:12 +0000 (00:26 +0000)
committertsavell@apple.com <tsavell@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Dec 2020 00:26:12 +0000 (00:26 +0000)
https://bugs.webkit.org/show_bug.cgi?id=218359

Unreviewed test gardening

* platform/mac-catalina-wk1/editing/selection/select-across-readonly-input-4-expected.txt: Copied from LayoutTests/platform/mac-bigsur-wk1/editing/selection/select-across-readonly-input-4-expected.txt.
* platform/mac-catalina-wk1/editing/selection/select-across-readonly-input-5-expected.txt: Copied from LayoutTests/platform/mac-bigsur-wk1/editing/selection/select-across-readonly-input-5-expected.txt.
* platform/mac-catalina-wk1/http/tests/cookies/js-get-and-set-http-only-cookie-expected.txt: Copied from LayoutTests/platform/mac-bigsur-wk1/http/tests/cookies/js-get-and-set-http-only-cookie-expected.txt.
* platform/mac-wk1/editing/selection/select-across-readonly-input-4-expected.txt: Renamed from LayoutTests/platform/mac-bigsur-wk1/editing/selection/select-across-readonly-input-4-expected.txt.
* platform/mac-wk1/editing/selection/select-across-readonly-input-5-expected.txt: Renamed from LayoutTests/platform/mac-bigsur-wk1/editing/selection/select-across-readonly-input-5-expected.txt.
* platform/mac-wk1/http/tests/cookies/js-get-and-set-http-only-cookie-expected.txt: Renamed from LayoutTests/platform/mac-bigsur-wk1/http/tests/cookies/js-get-and-set-http-only-cookie-expected.txt.

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

LayoutTests/ChangeLog
LayoutTests/platform/mac-catalina-wk1/editing/selection/select-across-readonly-input-4-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-catalina-wk1/editing/selection/select-across-readonly-input-5-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-catalina-wk1/http/tests/cookies/js-get-and-set-http-only-cookie-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/editing/selection/select-across-readonly-input-4-expected.txt [moved from LayoutTests/platform/mac-bigsur-wk1/editing/selection/select-across-readonly-input-4-expected.txt with 100% similarity]
LayoutTests/platform/mac-wk1/editing/selection/select-across-readonly-input-5-expected.txt [moved from LayoutTests/platform/mac-bigsur-wk1/editing/selection/select-across-readonly-input-5-expected.txt with 100% similarity]
LayoutTests/platform/mac-wk1/http/tests/cookies/js-get-and-set-http-only-cookie-expected.txt [moved from LayoutTests/platform/mac-bigsur-wk1/http/tests/cookies/js-get-and-set-http-only-cookie-expected.txt with 100% similarity]

index eed0cd44312b220930e3f62ebc0f1f57fb823312..c0c7f95e0fddb4b76216cf3938fd3766791f57eb 100644 (file)
@@ -1,3 +1,17 @@
+2020-12-16  Truitt Savell  <tsavell@apple.com>
+
+        Remove LayoutTests/platform/mac-bigsur-wk1
+        https://bugs.webkit.org/show_bug.cgi?id=218359
+
+        Unreviewed test gardening
+
+        * platform/mac-catalina-wk1/editing/selection/select-across-readonly-input-4-expected.txt: Copied from LayoutTests/platform/mac-bigsur-wk1/editing/selection/select-across-readonly-input-4-expected.txt.
+        * platform/mac-catalina-wk1/editing/selection/select-across-readonly-input-5-expected.txt: Copied from LayoutTests/platform/mac-bigsur-wk1/editing/selection/select-across-readonly-input-5-expected.txt.
+        * platform/mac-catalina-wk1/http/tests/cookies/js-get-and-set-http-only-cookie-expected.txt: Copied from LayoutTests/platform/mac-bigsur-wk1/http/tests/cookies/js-get-and-set-http-only-cookie-expected.txt.
+        * platform/mac-wk1/editing/selection/select-across-readonly-input-4-expected.txt: Renamed from LayoutTests/platform/mac-bigsur-wk1/editing/selection/select-across-readonly-input-4-expected.txt.
+        * platform/mac-wk1/editing/selection/select-across-readonly-input-5-expected.txt: Renamed from LayoutTests/platform/mac-bigsur-wk1/editing/selection/select-across-readonly-input-5-expected.txt.
+        * platform/mac-wk1/http/tests/cookies/js-get-and-set-http-only-cookie-expected.txt: Renamed from LayoutTests/platform/mac-bigsur-wk1/http/tests/cookies/js-get-and-set-http-only-cookie-expected.txt.
+
 2020-12-16  Rini Patel  <rini_patel@apple.com>
 
         [GPU process] Update TestExpectations to skip Layout tests crashes under encodeSingleObject()
diff --git a/LayoutTests/platform/mac-catalina-wk1/editing/selection/select-across-readonly-input-4-expected.txt b/LayoutTests/platform/mac-catalina-wk1/editing/selection/select-across-readonly-input-4-expected.txt
new file mode 100644 (file)
index 0000000..c034e76
--- /dev/null
@@ -0,0 +1,34 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x36
+        RenderText {#text} at (0,0) size 744x36
+          text run at (0,0) width 744: "This test ensures selection that crosses the shadow DOM boundary of a readonly input element cannot be made by a"
+          text run at (0,18) width 79: "mouse drag."
+      RenderBlock {P} at (0,52) size 784x36
+        RenderText {#text} at (0,0) size 773x36
+          text run at (0,0) width 773: "To manually test, select text by a mouse drag starting in \"hello\" and ending in \"WebKit\". Selection should extend only in"
+          text run at (0,18) width 250: "the input element that contains \"hello\"."
+      RenderBlock {DIV} at (0,104) size 784x28
+        RenderTextControl {INPUT} at (0,2) size 59x24 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+        RenderText {#text} at (58,6) size 5x18
+          text run at (58,6) width 5: " "
+        RenderInline {SPAN} at (0,0) size 39x18
+          RenderText {#text} at (62,6) size 39x18
+            text run at (62,6) width 39: "world"
+        RenderText {#text} at (100,6) size 5x18
+          text run at (100,6) width 5: " "
+        RenderTextControl {INPUT} at (104,2) size 59x24 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+        RenderText {#text} at (0,0) size 0x0
+layer at (11,117) size 53x18
+  RenderBlock {DIV} at (3,3) size 53x18
+    RenderText {#text} at (0,0) size 35x18
+      text run at (0,0) width 35: "hello"
+layer at (115,117) size 53x18
+  RenderBlock {DIV} at (3,3) size 53x18
+    RenderText {#text} at (0,0) size 53x18
+      text run at (0,0) width 53: "WebKit"
+selection start: position 4 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of child 5 {DIV} of body
+selection end:   position 5 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of child 5 {DIV} of body
diff --git a/LayoutTests/platform/mac-catalina-wk1/editing/selection/select-across-readonly-input-5-expected.txt b/LayoutTests/platform/mac-catalina-wk1/editing/selection/select-across-readonly-input-5-expected.txt
new file mode 100644 (file)
index 0000000..8aaa5f9
--- /dev/null
@@ -0,0 +1,34 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x36
+        RenderText {#text} at (0,0) size 744x36
+          text run at (0,0) width 744: "This test ensures selection that crosses the shadow DOM boundary of a readonly input element cannot be made by a"
+          text run at (0,18) width 79: "mouse drag."
+      RenderBlock {P} at (0,52) size 784x36
+        RenderText {#text} at (0,0) size 773x36
+          text run at (0,0) width 773: "To manually test, select text by a mouse drag starting in \"WebKit\" and ending in \"hello\". Selection should extend only in"
+          text run at (0,18) width 267: "the input element that contains \"WebKit\"."
+      RenderBlock {DIV} at (0,104) size 784x28
+        RenderTextControl {INPUT} at (0,2) size 59x24 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+        RenderText {#text} at (58,6) size 5x18
+          text run at (58,6) width 5: " "
+        RenderInline {SPAN} at (0,0) size 39x18
+          RenderText {#text} at (62,6) size 39x18
+            text run at (62,6) width 39: "world"
+        RenderText {#text} at (100,6) size 5x18
+          text run at (100,6) width 5: " "
+        RenderTextControl {INPUT} at (104,2) size 59x24 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+        RenderText {#text} at (0,0) size 0x0
+layer at (11,117) size 53x18
+  RenderBlock {DIV} at (3,3) size 53x18
+    RenderText {#text} at (0,0) size 35x18
+      text run at (0,0) width 35: "hello"
+layer at (115,117) size 53x18
+  RenderBlock {DIV} at (3,3) size 53x18
+    RenderText {#text} at (0,0) size 53x18
+      text run at (0,0) width 53: "WebKit"
+selection start: position 0 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 5 {INPUT} of child 5 {DIV} of body
+selection end:   position 2 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 5 {INPUT} of child 5 {DIV} of body
diff --git a/LayoutTests/platform/mac-catalina-wk1/http/tests/cookies/js-get-and-set-http-only-cookie-expected.txt b/LayoutTests/platform/mac-catalina-wk1/http/tests/cookies/js-get-and-set-http-only-cookie-expected.txt
new file mode 100644 (file)
index 0000000..da11592
--- /dev/null
@@ -0,0 +1,12 @@
+Test for <https://bugs.webkit.org/show_bug.cgi?id=86067> [BlackBerry] Possible to clobber httpOnly cookie.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Check that we can't get or set httpOnly Cookies by JavaScript.
+PASS We can't get httpOnly cookies by JavaScript.
+FAIL We shouldn't set httpOnly cookies by JavaScript.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+