Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: LayoutTests/fast/frames/seamless/seamless-resize-event-hang.html

Issue 138443013: Remove iframe@seamless (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Include remove tests Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/frames/seamless/seamless-resize-event-hang.html
diff --git a/LayoutTests/fast/frames/seamless/seamless-resize-event-hang.html b/LayoutTests/fast/frames/seamless/seamless-resize-event-hang.html
deleted file mode 100644
index 8b471dd574a31aacd13a52fc6e9089d0d181109b..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/frames/seamless/seamless-resize-event-hang.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE html>
-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
-}
-</script>
-<p>This tests that we don't get into an infinite resize event loop with seamless iframes. Passes if it doesn't hang.</p>
-<iframe seamless srcdoc="<!DOCTYPE html>
-<script>
-function notifyDone() {
- if (window.testRunner)
- testRunner.notifyDone();
-}
-
-var timer;
-window.onresize = function() {
- clearTimeout(timer);
- // We sometimes yield to the event loop even in the hang case,
- // so notifyDone on a setTimeout to avoid brief yields.
- timer = setTimeout(notifyDone, 100);
-
- document.body.style.height = (Math.random() * 450) + 'px';
- document.body.offsetHeight;
-}
-</script>
-<body onload='window.onresize()'></body>"></iframe>
-<script>
-document.querySelector('iframe').offsetHeight;
-</script>

Powered by Google App Engine
This is Rietveld 408576698