Add layout test for DOM timer throttling in iframe scrolled out of viewport
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 Dec 2014 19:16:52 +0000 (19:16 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 Dec 2014 19:16:52 +0000 (19:16 +0000)
commit0c585b140c9720694967556e20d88c8432b298d5
tree949d745052619f40c2b79a0e93f13d84733d4643
parent69632863faa3adae347911619600e47987ba8f45
Add layout test for DOM timer throttling in iframe scrolled out of viewport
https://bugs.webkit.org/show_bug.cgi?id=138884

Reviewed by Andreas Kling.

Add a layout test to test that a repeating DOM timer inside an iframe
get throttled if the iframe is scrolled out of the viewport.

* fast/dom/resources/timer-throttling-iframe.html: Added.
* fast/dom/timer-throttle-on-scrolling-iframe-away.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@176729 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/resources/timer-throttling-iframe.html [new file with mode: 0644]
LayoutTests/fast/dom/timer-throttle-on-scrolling-iframe-away.html [new file with mode: 0644]