[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

bweinstein at apple.com bweinstein at apple.com
Wed Dec 22 14:24:24 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit ef59d712519698d49152e808c3bea82b4b35027c
Author: bweinstein at apple.com <bweinstein at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Oct 7 23:32:17 2010 +0000

    Autocorrection panel regression tests fail on Windows
    https://bugs.webkit.org/show_bug.cgi?id=47341
    <rdar://problem/8523631>
    
    Patch by Jia Pu <jpu at apple.com> on 2010-10-07
    Reviewed by Adele Peterson.
    
    Move Mac specific tests to platform/mac directory.
    
    * editing/spelling/autocorrection-delete.html: Removed.
    * editing/spelling/autocorrection-removing-underline-after-paste.html: Removed.
    * editing/spelling/autocorrection-removing-underline.html: Removed.
    * editing/spelling/autocorrection-simple.html: Removed.
    * platform/mac-leopard/Skipped:
    * platform/mac-snowleopard/Skipped:
    * platform/mac-tiger/Skipped:
    * platform/mac-wk2/Skipped:
    * platform/mac/editing/spelling/autocorrection-delete.html: Added.
    * platform/mac/editing/spelling/autocorrection-removing-underline-after-paste.html: Added.
    * platform/mac/editing/spelling/autocorrection-removing-underline.html: Added.
    * platform/mac/editing/spelling/autocorrection-simple.html: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69351 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 9d06b11..6cc9356 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,26 @@
+2010-10-07  Jia Pu  <jpu at apple.com>
+
+        Reviewed by Adele Peterson.
+
+        Autocorrection panel regression tests fail on Windows
+        https://bugs.webkit.org/show_bug.cgi?id=47341
+        <rdar://problem/8523631>
+
+        Move Mac specific tests to platform/mac directory.
+
+        * editing/spelling/autocorrection-delete.html: Removed.
+        * editing/spelling/autocorrection-removing-underline-after-paste.html: Removed.
+        * editing/spelling/autocorrection-removing-underline.html: Removed.
+        * editing/spelling/autocorrection-simple.html: Removed.
+        * platform/mac-leopard/Skipped:
+        * platform/mac-snowleopard/Skipped:
+        * platform/mac-tiger/Skipped:
+        * platform/mac-wk2/Skipped:
+        * platform/mac/editing/spelling/autocorrection-delete.html: Added.
+        * platform/mac/editing/spelling/autocorrection-removing-underline-after-paste.html: Added.
+        * platform/mac/editing/spelling/autocorrection-removing-underline.html: Added.
+        * platform/mac/editing/spelling/autocorrection-simple.html: Added.
+
 2010-10-07  Csaba Osztrogonác  <ossy at webkit.org>
 
         Unreviewed.
diff --git a/LayoutTests/editing/spelling/autocorrection-delete.html b/LayoutTests/editing/spelling/autocorrection-delete.html
deleted file mode 100644
index 23e738b..0000000
--- a/LayoutTests/editing/spelling/autocorrection-delete.html
+++ /dev/null
@@ -1,54 +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() {
-    typeCharacterCommand('t');
-    typeCharacterCommand('h');
-    typeCharacterCommand('e');
-    typeCharacterCommand(' ');
-    typeCharacterCommand('n');
-    typeCharacterCommand('o');
-    typeCharacterCommand('t');
-    typeCharacterCommand('a');
-    typeCharacterCommand('t');
-    typeCharacterCommand('i');
-    typeCharacterCommand('o');
-    typeCharacterCommand('n');
-    typeCharacterCommand('l');
-    typeCharacterCommand(' ');
-    execDeleteCommand();
-    execDeleteCommand();
-    execDeleteCommand();
-    typeCharacterCommand('l');
-    typeCharacterCommand(' ');
-}
-
-</script>
-
-<title>Autocorrection Simple Test</title> 
-</head> 
-<body>
-<div>The test verified that if user modified an autocorrected word, then the autocorrection will not be applied again. You should see phrase 'the notationl', in which the word 'notationl' has red underline.</div>
-<p  style="color:green">Note, this test can fail due to user specific spell checking data. If the user has previously dismissed 'notational' as the correct spelling of 'notationl' several times, the spell checker will not provide 'notational' as a suggestion anymore. To fix this, remove all files in ~/Library/Spelling.</p>
-<div contenteditable id="root" class="editing">
-<span id="test"></span>
-</div>
-
-
-<script>
-runEditingTest();
-</script>
-
-</body>
-</html>
diff --git a/LayoutTests/editing/spelling/autocorrection-removing-underline-after-paste.html b/LayoutTests/editing/spelling/autocorrection-removing-underline-after-paste.html
deleted file mode 100644
index 29a4ffd..0000000
--- a/LayoutTests/editing/spelling/autocorrection-removing-underline-after-paste.html
+++ /dev/null
@@ -1,51 +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() {
-    typeCharacterCommand('t');
-    typeCharacterCommand('h');
-    typeCharacterCommand('e');
-    typeCharacterCommand(' ');
-    typeCharacterCommand('n');
-    typeCharacterCommand('o');
-    typeCharacterCommand('t');
-    typeCharacterCommand('a');
-    typeCharacterCommand('t');
-    typeCharacterCommand('i');
-    typeCharacterCommand('o');
-    typeCharacterCommand('n');
-    typeCharacterCommand('l');
-    typeCharacterCommand(' ');
-    var toBePasted = "<div>bar</div>baz<br class='Apple-interchange-newline'>";
-    document.execCommand("InsertHTML", false, toBePasted);
-}
-
-</script>
-
-<title>Autocorrection Simple Test</title> 
-</head> 
-<body>
-<div>This test verifies the removal of autocorrection underline upon pasting in HTML fragment that contains paragraph separator. You should see phrase 'the notational' without blue underline.</div>
-<p  style="color:green">Note, this test can fail due to user specific spell checking data. If the user has previously dismissed 'notational' as the correct spelling of 'notationl' several times, the spell checker will not provide 'notational' as a suggestion anymore. To fix this, remove all files in ~/Library/Spelling.</p>
-<div contenteditable id="root" class="editing">
-<span id="test"></span>
-</div>
-
-
-<script>
-runEditingTest();
-</script>
-
-</body>
-</html>
diff --git a/LayoutTests/editing/spelling/autocorrection-removing-underline.html b/LayoutTests/editing/spelling/autocorrection-removing-underline.html
deleted file mode 100644
index eca2133..0000000
--- a/LayoutTests/editing/spelling/autocorrection-removing-underline.html
+++ /dev/null
@@ -1,50 +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() {
-    typeCharacterCommand('t');
-    typeCharacterCommand('h');
-    typeCharacterCommand('e');
-    typeCharacterCommand(' ');
-    typeCharacterCommand('n');
-    typeCharacterCommand('o');
-    typeCharacterCommand('t');
-    typeCharacterCommand('a');
-    typeCharacterCommand('t');
-    typeCharacterCommand('i');
-    typeCharacterCommand('o');
-    typeCharacterCommand('n');
-    typeCharacterCommand('l');
-    typeCharacterCommand(' ');
-    typeCharacterCommand('\n');
-}
-
-</script>
-
-<title>Autocorrection Simple Test</title> 
-</head> 
-<body>
-<div>This test verifies the removal of autocorrection underline upon inserting paragraph separator. You should see phrase 'the notational' without blue underline.</div>
-<p  style="color:green">Note, this test can fail due to user specific spell checking data. If the user has previously dismissed 'notational' as the correct spelling of 'notationl' several times, the spell checker will not provide 'notational' as a suggestion anymore. To fix this, remove all files in ~/Library/Spelling.</p>
-<div contenteditable id="root" class="editing">
-<span id="test"></span>
-</div>
-
-
-<script>
-runEditingTest();
-</script>
-
-</body>
-</html>
diff --git a/LayoutTests/editing/spelling/autocorrection-simple.html b/LayoutTests/editing/spelling/autocorrection-simple.html
deleted file mode 100644
index 63a7257..0000000
--- a/LayoutTests/editing/spelling/autocorrection-simple.html
+++ /dev/null
@@ -1,55 +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() {
-    typeCharacterCommand('t');
-    typeCharacterCommand('h');
-    typeCharacterCommand('e');
-    typeCharacterCommand(' ');
-    typeCharacterCommand('n');
-    typeCharacterCommand('o');
-    typeCharacterCommand('t');
-    typeCharacterCommand('a');
-    typeCharacterCommand('t');
-    typeCharacterCommand('i');
-    typeCharacterCommand('o');
-    typeCharacterCommand('n');
-    typeCharacterCommand('l');
-    eventSender.leapForward(1000);
-    typeCharacterCommand(' ');
-}
-
-</script>
-
-<title>Autocorrection Simple Test</title> 
-</head> 
-<body>
-<div>You should see phrase 'the notational', in which the word 'notational' has blue underline.</div>
-<p style="color:green">
-    This test does not run interactively.
-    It uses the event sender to do mouse clicks.
-    To run it manually, after loading the page, type whitespace to accept the correction. Now the word 'notationl' should be replaced by 'notational' with blue underline.
-</p>
-<p  style="color:green">Note, this test can fail due to user specific spell checking data. If the user has previously dismissed 'notational' as the correct spelling of 'notationl' several times, the spell checker will not provide 'notational' as a suggestion anymore. To fix this, remove all files in ~/Library/Spelling.</p>
-<div contenteditable id="root" class="editing">
-<span id="test"></span>
-</div>
-
-
-<script>
-runEditingTest();
-</script>
-
-</body>
-</html>
diff --git a/LayoutTests/platform/mac-leopard/Skipped b/LayoutTests/platform/mac-leopard/Skipped
index 5ee7df4..475dffc 100644
--- a/LayoutTests/platform/mac-leopard/Skipped
+++ b/LayoutTests/platform/mac-leopard/Skipped
@@ -95,7 +95,7 @@ media/video-play-pause-events.html
 media/video-width-height.html
 
 # Disable spelling tests for autocorrection panel
-editing/spelling/autocorrection-delete.html
-editing/spelling/autocorrection-removing-underline-after-paste.html
-editing/spelling/autocorrection-removing-underline.html
-editing/spelling/autocorrection-simple.html
+platform/mac/editing/spelling/autocorrection-delete.html
+platform/mac/editing/spelling/autocorrection-removing-underline-after-paste.html
+platform/mac/editing/spelling/autocorrection-removing-underline.html
+platform/mac/editing/spelling/autocorrection-simple.html
diff --git a/LayoutTests/platform/mac-snowleopard/Skipped b/LayoutTests/platform/mac-snowleopard/Skipped
index 9a42df9..3ac4593 100644
--- a/LayoutTests/platform/mac-snowleopard/Skipped
+++ b/LayoutTests/platform/mac-snowleopard/Skipped
@@ -130,7 +130,7 @@ canvas/philip/tests/2d.gradient.interpolate.overlap.html
 canvas/philip/tests/2d.gradient.interpolate.overlap2.html
 
 # Disable spelling tests for autocorrection panel
-editing/spelling/autocorrection-delete.html
-editing/spelling/autocorrection-removing-underline-after-paste.html
-editing/spelling/autocorrection-removing-underline.html
-editing/spelling/autocorrection-simple.html
+platform/mac/editing/spelling/autocorrection-delete.html
+platform/mac/editing/spelling/autocorrection-removing-underline-after-paste.html
+platform/mac/editing/spelling/autocorrection-removing-underline.html
+platform/mac/editing/spelling/autocorrection-simple.html
diff --git a/LayoutTests/platform/mac-tiger/Skipped b/LayoutTests/platform/mac-tiger/Skipped
index 971e08b..1039ec8 100644
--- a/LayoutTests/platform/mac-tiger/Skipped
+++ b/LayoutTests/platform/mac-tiger/Skipped
@@ -208,7 +208,7 @@ fast/harness/show-modal-dialog.html
 http/tests/misc/401-alternative-content.php
 
 # Disable spelling tests for autocorrection panel
-editing/spelling/autocorrection-delete.html
-editing/spelling/autocorrection-removing-underline-after-paste.html
-editing/spelling/autocorrection-removing-underline.html
-editing/spelling/autocorrection-simple.html
\ No newline at end of file
+platform/mac/editing/spelling/autocorrection-delete.html
+platform/mac/editing/spelling/autocorrection-removing-underline-after-paste.html
+platform/mac/editing/spelling/autocorrection-removing-underline.html
+platform/mac/editing/spelling/autocorrection-simple.html
diff --git a/LayoutTests/platform/mac-wk2/Skipped b/LayoutTests/platform/mac-wk2/Skipped
index 818bc9b..24dfad4 100644
--- a/LayoutTests/platform/mac-wk2/Skipped
+++ b/LayoutTests/platform/mac-wk2/Skipped
@@ -114,10 +114,6 @@ svg/dynamic-updates/SVGFEPointLightElement-svgdom-x-prop.html
 svg/dynamic-updates/SVGFEPointLightElement-svgdom-y-prop.html
 svg/dynamic-updates/SVGFEPointLightElement-svgdom-z-prop.html
 compositing/iframes/layout-on-compositing-change.html
-editing/spelling/autocorrection-delete.html
-editing/spelling/autocorrection-removing-underline-after-paste.html
-editing/spelling/autocorrection-removing-underline.html
-editing/spelling/autocorrection-simple.html
 editing/deleting/5390681-2.html
 editing/deleting/5729680.html
 editing/deleting/forward-delete-key.html
@@ -517,6 +513,10 @@ platform/mac/editing/deleting/backward-delete.html
 platform/mac/editing/pasteboard/dataTransfer-set-data-file-url.html
 platform/mac/editing/selection/doubleclick-should-not-expand-across-lines.html
 platform/mac/editing/selection/word-thai.html
+platform/mac/editing/spelling/autocorrection-delete.html
+platform/mac/editing/spelling/autocorrection-removing-underline-after-paste.html
+platform/mac/editing/spelling/autocorrection-removing-underline.html
+platform/mac/editing/spelling/autocorrection-simple.html
 platform/mac/fast/forms/input-appearance-spinbutton-up.html
 platform/mac/fast/forms/input-number-click.html
 platform/mac/fast/forms/listbox-scrollbar-hit-test.html
diff --git a/LayoutTests/platform/mac/editing/spelling/autocorrection-delete.html b/LayoutTests/platform/mac/editing/spelling/autocorrection-delete.html
new file mode 100644
index 0000000..c1ece66
--- /dev/null
+++ b/LayoutTests/platform/mac/editing/spelling/autocorrection-delete.html
@@ -0,0 +1,54 @@
+<html> 
+<head>
+
+<style>
+.editing { 
+    border: 2px solid red; 
+    padding: 12px; 
+    font-size: 24px; 
+}
+</style>
+<script src=../../../../editing/editing.js language="JavaScript" type="text/JavaScript" ></script>
+
+<script>
+
+function editingTest() {
+    typeCharacterCommand('t');
+    typeCharacterCommand('h');
+    typeCharacterCommand('e');
+    typeCharacterCommand(' ');
+    typeCharacterCommand('n');
+    typeCharacterCommand('o');
+    typeCharacterCommand('t');
+    typeCharacterCommand('a');
+    typeCharacterCommand('t');
+    typeCharacterCommand('i');
+    typeCharacterCommand('o');
+    typeCharacterCommand('n');
+    typeCharacterCommand('l');
+    typeCharacterCommand(' ');
+    execDeleteCommand();
+    execDeleteCommand();
+    execDeleteCommand();
+    typeCharacterCommand('l');
+    typeCharacterCommand(' ');
+}
+
+</script>
+
+<title>Autocorrection Simple Test</title> 
+</head> 
+<body>
+<div>The test verified that if user modified an autocorrected word, then the autocorrection will not be applied again. You should see phrase 'the notationl', in which the word 'notationl' has red underline.</div>
+<p  style="color:green">Note, this test can fail due to user specific spell checking data. If the user has previously dismissed 'notational' as the correct spelling of 'notationl' several times, the spell checker will not provide 'notational' as a suggestion anymore. To fix this, remove all files in ~/Library/Spelling.</p>
+<div contenteditable id="root" class="editing">
+<span id="test"></span>
+</div>
+
+
+<script>
+runEditingTest();
+</script>
+
+</body>
+</html>
diff --git a/LayoutTests/platform/mac/editing/spelling/autocorrection-removing-underline-after-paste.html b/LayoutTests/platform/mac/editing/spelling/autocorrection-removing-underline-after-paste.html
new file mode 100644
index 0000000..76b74ab
--- /dev/null
+++ b/LayoutTests/platform/mac/editing/spelling/autocorrection-removing-underline-after-paste.html
@@ -0,0 +1,51 @@
+<html> 
+<head>
+
+<style>
+.editing { 
+    border: 2px solid red; 
+    padding: 12px; 
+    font-size: 24px; 
+}
+</style>
+<script src=../../../../editing/editing.js language="JavaScript" type="text/JavaScript" ></script>
+
+<script>
+
+function editingTest() {
+    typeCharacterCommand('t');
+    typeCharacterCommand('h');
+    typeCharacterCommand('e');
+    typeCharacterCommand(' ');
+    typeCharacterCommand('n');
+    typeCharacterCommand('o');
+    typeCharacterCommand('t');
+    typeCharacterCommand('a');
+    typeCharacterCommand('t');
+    typeCharacterCommand('i');
+    typeCharacterCommand('o');
+    typeCharacterCommand('n');
+    typeCharacterCommand('l');
+    typeCharacterCommand(' ');
+    var toBePasted = "<div>bar</div>baz<br class='Apple-interchange-newline'>";
+    document.execCommand("InsertHTML", false, toBePasted);
+}
+
+</script>
+
+<title>Autocorrection Simple Test</title> 
+</head> 
+<body>
+<div>This test verifies the removal of autocorrection underline upon pasting in HTML fragment that contains paragraph separator. You should see phrase 'the notational' without blue underline.</div>
+<p  style="color:green">Note, this test can fail due to user specific spell checking data. If the user has previously dismissed 'notational' as the correct spelling of 'notationl' several times, the spell checker will not provide 'notational' as a suggestion anymore. To fix this, remove all files in ~/Library/Spelling.</p>
+<div contenteditable id="root" class="editing">
+<span id="test"></span>
+</div>
+
+
+<script>
+runEditingTest();
+</script>
+
+</body>
+</html>
diff --git a/LayoutTests/platform/mac/editing/spelling/autocorrection-removing-underline.html b/LayoutTests/platform/mac/editing/spelling/autocorrection-removing-underline.html
new file mode 100644
index 0000000..829c2e7
--- /dev/null
+++ b/LayoutTests/platform/mac/editing/spelling/autocorrection-removing-underline.html
@@ -0,0 +1,50 @@
+<html> 
+<head>
+
+<style>
+.editing { 
+    border: 2px solid red; 
+    padding: 12px; 
+    font-size: 24px; 
+}
+</style>
+<script src=../../../../editing/editing.js language="JavaScript" type="text/JavaScript" ></script>
+
+<script>
+
+function editingTest() {
+    typeCharacterCommand('t');
+    typeCharacterCommand('h');
+    typeCharacterCommand('e');
+    typeCharacterCommand(' ');
+    typeCharacterCommand('n');
+    typeCharacterCommand('o');
+    typeCharacterCommand('t');
+    typeCharacterCommand('a');
+    typeCharacterCommand('t');
+    typeCharacterCommand('i');
+    typeCharacterCommand('o');
+    typeCharacterCommand('n');
+    typeCharacterCommand('l');
+    typeCharacterCommand(' ');
+    typeCharacterCommand('\n');
+}
+
+</script>
+
+<title>Autocorrection Simple Test</title> 
+</head> 
+<body>
+<div>This test verifies the removal of autocorrection underline upon inserting paragraph separator. You should see phrase 'the notational' without blue underline.</div>
+<p  style="color:green">Note, this test can fail due to user specific spell checking data. If the user has previously dismissed 'notational' as the correct spelling of 'notationl' several times, the spell checker will not provide 'notational' as a suggestion anymore. To fix this, remove all files in ~/Library/Spelling.</p>
+<div contenteditable id="root" class="editing">
+<span id="test"></span>
+</div>
+
+
+<script>
+runEditingTest();
+</script>
+
+</body>
+</html>
diff --git a/LayoutTests/platform/mac/editing/spelling/autocorrection-simple.html b/LayoutTests/platform/mac/editing/spelling/autocorrection-simple.html
new file mode 100644
index 0000000..82285a8
--- /dev/null
+++ b/LayoutTests/platform/mac/editing/spelling/autocorrection-simple.html
@@ -0,0 +1,55 @@
+<html> 
+<head>
+
+<style>
+.editing { 
+    border: 2px solid red; 
+    padding: 12px; 
+    font-size: 24px; 
+}
+</style>
+<script src=../../../../editing/editing.js language="JavaScript" type="text/JavaScript" ></script>
+
+<script>
+
+function editingTest() {
+    typeCharacterCommand('t');
+    typeCharacterCommand('h');
+    typeCharacterCommand('e');
+    typeCharacterCommand(' ');
+    typeCharacterCommand('n');
+    typeCharacterCommand('o');
+    typeCharacterCommand('t');
+    typeCharacterCommand('a');
+    typeCharacterCommand('t');
+    typeCharacterCommand('i');
+    typeCharacterCommand('o');
+    typeCharacterCommand('n');
+    typeCharacterCommand('l');
+    eventSender.leapForward(1000);
+    typeCharacterCommand(' ');
+}
+
+</script>
+
+<title>Autocorrection Simple Test</title> 
+</head> 
+<body>
+<div>You should see phrase 'the notational', in which the word 'notational' has blue underline.</div>
+<p style="color:green">
+    This test does not run interactively.
+    It uses the event sender to do mouse clicks.
+    To run it manually, after loading the page, type whitespace to accept the correction. Now the word 'notationl' should be replaced by 'notational' with blue underline.
+</p>
+<p  style="color:green">Note, this test can fail due to user specific spell checking data. If the user has previously dismissed 'notational' as the correct spelling of 'notationl' several times, the spell checker will not provide 'notational' as a suggestion anymore. To fix this, remove all files in ~/Library/Spelling.</p>
+<div contenteditable id="root" class="editing">
+<span id="test"></span>
+</div>
+
+
+<script>
+runEditingTest();
+</script>
+
+</body>
+</html>

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list