Reviewed by me
authorkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Jun 2004 17:58:18 +0000 (17:58 +0000)
committerkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Jun 2004 17:58:18 +0000 (17:58 +0000)
        Regarding the bug below, removing some tests since we have removed the execCommand("paste")
        feature, at least for now.

        <rdar://problem/3684792>: (JavaScript execCommand("paste") presents security issues)

        * layout-tests/editing/pasteboard/copy-paste-text-001-expected.txt: Removed.
        * layout-tests/editing/pasteboard/copy-paste-text-001.html: Removed.
        * layout-tests/editing/pasteboard/cut-paste-text-002-expected.txt: Removed.
        * layout-tests/editing/pasteboard/cut-paste-text-002.html: Removed.

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

LayoutTests/editing/pasteboard/copy-paste-text-001-expected.txt [deleted file]
LayoutTests/editing/pasteboard/copy-paste-text-001.html [deleted file]
LayoutTests/editing/pasteboard/cut-paste-text-002-expected.txt [deleted file]
LayoutTests/editing/pasteboard/cut-paste-text-002.html [deleted file]
WebCore/ChangeLog-2005-08-23

diff --git a/LayoutTests/editing/pasteboard/copy-paste-text-001-expected.txt b/LayoutTests/editing/pasteboard/copy-paste-text-001-expected.txt
deleted file mode 100644 (file)
index c0c104e..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-layer at (0,0) size 800x600
-  RenderCanvas 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 {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)]
-        RenderInline {SPAN} at (0,0) size 140x28
-          RenderText {TEXT} at (14,14) size 109x28
-            text run at (14,14) width 109: "foo bar baz"
-          RenderInline {SPAN} at (0,0) size 31x28
-            RenderText {TEXT} at (123,14) size 31x28
-              text run at (123,14) width 31: "bar"
-selection is CARET:
-start:      position 3 of child 1 {TEXT} of child 2 {SPAN} of child 2 {SPAN} of root {DIV}
-upstream:   position 3 of child 1 {TEXT} of child 2 {SPAN} of child 2 {SPAN} of root {DIV}
-downstream: position 3 of child 1 {TEXT} of child 2 {SPAN} of child 2 {SPAN} of root {DIV}
diff --git a/LayoutTests/editing/pasteboard/copy-paste-text-001.html b/LayoutTests/editing/pasteboard/copy-paste-text-001.html
deleted file mode 100644 (file)
index 32446e0..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<html> 
-<head>
-
-<style>
-.editing { 
-    border: 2px solid red; 
-    padding: 12px; 
-    font-size: 24px; 
-}
-</style>
-<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
-
-<script>
-
-function editingTest() {
-    for (i = 0; i < 4; i++)
-        moveSelectionForwardByCharacterCommand();
-    for (i = 0; i < 3; i++)
-        extendSelectionForwardByCharacterCommand();
-    copyCommand();
-    for (i = 0; i < 5; i++)
-        moveSelectionForwardByCharacterCommand();
-    pasteCommand();
-}
-
-</script>
-
-<title>Editing Test</title> 
-</head> 
-<body>
-<div contenteditable id="root" class="editing">
-<span id="test">foo bar baz</span>
-</div>
-
-<script>
-runEditingTest();
-</script>
-
-</body>
-</html>
diff --git a/LayoutTests/editing/pasteboard/cut-paste-text-002-expected.txt b/LayoutTests/editing/pasteboard/cut-paste-text-002-expected.txt
deleted file mode 100644 (file)
index 5cbc979..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-layer at (0,0) size 800x600
-  RenderCanvas 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 {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)]
-        RenderInline {SPAN} at (0,0) size 109x28
-          RenderText {TEXT} at (14,14) size 78x28
-            text run at (14,14) width 78: "foo  baz"
-          RenderInline {SPAN} at (0,0) size 31x28
-            RenderText {TEXT} at (92,14) size 31x28
-              text run at (92,14) width 31: "bar"
-selection is CARET:
-start:      position 3 of child 1 {TEXT} of child 2 {SPAN} of child 2 {SPAN} of root {DIV}
-upstream:   position 3 of child 1 {TEXT} of child 2 {SPAN} of child 2 {SPAN} of root {DIV}
-downstream: position 3 of child 1 {TEXT} of child 2 {SPAN} of child 2 {SPAN} of root {DIV}
diff --git a/LayoutTests/editing/pasteboard/cut-paste-text-002.html b/LayoutTests/editing/pasteboard/cut-paste-text-002.html
deleted file mode 100644 (file)
index 429b5cf..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<html> 
-<head>
-
-<style>
-.editing { 
-    border: 2px solid red; 
-    padding: 12px; 
-    font-size: 24px; 
-}
-</style>
-<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
-
-<script>
-
-function editingTest() {
-    for (i = 0; i < 4; i++)
-        moveSelectionForwardByCharacterCommand();
-    for (i = 0; i < 3; i++)
-        extendSelectionForwardByCharacterCommand();
-    cutCommand();
-    for (i = 0; i < 4; i++)
-        moveSelectionForwardByCharacterCommand();
-    pasteCommand();
-}
-
-</script>
-
-<title>Editing Test</title> 
-</head> 
-<body>
-<div contenteditable id="root" class="editing">
-<span id="test">foo bar baz</span>
-</div>
-
-<script>
-runEditingTest();
-</script>
-
-</body>
-</html>
index b22ac4a2cd693984603344c8a55a601aa04932ba..202290b2065eba3894acf61eb92efa270672f401 100644 (file)
@@ -1,3 +1,17 @@
+2004-06-14  Ken Kocienda  <kocienda@apple.com>
+
+        Reviewed by me
+
+        Regarding the bug below, removing some tests since we have removed the execCommand("paste") 
+        feature, at least for now.
+
+        <rdar://problem/3684792>: (JavaScript execCommand("paste") presents security issues)
+
+        * layout-tests/editing/pasteboard/copy-paste-text-001-expected.txt: Removed.
+        * layout-tests/editing/pasteboard/copy-paste-text-001.html: Removed.
+        * layout-tests/editing/pasteboard/cut-paste-text-002-expected.txt: Removed.
+        * layout-tests/editing/pasteboard/cut-paste-text-002.html: Removed.
+
 2004-06-14  Ken Kocienda  <kocienda@apple.com>
 
         Reviewed by Darin