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

Side by Side Diff: LayoutTests/fast/forms/autocomplete-off-with-default-value-does-not-clear.html

Issue 14195011: Removed WONTFIX tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <script>
2
3 if (window.testRunner) {
4 testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
5 testRunner.dumpAsText();
6 testRunner.waitUntilDone();
7 }
8
9 function loaded()
10 {
11 document.getElementById("testInput").value = "SomeNonDefaultValue";
12 setTimeout("location.href = 'resources/go-back.html'", 0);
13 }
14
15 function pageShown(evt)
16 {
17 if (evt.persisted)
18 setTimeout("finishUp()", 0);
19 }
20
21 function finishUp()
22 {
23 document.getElementById("logger").innerText = document.getElementById("t estInput").value;
24 if (window.testRunner)
25 testRunner.notifyDone();
26 }
27
28 </script>
29 <body onload="loaded()" onpageshow="pageShown(event)">
30 This page has a text input element with a default value and autocomplete set to off. When restored from the page cache its value should *not* be cleared.<br>
31 <input id="testInput" type="test" autocomplete="off" value="DefaultValue">
32 <div id="logger"></div>
33 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698