Title: [214349] trunk/LayoutTests
Revision
214349
Author
[email protected]
Date
2017-03-24 09:27:01 -0700 (Fri, 24 Mar 2017)

Log Message

Extend svg/animations/animations-paused-disconnected-iframe.html
https://bugs.webkit.org/show_bug.cgi?id=170035

Reviewed by Andreas Kling.

Extend svg/animations/animations-paused-disconnected-iframe.html to cover more things.

* svg/animations/animations-paused-disconnected-iframe-expected.txt:
* svg/animations/animations-paused-disconnected-iframe.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (214348 => 214349)


--- trunk/LayoutTests/ChangeLog	2017-03-24 16:25:09 UTC (rev 214348)
+++ trunk/LayoutTests/ChangeLog	2017-03-24 16:27:01 UTC (rev 214349)
@@ -1,3 +1,15 @@
+2017-03-24  Chris Dumez  <[email protected]>
+
+        Extend svg/animations/animations-paused-disconnected-iframe.html
+        https://bugs.webkit.org/show_bug.cgi?id=170035
+
+        Reviewed by Andreas Kling.
+
+        Extend svg/animations/animations-paused-disconnected-iframe.html to cover more things.
+
+        * svg/animations/animations-paused-disconnected-iframe-expected.txt:
+        * svg/animations/animations-paused-disconnected-iframe.html:
+
 2017-03-24  Youenn Fablet  <[email protected]>
 
         Fix framesEncoded/framesDecoded RTC stats

Modified: trunk/LayoutTests/svg/animations/animations-paused-disconnected-iframe-expected.txt (214348 => 214349)


--- trunk/LayoutTests/svg/animations/animations-paused-disconnected-iframe-expected.txt	2017-03-24 16:25:09 UTC (rev 214348)
+++ trunk/LayoutTests/svg/animations/animations-paused-disconnected-iframe-expected.txt	2017-03-24 16:27:01 UTC (rev 214349)
@@ -4,13 +4,18 @@
 
 
 PASS frameWindow.internals.areSVGAnimationsPaused is false
+PASS frameWindow.document.getElementsByTagName('svg')[0].animationsPaused() is false
 PASS grandChildWindow.internals.areSVGAnimationsPaused is false
+PASS grandChildWindow.document.getElementsByTagName('svg')[0].animationsPaused() is false
 Removing iframe from the document.
 PASS frameWindow.internals.areSVGAnimationsPaused is true
+PASS frameWindow.document.getElementsByTagName('svg')[0].animationsPaused() is true
 PASS grandChildWindow.internals.areSVGAnimationsPaused is true
+PASS grandChildWindow.document.getElementsByTagName('svg')[0].animationsPaused() is true
 Add iframe back into the document.
 PASS frame.contentWindow.internals.areSVGAnimationsPaused is false
-PASS frame.contentDocument.getElementById('grandChildFrame').contentWindow.internals.areSVGAnimationsPaused is false
+PASS frame.contentDocument.getElementsByTagName('svg')[0].animationsPaused() is false
+PASS grandChildWindow.document.getElementsByTagName('svg')[0].animationsPaused() is false
 PASS successfullyParsed is true
 
 TEST COMPLETE

Modified: trunk/LayoutTests/svg/animations/animations-paused-disconnected-iframe.html (214348 => 214349)


--- trunk/LayoutTests/svg/animations/animations-paused-disconnected-iframe.html	2017-03-24 16:25:09 UTC (rev 214348)
+++ trunk/LayoutTests/svg/animations/animations-paused-disconnected-iframe.html	2017-03-24 16:27:01 UTC (rev 214349)
@@ -13,18 +13,25 @@
     grandChildWindow = grandChildFrame.contentWindow;
 
     shouldBeFalse("frameWindow.internals.areSVGAnimationsPaused");
+    shouldBeFalse("frameWindow.document.getElementsByTagName('svg')[0].animationsPaused()");
     shouldBeFalse("grandChildWindow.internals.areSVGAnimationsPaused");
+    shouldBeFalse("grandChildWindow.document.getElementsByTagName('svg')[0].animationsPaused()");
 
     debug("Removing iframe from the document.");
     frame.remove();
 
     shouldBeTrue("frameWindow.internals.areSVGAnimationsPaused");
+    shouldBeTrue("frameWindow.document.getElementsByTagName('svg')[0].animationsPaused()");
     shouldBeTrue("grandChildWindow.internals.areSVGAnimationsPaused");
+    shouldBeTrue("grandChildWindow.document.getElementsByTagName('svg')[0].animationsPaused()");
 
     debug("Add iframe back into the document.");
     frame._onload_ = function() {
         shouldBeFalse("frame.contentWindow.internals.areSVGAnimationsPaused");
-        shouldBeFalse("frame.contentDocument.getElementById('grandChildFrame').contentWindow.internals.areSVGAnimationsPaused");
+        shouldBeFalse("frame.contentDocument.getElementsByTagName('svg')[0].animationsPaused()");
+        grandChildFrame = frame.contentDocument.getElementById("grandChildFrame");
+        grandChildWindow = grandChildFrame.contentWindow;
+        shouldBeFalse("grandChildWindow.document.getElementsByTagName('svg')[0].animationsPaused()");
         finishJSTest();
     }
     document.body.appendChild(frame);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to