4 <input id=
"emptyOnFirstVisit">
5 <form action=
"data:text/html,<script>history.back()</script>" id=form1
>
6 <input type=date id=input1
>
7 <input type=date id=input2
>
8 <input type=date id=input3
value=
"2012-01-03">
12 // Restoring the form should update the clear button visibility.
13 testRunner
.waitUntilDone();
16 var state
= document
.getElementById('emptyOnFirstVisit');
19 setTimeout(function() {
20 state
.value
= 'visited';
21 document
.getElementById('input2').value
= "2001-02-03";
22 document
.getElementById('input3').value
= "2002-03-04";
23 document
.getElementById('form1').submit();
26 testRunner
.notifyDone();
30 window
.onload
= runTest
;