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

Unified Diff: ManualTests/modal-dialog-blur.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
« no previous file with comments | « ManualTests/modal-dialog-arguments.html ('k') | ManualTests/show-modal-dialog-test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ManualTests/modal-dialog-blur.html
diff --git a/ManualTests/modal-dialog-blur.html b/ManualTests/modal-dialog-blur.html
deleted file mode 100644
index bd72aa59d44be0bd91ef4e5184f3406a3ce87155..0000000000000000000000000000000000000000
--- a/ManualTests/modal-dialog-blur.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head><title>
-Tests blur/focus events with modal dialogs
-</title></head>
-<script>
-var failed = "";
-function failBlur() {
- failed = "blur";
-}
-function failFocus() {
- failed = "focus";
-}
-
-var inputElement;
-
-function test() {
- inputElement = document.getElementById("i")
- inputElement.focus();
- inputElement.addEventListener("blur", failBlur, false);
- inputElement.addEventListener("focus", failFocus, false);
- window.showModalDialog("modal-dialog-blur-selfclose.html");
- if (failed) {
- document.getElementById("status").innerHTML = "FAIL, " + failed;
- } else {
- document.getElementById("status").innerHTML = "SUCCESS";
- }
-}
-</script>
-<body onload="test()">
-<input id="i"></input>
-<div id="status">RUNNING...</div>
-</body>
-</html>
« no previous file with comments | « ManualTests/modal-dialog-arguments.html ('k') | ManualTests/show-modal-dialog-test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698