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

Unified Diff: third_party/WebKit/LayoutTests/editing/deleting/password-delete-performance.html

Issue 2753743004: Revive layout test unintentionally removed. (Closed)
Patch Set: Created 3 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: third_party/WebKit/LayoutTests/editing/deleting/password-delete-performance.html
diff --git a/third_party/WebKit/LayoutTests/editing/deleting/password-delete-performance.html b/third_party/WebKit/LayoutTests/editing/deleting/password-delete-performance.html
deleted file mode 100644
index ce2520fdb24de14ea9278eb1a7751b941d58c8cb..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/editing/deleting/password-delete-performance.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<!DOCTYPE html>
-<html>
- <body>
- <p id="description">This test ensures that deleting characters from a password field that follows large content blocks is not slow.
- To run the test manually, delete the character from the password field. The user agent should not freeze.</p>
-
- <div id="content" style="height:0px; overflow:hidden;"> </div>
- <input id="field" type="password" value="A">
-
- <script src="../editing.js"></script>
- <script>
- if (window.testRunner)
- testRunner.dumpAsText();
-
- var newContent = '<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</p>';
- for (var i = 0; i < 13; i++) {
- newContent += newContent;
- }
-
- var contentDiv = document.getElementById('content');
- contentDiv.innerHTML = newContent;
-
- document.getElementById("field").focus();
- document.execCommand("Delete");
-
- // We clear the content div to avoid having its content appear in the test harness output.
- if (window.testRunner)
- contentDiv.innerHTML = "";
- </script>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698