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

Unified Diff: LayoutTests/fast/animation/request-animation-frame-during-modal.html

Issue 196573042: Remove display() from more layout tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More expectations Created 6 years, 9 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/animation/request-animation-frame-during-modal.html
diff --git a/LayoutTests/fast/animation/request-animation-frame-during-modal.html b/LayoutTests/fast/animation/request-animation-frame-during-modal.html
index 2181bb94d528b47612c73c0844ab98a7bd0bc0e5..cc372d62dc33ab40e19d1d6a8036e2528f520db4 100644
--- a/LayoutTests/fast/animation/request-animation-frame-during-modal.html
+++ b/LayoutTests/fast/animation/request-animation-frame-during-modal.html
@@ -14,17 +14,9 @@ onload = function()
debug('Setting callback');
window.requestAnimationFrame(function() { debug('Callback fired'); }, document.body);
debug('Showing modal dialog');
- var src = 'if (window.testRunner) {' +
- ' testRunner.display();' +
- ' window.close();' +
- '} else {'+
- ' window.setTimeout(window.close, 10);'+
- '}';
+ var src = 'window.setTimeout(window.close, 100);';
showModalDialog('data:text/html,<script>' + src + '</' + 'script>');
debug('Returned from modal dialog');
- if (window.testRunner) {;
- testRunner.display();
- }
window.requestAnimationFrame(function() {
isSuccessfullyParsed();
« no previous file with comments | « LayoutTests/css3/filters/multiple-filters-invalidation.html ('k') | LayoutTests/fast/canvas/webgl/canvas-test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698