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

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

Issue 174073007: Remove deprecated window.showModalDialog() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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
deleted file mode 100644
index 2181bb94d528b47612c73c0844ab98a7bd0bc0e5..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/animation/request-animation-frame-during-modal.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<!DOCTYPE html>
-<html>
-<script src="../../resources/js-test.js"></script>
-<body>
-
-<script type="text/javascript">
-if (window.testRunner)
- testRunner.setCanOpenWindows();
-
-description('Tests that requestAnimationFrame callbacks are not invoked while modal dialogs are displayed.');
-
-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);'+
- '}';
- showModalDialog('data:text/html,<script>' + src + '</' + 'script>');
- debug('Returned from modal dialog');
- if (window.testRunner) {;
- testRunner.display();
- }
-
- window.requestAnimationFrame(function() {
- isSuccessfullyParsed();
- if (window.testRunner)
- testRunner.notifyDone();
- });
-}
-
-if (window.testRunner)
- testRunner.waitUntilDone();
-
-</script>
-</body>
-</html>
-
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/animation/request-animation-frame-during-modal-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698