2011-01-18 Maciej Stachowiak <mjs@apple.com>
authormjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Jan 2011 04:08:12 +0000 (04:08 +0000)
committermjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Jan 2011 04:08:12 +0000 (04:08 +0000)
        Reviewed by Sam Weinig.

        Skip (and in a few cases fix) tests for WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=52698

        * editing/pasteboard/copy-null-characters.html: Make this test fail in a more
        obvious way when it fails.
        * fast/events/scroll-event-does-not-bubble.html: Make this test properly
        handle the fact that scroll events are async. The job was half-done before.
        * platform/mac-wk2/Skipped: Skip!

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

LayoutTests/ChangeLog
LayoutTests/editing/pasteboard/copy-null-characters.html
LayoutTests/fast/events/scroll-event-does-not-bubble.html
LayoutTests/platform/mac-wk2/Skipped

index 7ee7583..378f1e5 100644 (file)
@@ -1,5 +1,18 @@
 2011-01-18  Maciej Stachowiak  <mjs@apple.com>
 
+        Reviewed by Sam Weinig.
+
+        Skip (and in a few cases fix) tests for WebKit2
+        https://bugs.webkit.org/show_bug.cgi?id=52698
+
+        * editing/pasteboard/copy-null-characters.html: Make this test fail in a more
+        obvious way when it fails.
+        * fast/events/scroll-event-does-not-bubble.html: Make this test properly
+        handle the fact that scroll events are async. The job was half-done before.
+        * platform/mac-wk2/Skipped: Skip!
+
+2011-01-18  Maciej Stachowiak  <mjs@apple.com>
+
         Not reviewed.
 
         Revert inadvertantly committed test changes.
index c92ab8b..b908dc1 100644 (file)
@@ -29,6 +29,8 @@ function runTest()
         results.innerText = "Plain text field has the wrong value (expected " +
             JSON.stringify(expectedPlainTextValue) + " but found " +
             JSON.stringify(destinationPlainText.value) + ").";
+        Markup.dump(document.body);
+        Markup.notifyDone();
         return;
     }
 
@@ -52,6 +54,8 @@ function runTest()
         results.innerText = "Plain text field has the wrong value (expected " +
             JSON.stringify(expectedPlainTextValue2) + " but found " +
             JSON.stringify(destinationPlainText.value) + ").";
+        Markup.dump(document.body);
+        Markup.notifyDone();
         return;
     }
 
index 1e85113..0686350 100644 (file)
@@ -14,6 +14,9 @@ function divScrolled() {
         document.getElementById('result').innerHTML = 'SUCCESS: div.onscroll was called, but window.onscroll was not.'; 
     // Don't call notifyDone straight away, in case there's another scroll event coming/bubbling.
     doneTimeout = setTimeout(function() {
+
+        // Don't pollute the test result with nonsense.
+        document.getElementById('container').innerHTML = '';
         if (window.layoutTestController)
             layoutTestController.notifyDone();
         }, 100);    
@@ -32,9 +35,6 @@ function runTest() {
     div.onscroll = divScrolled;
     window.onscroll = windowScrolled;
     div.scrollByLines(1);
-    
-    // Don't pollute the test result with nonsense.
-    div.innerHTML = '';
 }
 
 </script>
index 087bd26..ffd456f 100644 (file)
@@ -976,6 +976,7 @@ java
 
 # WebKit2 needs layoutTestController.overridePreference
 # <https://bugs.webkit.org/show_bug.cgi?id=42197>
+http/tests/navigation/go-back-to-error-page.html
 http/tests/navigation/ping-cookie.html
 plugins/application-plugin-plugins-disabled.html
 fast/canvas/webgl/context-lost-restored.html
@@ -1084,6 +1085,7 @@ media/restore-from-page-cache.html
 
 # Pasteboard doesn't work in WebKit2
 # <https://bugs.webkit.org/show_bug.cgi?id=42317>
+editing/pasteboard/copy-null-characters.html
 editing/execCommand/4128080-2.html
 editing/execCommand/5939887.html
 editing/execCommand/copy-without-selection.html
@@ -2333,3 +2335,25 @@ http/tests/media/video-buffered.html
 # These require DRT setSerializeHTTPLoads implementation for WebKit2 to be reliable.
 http/tests/local/link-stylesheet-load-order.html
 http/tests/local/link-stylesheet-load-order-preload.html
+
+# Transitions sometimes don't stop when they should in WebKit2
+# <rdar://problem/8883326>
+transitions/hang-with-bad-transition-list.html
+transitions/remove-transition-style.html
+transitions/repeated-firing-background-color.html
+transitions/zero-duration-with-non-zero-delay-end.html
+
+# CSSValue and CSSPrimitiveValue prototypes are wrong
+# <rdar://problem/8772988>
+fast/dom/global-constructors.html
+
+# WebKit2 doesn't support tiled layers
+# <rdar://problem/8735596>
+compositing/tiling/huge-layer-resize.html
+
+# Unexplained plugin failures
+plugins/destroy-reentry.html
+platform/mac/plugins/testplugin-onnew-onpaint.html
+plugins/destroy-stream-twice.html
+plugins/embed-inside-object.html
+plugins/no-mime-with-valid-extension.html