[GTK] [EFL] [AppleWin] Layout Test fast/shadow-dom/slot-removal-crash-2.html timeouts
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 2 Feb 2016 02:35:12 +0000 (02:35 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 2 Feb 2016 02:35:12 +0000 (02:35 +0000)
https://bugs.webkit.org/show_bug.cgi?id=153772

Reviewed by Michael Catanzaro.

Don't call wait untilDone if attachShadow is not available.

* fast/shadow-dom/slot-removal-crash-2.html:

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

LayoutTests/ChangeLog
LayoutTests/fast/shadow-dom/slot-removal-crash-2.html

index 734c0ab..2f64d80 100644 (file)
@@ -1,3 +1,14 @@
+2016-02-01  Ryosuke Niwa  <rniwa@webkit.org>
+
+        [GTK] [EFL] [AppleWin] Layout Test fast/shadow-dom/slot-removal-crash-2.html timeouts
+        https://bugs.webkit.org/show_bug.cgi?id=153772
+
+        Reviewed by Michael Catanzaro.
+
+        Don't call wait untilDone if attachShadow is not available.
+
+        * fast/shadow-dom/slot-removal-crash-2.html:
+
 2016-02-01  Joseph Pecoraro  <pecoraro@apple.com>
 
         Web Inspector: High Level Memory Overview Instrument
index 9e1148a..b851d40 100644 (file)
@@ -6,7 +6,8 @@ The test passes if WebKit does not hit an assertion.</p>
 <script>
 
 if (window.testRunner) {
-    testRunner.waitUntilDone();
+    if ('attachShadow' in Element.prototype)
+        testRunner.waitUntilDone();
     testRunner.dumpAsText();
 }