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
+++ /dev/null
-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}
+++ /dev/null
-<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>
+++ /dev/null
-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}
+++ /dev/null
-<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>
+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