| <!-- webkit-test-runner [ enableBackForwardCache=true ] --> |
| testRunner.waitUntilDone(); |
| document.getElementById("testInput").value = "SomeNonDefaultValue"; |
| setTimeout("location.href = 'resources/go-back.html'", 0); |
| setTimeout("finishUp()", 0); |
| document.getElementById("logger").innerText = document.getElementById("testInput").value; |
| <body onload="loaded()" onpageshow="pageShown(event)"> |
| 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> |
| <input id="testInput" type="test" autocomplete="off" value="DefaultValue"> |