Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / datetimelocal-multiple-fields / datetimelocal-multiple-fields-preserve-value-after-history-back.html
blobfe984e5ff406ab7c26e0f9ab521b1981aa7f0521
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <iframe id="iframe"></iframe>
8 <script>
9 description('Checks input value is preserved after backward and forward');
10 if (!window.eventSender || !window.internals)
11 debug('Please run within DRT/WTR');
12 window.jsTestIsAsync = true;
14 var state = 'direct';
15 var testCases = [];
17 function failed(message) {
18 testFailed(message + ' in ' + state);
19 finishJSTest();
22 function finishTest() {
23 runTestCases();
24 finishJSTest();
27 function runTestCases() {
28 for (var index = 0; index < testCases.length; ++index) {
29 var testCase = testCases[index];
30 debug(testCase['description'] + ':');
31 shouldBeEqualToString('"' + testCase['actual'] + '"', testCase['expected']);
33 debug('');
36 window.onload = function() {
37 document.getElementById('iframe').src = 'resources/preserve-value-after-history-back-frame.html?page1';
39 </script>
40 </body>
41 </html>