Title: [136219] trunk/LayoutTests
Revision
136219
Author
[email protected]
Date
2012-11-30 02:32:32 -0800 (Fri, 30 Nov 2012)

Log Message

[Chromium] Layout Test fast/forms/*-multiple-fields/*-multiple-fields-preserve-value-after-history-back.html is failing
https://bugs.webkit.org/show_bug.cgi?id=96720

Reviewed by Kentaro Hara.

We should start tests after js-test-post.js loading to avoid missing
testRunner.waitUntilDone calls.

* fast/forms/date-multiple-fields/date-multiple-fields-preserve-value-after-history-back.html:
Make the outer switch a function to be called window.onload, and stop to
remove the iframe because the script in the iframe calls notifyDone.
* fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-preserve-value-after-history-back.html:
Ditto.
* fast/forms/time-multiple-fields/time-multiple-fields-preserve-value-after-history-back.html:
Ditto.
* fast/forms/week-multiple-fields/week-multiple-fields-preserve-value-after-history-back.html:
Ditto.
* platform/chromium/TestExpectations:
Move the line for
week-multiple-fields-preserve-value-after-history-back.html near to
others. We don't remove these expectations yet just in case.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (136218 => 136219)


--- trunk/LayoutTests/ChangeLog	2012-11-30 10:19:32 UTC (rev 136218)
+++ trunk/LayoutTests/ChangeLog	2012-11-30 10:32:32 UTC (rev 136219)
@@ -1,3 +1,27 @@
+2012-11-30  Kent Tamura  <[email protected]>
+
+        [Chromium] Layout Test fast/forms/*-multiple-fields/*-multiple-fields-preserve-value-after-history-back.html is failing
+        https://bugs.webkit.org/show_bug.cgi?id=96720
+
+        Reviewed by Kentaro Hara.
+
+        We should start tests after js-test-post.js loading to avoid missing
+        testRunner.waitUntilDone calls.
+
+        * fast/forms/date-multiple-fields/date-multiple-fields-preserve-value-after-history-back.html:
+        Make the outer switch a function to be called window.onload, and stop to
+        remove the iframe because the script in the iframe calls notifyDone.
+        * fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-preserve-value-after-history-back.html:
+        Ditto.
+        * fast/forms/time-multiple-fields/time-multiple-fields-preserve-value-after-history-back.html:
+        Ditto.
+        * fast/forms/week-multiple-fields/week-multiple-fields-preserve-value-after-history-back.html:
+        Ditto.
+        * platform/chromium/TestExpectations:
+        Move the line for
+        week-multiple-fields-preserve-value-after-history-back.html near to
+        others. We don't remove these expectations yet just in case.
+
 2012-11-30  Alexander Pavlov  <[email protected]>
 
         [Chromium] Unreviewed, fast/text/line-initial-and-final-swashes.html missing expectations on XP after r136153.

Modified: trunk/LayoutTests/fast/forms/date-multiple-fields/date-multiple-fields-preserve-value-after-history-back.html (136218 => 136219)


--- trunk/LayoutTests/fast/forms/date-multiple-fields/date-multiple-fields-preserve-value-after-history-back.html	2012-11-30 10:19:32 UTC (rev 136218)
+++ trunk/LayoutTests/fast/forms/date-multiple-fields/date-multiple-fields-preserve-value-after-history-back.html	2012-11-30 10:32:32 UTC (rev 136219)
@@ -7,8 +7,8 @@
 <div id="container">
 <input type="date" id="test1"><br>
 <input type="date" id="test2" min="1999-01-01" max="1999-12-31"><br>
+</div>
 <iframe id="iframe"></iframe>
-</div>
 <script>
 description('Checks input value is preserved after backward and forward');
 if (!window.eventSender)
@@ -65,79 +65,81 @@
     debug('');
 }
 
-switch (pageName) {
-case '?page0':
-    iframe.src = "" + '?page1';
-    break;
+window._onload_ = function() {
+    switch (pageName) {
+    case '?page0':
+        iframe.src = "" + '?page1';
+        break;
 
-case '?page1':
-    switch (parent.state) {
-    case 'direct': {
-        testInput1.value = '12012-10-09';
-        testInput2.focus();
-        keyDown('upArrow'); // -> [01]/dd/yyyy
-        keyDown('\t'); //      -> 01/[dd]/yyyy
-        keyDown('\t'); //      -> 01/dd/[yyyy]
-        keyDown('upArrow'); // -> 01/dd/[1999]
-        var nextUri = location.toString().replace('?page1', '?page2');
-        setTimeout(function () { window.location.href = "" }, 0);
+    case '?page1':
+        switch (parent.state) {
+        case 'direct': {
+            testInput1.value = '12012-10-09';
+            testInput2.focus();
+            keyDown('upArrow'); // -> [01]/dd/yyyy
+            keyDown('\t'); //      -> 01/[dd]/yyyy
+            keyDown('\t'); //      -> 01/dd/[yyyy]
+            keyDown('upArrow'); // -> 01/dd/[1999]
+            var nextUri = location.toString().replace('?page1', '?page2');
+            setTimeout(function () { window.location.href = "" }, 0);
+            break;
+        }
+        case 'backTo1':
+            parent.testCases.push(
+                {
+                    'description' : 'Went back to a page. Checking a form control which had a full value',
+                    'actual' : testInput1.value,
+                    'expected' : '12012-10-09' },
+                {
+                    'description' : 'Went back to a page. Checking a form control which had a partial value',
+                    'actual' : fieldsText(testInput2),
+                    'expected' : '01/dd/1999'
+                });
+            forward('forwardTo2');
+            break;
+        case 'backTo1Second':
+            parent.finishTest();
+            break;
+        default:
+            failed('Unexpected state(' + parent.state + ')');
+            break;
+        }
         break;
-    }
-    case 'backTo1':
-        parent.testCases.push(
-            {
-                'description' : 'Went back to a page. Checking a form control which had a full value',
-                'actual' : testInput1.value,
-                'expected' : '12012-10-09' },
-            {
-                'description' : 'Went back to a page. Checking a form control which had a partial value',
-                'actual' : fieldsText(testInput2),
-                'expected' : '01/dd/1999'
-            });
-        forward('forwardTo2');
+
+    case '?page2':
+        switch (parent.state) {
+        case 'direct':
+            testInput1.value = '0001-11-17';
+            testInput2.focus();
+            keyDown('\t'); //        -> mm/[dd]/yyyy
+            keyDown('downArrow'); // -> mm/[31]/yyyy
+            back('backTo1');
+            break;
+        case 'forwardTo2':
+            parent.testCases.push(
+                {
+                    'description' : 'Went forward to a page. Checking a form control which had a full value',
+                    'actual' : testInput1.value,
+                    'expected' : '0001-11-17'
+                },
+                {
+                    'description' : 'Went forward to a page. Checking a form control which had a partial value',
+                    'actual' : fieldsText(testInput2),
+                    'expected' : 'mm/31/yyyy'
+                });
+            back('backTo1Second');
+            break;
+        default:
+            failed('Unexpected state(' + parent.state + ')');
+            break;
+        }
         break;
-    case 'backTo1Second':
-        parent.finishTest();
-        break;
-    default:
-        failed('Unexpected state(' + parent.state + ')');
-        break;
-    }
-    break;
 
-case '?page2':
-    switch (parent.state) {
-    case 'direct':
-        testInput1.value = '0001-11-17';
-        testInput2.focus();
-        keyDown('\t'); //        -> mm/[dd]/yyyy
-        keyDown('downArrow'); // -> mm/[31]/yyyy
-        back('backTo1');
-        break;
-    case 'forwardTo2':
-        parent.testCases.push(
-            {
-                'description' : 'Went forward to a page. Checking a form control which had a full value',
-                'actual' : testInput1.value,
-                'expected' : '0001-11-17'
-            },
-            {
-                'description' : 'Went forward to a page. Checking a form control which had a partial value',
-                'actual' : fieldsText(testInput2),
-                'expected' : 'mm/31/yyyy'
-            });
-        back('backTo1Second');
-        break;
     default:
-        failed('Unexpected state(' + parent.state + ')');
+        failed('Unexpected page(' + pageName + ')');
         break;
     }
-    break;
-
-default:
-    failed('Unexpected page(' + pageName + ')');
-    break;
-}
+};
 </script>
 <script src=""
 </body>

Modified: trunk/LayoutTests/fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-preserve-value-after-history-back.html (136218 => 136219)


--- trunk/LayoutTests/fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-preserve-value-after-history-back.html	2012-11-30 10:19:32 UTC (rev 136218)
+++ trunk/LayoutTests/fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-preserve-value-after-history-back.html	2012-11-30 10:32:32 UTC (rev 136219)
@@ -7,8 +7,8 @@
 <div id="container">
 <input type="datetime-local" id="test1"><br>
 <input type="datetime-local" id="test2" min="1999-01-01T00:00" max="1999-12-31T23:59"><br>
+</div>
 <iframe id="iframe"></iframe>
-</div>
 <script>
 description('Checks input value is preserved after backward and forward');
 if (!window.eventSender)
@@ -65,89 +65,91 @@
     debug('');
 }
 
-switch (pageName) {
-case '?page0':
-    iframe.src = "" + '?page1';
-    break;
+window._onload_ = function() {
+    switch (pageName) {
+    case '?page0':
+        iframe.src = "" + '?page1';
+        break;
 
-case '?page1':
-    switch (parent.state) {
-    case 'direct': {
-        testInput1.value = '12012-10-09T01:23';
-        testInput2.focus();
-        keyDown('upArrow'); // -> [01]/dd/yyyy --:-- --
-        keyDown('\t'); //      -> 01/[dd]/yyyy --:-- --
-        keyDown('\t'); //      -> 01/dd/[yyyy] --:-- --
-        keyDown('upArrow'); // -> 01/dd/[1999] --:-- --
-        keyDown('\t'); //      -> 01/dd/1999 [--]:-- --
-        keyDown('\t'); //      -> 01/dd/1999 --:[--] --
-        keyDown('upArrow'); // -> 01/dd/1999 --:[00] --
+    case '?page1':
+        switch (parent.state) {
+        case 'direct': {
+            testInput1.value = '12012-10-09T01:23';
+            testInput2.focus();
+            keyDown('upArrow'); // -> [01]/dd/yyyy --:-- --
+            keyDown('\t'); //      -> 01/[dd]/yyyy --:-- --
+            keyDown('\t'); //      -> 01/dd/[yyyy] --:-- --
+            keyDown('upArrow'); // -> 01/dd/[1999] --:-- --
+            keyDown('\t'); //      -> 01/dd/1999 [--]:-- --
+            keyDown('\t'); //      -> 01/dd/1999 --:[--] --
+            keyDown('upArrow'); // -> 01/dd/1999 --:[00] --
 
-        var nextUri = location.toString().replace('?page1', '?page2');
-        setTimeout(function () { window.location.href = "" }, 0);
+            var nextUri = location.toString().replace('?page1', '?page2');
+            setTimeout(function () { window.location.href = "" }, 0);
+            break;
+        }
+        case 'backTo1':
+            parent.testCases.push(
+                {
+                    'description' : 'Went back to a page. Checking a form control which had a full value',
+                    'actual' : testInput1.value,
+                    'expected' : '12012-10-09T01:23' },
+                {
+                    'description' : 'Went back to a page. Checking a form control which had a partial value',
+                    'actual' : fieldsText(testInput2),
+                    'expected' : '01/dd/1999 --:00 --'
+                });
+            forward('forwardTo2');
+            break;
+        case 'backTo1Second':
+            parent.finishTest();
+            break;
+        default:
+            failed('Unexpected state(' + parent.state + ')');
+            break;
+        }
         break;
-    }
-    case 'backTo1':
-        parent.testCases.push(
-            {
-                'description' : 'Went back to a page. Checking a form control which had a full value',
-                'actual' : testInput1.value,
-                'expected' : '12012-10-09T01:23' },
-            {
-                'description' : 'Went back to a page. Checking a form control which had a partial value',
-                'actual' : fieldsText(testInput2),
-                'expected' : '01/dd/1999 --:00 --'
-            });
-        forward('forwardTo2');
+
+    case '?page2':
+        switch (parent.state) {
+        case 'direct':
+            testInput1.value = '0001-11-17T23:55';
+            testInput2.focus();
+            keyDown('\t'); //        -> mm/[dd]/yyyy --:-- --
+            keyDown('downArrow'); // -> mm/[31]/yyyy --:-- --
+            keyDown('\t'); //        -> mm/31/[yyyy] --:-- --
+            keyDown('\t'); //        -> mm/31/yyyy [--]:-- --
+            keyDown('downArrow'); // -> mm/31/yyyy [12]:-- --
+            keyDown('\t'); //        -> mm/31/yyyy 12:[--] --
+            keyDown('\t'); //        -> mm/31/yyyy 12:-- [--]
+            keyDown('downArrow'); // -> mm/31/yyyy 12:-- [PM]
+            back('backTo1');
+            break;
+        case 'forwardTo2':
+            parent.testCases.push(
+                {
+                    'description' : 'Went forward to a page. Checking a form control which had a full value',
+                    'actual' : testInput1.value,
+                    'expected' : '0001-11-17T23:55'
+                },
+                {
+                    'description' : 'Went forward to a page. Checking a form control which had a partial value',
+                    'actual' : fieldsText(testInput2),
+                    'expected' : 'mm/31/yyyy 12:-- PM'
+                });
+            back('backTo1Second');
+            break;
+        default:
+            failed('Unexpected state(' + parent.state + ')');
+            break;
+        }
         break;
-    case 'backTo1Second':
-        parent.finishTest();
-        break;
-    default:
-        failed('Unexpected state(' + parent.state + ')');
-        break;
-    }
-    break;
 
-case '?page2':
-    switch (parent.state) {
-    case 'direct':
-        testInput1.value = '0001-11-17T23:55';
-        testInput2.focus();
-        keyDown('\t'); //        -> mm/[dd]/yyyy --:-- --
-        keyDown('downArrow'); // -> mm/[31]/yyyy --:-- --
-        keyDown('\t'); //        -> mm/31/[yyyy] --:-- --
-        keyDown('\t'); //        -> mm/31/yyyy [--]:-- --
-        keyDown('downArrow'); // -> mm/31/yyyy [12]:-- --
-        keyDown('\t'); //        -> mm/31/yyyy 12:[--] --
-        keyDown('\t'); //        -> mm/31/yyyy 12:-- [--]
-        keyDown('downArrow'); // -> mm/31/yyyy 12:-- [PM]
-        back('backTo1');
-        break;
-    case 'forwardTo2':
-        parent.testCases.push(
-            {
-                'description' : 'Went forward to a page. Checking a form control which had a full value',
-                'actual' : testInput1.value,
-                'expected' : '0001-11-17T23:55'
-            },
-            {
-                'description' : 'Went forward to a page. Checking a form control which had a partial value',
-                'actual' : fieldsText(testInput2),
-                'expected' : 'mm/31/yyyy 12:-- PM'
-            });
-        back('backTo1Second');
-        break;
     default:
-        failed('Unexpected state(' + parent.state + ')');
+        failed('Unexpected page(' + pageName + ')');
         break;
     }
-    break;
-
-default:
-    failed('Unexpected page(' + pageName + ')');
-    break;
-}
+};
 </script>
 <script src=""
 </body>

Modified: trunk/LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-preserve-value-after-history-back.html (136218 => 136219)


--- trunk/LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-preserve-value-after-history-back.html	2012-11-30 10:19:32 UTC (rev 136218)
+++ trunk/LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-preserve-value-after-history-back.html	2012-11-30 10:32:32 UTC (rev 136219)
@@ -7,13 +7,12 @@
 <div id=container>
 <input type=time id=test1><br>
 <input type=time id=test2 step=1><br>
-<iframe id=iframe></iframe>
 </div>
+<iframe id="iframe"></iframe>
 <script>
 description('Checks input value is preserved after backward and forward');
-if (!window.eventSender) {
+if (!window.eventSender)
     debug('Please run within DumpRenderTree');
-}
 window.jsTestIsAsync = true;
 
 var iframe = document.getElementById('iframe');
@@ -70,77 +69,79 @@
     debug('');
 }
 
-switch (pageName) {
-case '?page0':
-    iframe.src = "" + '?page1';
-    break;
-case '?page1':
-    switch (parent.state) {
-    case 'direct': {
-        testInput1.value = '01:01';
-        testInput2.focus();
-        keyDown('upArrow');
-        keyDown('\t');
-        keyDown('\t');
-        keyDown('\t');
-        keyDown('upArrow');
-        var nextUri = location.toString().replace('?page1', '?page2');
-        setTimeout(function () { window.location.href = "" }, 0);
+window._onload_ = function() {
+    switch (pageName) {
+    case '?page0':
+        iframe.src = "" + '?page1';
         break;
-    }
-    case 'backTo1':
-        parent.testCases.push(
-            {
-                'description' : 'Went back to a page. Checking a form control which had a full value',
-                'actual' : testInput1.value,
-                'expected' : '01:01' },
-            {
-                'description' : 'Went back to a page. Checking a form control which had a partial value',
-                'actual' : fieldsText(testInput2),
-                'expected' : '01:--:-- AM'
-            });
-        forward('forwardTo2');
+    case '?page1':
+        switch (parent.state) {
+        case 'direct': {
+            testInput1.value = '01:01';
+            testInput2.focus();
+            keyDown('upArrow');
+            keyDown('\t');
+            keyDown('\t');
+            keyDown('\t');
+            keyDown('upArrow');
+            var nextUri = location.toString().replace('?page1', '?page2');
+            setTimeout(function () { window.location.href = "" }, 0);
+            break;
+        }
+        case 'backTo1':
+            parent.testCases.push(
+                {
+                    'description' : 'Went back to a page. Checking a form control which had a full value',
+                    'actual' : testInput1.value,
+                    'expected' : '01:01' },
+                {
+                    'description' : 'Went back to a page. Checking a form control which had a partial value',
+                    'actual' : fieldsText(testInput2),
+                    'expected' : '01:--:-- AM'
+                });
+            forward('forwardTo2');
+            break;
+        case 'backTo1Second':
+            parent.finishTest();
+            break;
+        default:
+            failed('Unsupported state(' + parent.state + ')');
+            break;
+        }
         break;
-    case 'backTo1Second':
-        parent.finishTest();
+    case '?page2':
+        switch (parent.state) {
+        case 'direct':
+            testInput1.value = '02:02';
+            testInput2.focus();
+            keyDown('\t');
+            keyDown('downArrow');
+            back('backTo1');
+            break;
+        case 'forwardTo2':
+            parent.testCases.push(
+                {
+                    'description' : 'Went forward to a page. Checking a form control which had a full value',
+                    'actual' : testInput1.value,
+                    'expected' : '02:02'
+                },
+                {
+                    'description' : 'Went forward to a page. Checking a form control which had a partial value',
+                    'actual' : fieldsText(testInput2),
+                    'expected' : '--:59:-- --'
+                });
+            back('backTo1Second');
+            break;
+        default:
+            failed('Unsupported state(' + parent.state + ')');
+            break;
+        }
         break;
     default:
-        failed('Unsupported state(' + parent.state + ')');
+        failed('Unsupported page(' + pageName + ')');
         break;
     }
-    break;
-case '?page2':
-    switch (parent.state) {
-    case 'direct':
-        testInput1.value = '02:02';
-        testInput2.focus();
-        keyDown('\t');
-        keyDown('downArrow');
-        back('backTo1');
-        break;
-    case 'forwardTo2':
-        parent.testCases.push(
-            {
-                'description' : 'Went forward to a page. Checking a form control which had a full value',
-                'actual' : testInput1.value,
-                'expected' : '02:02'
-            },
-            {
-                'description' : 'Went forward to a page. Checking a form control which had a partial value',
-                'actual' : fieldsText(testInput2),
-                'expected' : '--:59:-- --'
-            });
-        back('backTo1Second');
-        break;
-    default:
-        failed('Unsupported state(' + parent.state + ')');
-        break;
-    }
-    break;
-default:
-    failed('Unsupported page(' + pageName + ')');
-    break;
-}
+};
 </script>
 <script src=""
 </body>

Modified: trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-preserve-value-after-history-back.html (136218 => 136219)


--- trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-preserve-value-after-history-back.html	2012-11-30 10:19:32 UTC (rev 136218)
+++ trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-preserve-value-after-history-back.html	2012-11-30 10:32:32 UTC (rev 136219)
@@ -7,8 +7,8 @@
 <div id="container">
 <input type="week" id="test1"><br>
 <input type="week" id="test2" min="1999-W01" max="1999-W12"><br>
+</div>
 <iframe id="iframe"></iframe>
-</div>
 <script>
 description('Checks input value is preserved after backward and forward');
 if (!window.eventSender)
@@ -65,76 +65,78 @@
     debug('');
 }
 
-switch (pageName) {
-case '?page0':
-    iframe.src = "" + '?page1';
-    break;
+window._onload_ = function() {
+    switch (pageName) {
+    case '?page0':
+        iframe.src = "" + '?page1';
+        break;
 
-case '?page1':
-    switch (parent.state) {
-    case 'direct': {
-        testInput1.value = '12012-W10';
-        testInput2.focus();
-        keyDown('upArrow'); // -> Week [01], yyyy
-        var nextUri = location.toString().replace('?page1', '?page2');
-        setTimeout(function () { window.location.href = "" }, 0);
+    case '?page1':
+        switch (parent.state) {
+        case 'direct': {
+            testInput1.value = '12012-W10';
+            testInput2.focus();
+            keyDown('upArrow'); // -> Week [01], yyyy
+            var nextUri = location.toString().replace('?page1', '?page2');
+            setTimeout(function () { window.location.href = "" }, 0);
+            break;
+        }
+        case 'backTo1':
+            parent.testCases.push(
+                {
+                    'description' : 'Went back to a page. Checking a form control which had a full value',
+                    'actual' : testInput1.value,
+                    'expected' : '12012-W10' },
+                {
+                    'description' : 'Went back to a page. Checking a form control which had a partial value',
+                    'actual' : fieldsText(testInput2),
+                    'expected' : 'Week 01, ----'
+                });
+            forward('forwardTo2');
+            break;
+        case 'backTo1Second':
+            parent.finishTest();
+            break;
+        default:
+            failed('Unexpected state(' + parent.state + ')');
+            break;
+        }
         break;
-    }
-    case 'backTo1':
-        parent.testCases.push(
-            {
-                'description' : 'Went back to a page. Checking a form control which had a full value',
-                'actual' : testInput1.value,
-                'expected' : '12012-W10' },
-            {
-                'description' : 'Went back to a page. Checking a form control which had a partial value',
-                'actual' : fieldsText(testInput2),
-                'expected' : 'Week 01, ----'
-            });
-        forward('forwardTo2');
+
+    case '?page2':
+        switch (parent.state) {
+        case 'direct':
+            testInput1.value = '0001-W11';
+            testInput2.focus();
+            keyDown('\t'); //        -> Week ww, [yyyy]
+            keyDown('downArrow'); // -> Week ww, [1999]
+            back('backTo1');
+            break;
+        case 'forwardTo2':
+            parent.testCases.push(
+                {
+                    'description' : 'Went forward to a page. Checking a form control which had a full value',
+                    'actual' : testInput1.value,
+                    'expected' : '0001-W11'
+                },
+                {
+                    'description' : 'Went forward to a page. Checking a form control which had a partial value',
+                    'actual' : fieldsText(testInput2),
+                    'expected' : 'Week --, 1999'
+                });
+            back('backTo1Second');
+            break;
+        default:
+            failed('Unexpected state(' + parent.state + ')');
+            break;
+        }
         break;
-    case 'backTo1Second':
-        parent.finishTest();
-        break;
-    default:
-        failed('Unexpected state(' + parent.state + ')');
-        break;
-    }
-    break;
 
-case '?page2':
-    switch (parent.state) {
-    case 'direct':
-        testInput1.value = '0001-W11';
-        testInput2.focus();
-        keyDown('\t'); //        -> Week ww, [yyyy]
-        keyDown('downArrow'); // -> Week ww, [1999]
-        back('backTo1');
-        break;
-    case 'forwardTo2':
-        parent.testCases.push(
-            {
-                'description' : 'Went forward to a page. Checking a form control which had a full value',
-                'actual' : testInput1.value,
-                'expected' : '0001-W11'
-            },
-            {
-                'description' : 'Went forward to a page. Checking a form control which had a partial value',
-                'actual' : fieldsText(testInput2),
-                'expected' : 'Week --, 1999'
-            });
-        back('backTo1Second');
-        break;
     default:
-        failed('Unexpected state(' + parent.state + ')');
+        failed('Unexpected page(' + pageName + ')');
         break;
     }
-    break;
-
-default:
-    failed('Unexpected page(' + pageName + ')');
-    break;
-}
+};
 </script>
 <script src=""
 </body>

Modified: trunk/LayoutTests/platform/chromium/TestExpectations (136218 => 136219)


--- trunk/LayoutTests/platform/chromium/TestExpectations	2012-11-30 10:19:32 UTC (rev 136218)
+++ trunk/LayoutTests/platform/chromium/TestExpectations	2012-11-30 10:32:32 UTC (rev 136219)
@@ -2855,6 +2855,7 @@
 webkit.org/b/96720 fast/forms/time-multiple-fields/time-multiple-fields-preserve-value-after-history-back.html [ Pass Timeout ]
 webkit.org/b/96720 fast/forms/date-multiple-fields/date-multiple-fields-preserve-value-after-history-back.html [ Pass Timeout ]
 webkit.org/b/96720 fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-preserve-value-after-history-back.html [ Pass Timeout ]
+webkit.org/b/96720 fast/forms/week-multiple-fields/week-multiple-fields-preserve-value-after-history-back.html [ Pass Timeout ]
 webkit.org/b/98906 platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-mouse-operations.html [ Pass Failure ]
 
 # New test added in r87324
@@ -4214,7 +4215,6 @@
 webkit.org/b/103148 [ Lion ] fast/frames/iframe-scrolling-attribute.html [ Pass ImageOnlyFailure ]
 webkit.org/b/103148 [ Lion ] fast/table/border-collapsing/004-vertical.html [ Pass ImageOnlyFailure ]
 webkit.org/b/103149 [ Lion SnowLeopard Win7 Debug ] fast/events/stopPropagation-submit.html [ Pass Failure ]
-webkit.org/b/103152 [ Mac Win ] fast/forms/week-multiple-fields/week-multiple-fields-preserve-value-after-history-back.html [ Pass Timeout ]
 webkit.org/b/103154 [ Win7 SnowLeopard Lion Linux Debug ] fast/frames/frame-unload-crash2.html [ Pass Timeout ]
 webkit.org/b/103148 [ Lion ] fast/text/large-text-composed-char.html [ Pass ImageOnlyFailure ]
 webkit.org/b/103148 [ Lion ] fast/text/text-letter-spacing.html [ Pass ImageOnlyFailure ]
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to