Changeset 126384 in webkit
- Timestamp:
- Aug 22, 2012 7:33:37 PM (12 years ago)
- Location:
- branches/safari-536.26-branch/LayoutTests
- Files:
-
- 1 added
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-536.26-branch/LayoutTests/ChangeLog
r126173 r126384 1 2012-08-22 Mark Lam <mark.lam@apple.com> 2 3 Fix some tests on safari-536.26-branch. 4 https://bugs.webkit.org/show_bug.cgi?id=94759 5 6 Reviewed by Mark Rowe. 7 8 * animations/animation-shorthand-name-order.html: 9 * compositing/repaint/newly-composited-on-scroll.html: 10 * editing/execCommand/crash-extend-selection-forward.html: 11 * fast/events/drag-display-none-element.html: 12 * fast/forms/autocomplete-off-with-default-value-does-not-clear.html: 13 * fast/forms/hidden/change-type-to-hidden-after-updating-value.html: 14 * fast/table/auto-table-layout-colgroup-removal-crash.html: 15 * fast/text/title-crash-expected.txt: Added. 16 * http/tests/security/video-poster-cross-origin-crash.html: 17 * platform/mac/editing/spelling/autocorrection-blockquote-crash-expected.txt: 18 * plugins/npruntime/overrides-all-properties.html: 19 1 20 2012-08-20 Mark Rowe <mrowe@apple.com> 2 21 -
branches/safari-536.26-branch/LayoutTests/animations/animation-shorthand-name-order.html
r124138 r126384 122 122 runIndividualTest(numTestsComplete); 123 123 else { 124 if (window. testRunner)125 testRunner.notifyDone();124 if (window.layoutTestController) 125 layoutTestController.notifyDone(); 126 126 } 127 127 }, 0); … … 129 129 } 130 130 131 if (window. testRunner) {132 testRunner.dumpAsText();133 testRunner.waitUntilDone();131 if (window.layoutTestController) { 132 layoutTestController.dumpAsText(); 133 layoutTestController.waitUntilDone(); 134 134 } 135 135 -
branches/safari-536.26-branch/LayoutTests/compositing/repaint/newly-composited-on-scroll.html
r125459 r126384 57 57 58 58 <script> 59 if (window. testRunner) {60 testRunner.dumpAsText(true);61 testRunner.waitUntilDone();59 if (window.layoutTestController) { 60 layoutTestController.dumpAsText(true); 61 layoutTestController.waitUntilDone(); 62 62 } 63 63 64 64 function repaintTest() { 65 if (window. testRunner)66 testRunner.display();65 if (window.layoutTestController) 66 layoutTestController.display(); 67 67 68 68 document.getElementById('overflow').scrollTop = 30; 69 if (window. testRunner)70 testRunner.display();69 if (window.layoutTestController) 70 layoutTestController.display(); 71 71 72 72 window.setTimeout(function() { 73 73 document.getElementById('overflow').scrollTop = 50; 74 testRunner.notifyDone();74 layoutTestController.notifyDone(); 75 75 }, 0); 76 76 } -
branches/safari-536.26-branch/LayoutTests/editing/execCommand/crash-extend-selection-forward.html
r124657 r126384 4 4 <script src=../editing.js></script> 5 5 <script> 6 if (window. testRunner) {7 testRunner.dumpAsText();8 testRunner.waitUntilDone();6 if (window.layoutTestController) { 7 layoutTestController.dumpAsText(); 8 layoutTestController.waitUntilDone(); 9 9 } 10 10 … … 16 16 17 17 test1.innerHTML = "PASS. WebKit didn't crash."; 18 if (window. testRunner)19 testRunner.notifyDone();18 if (window.layoutTestController) 19 layoutTestController.notifyDone(); 20 20 } 21 21 </script> -
branches/safari-536.26-branch/LayoutTests/fast/events/drag-display-none-element.html
r124534 r126384 13 13 var dragme = document.getElementById('dragme'); 14 14 dragme.addEventListener('dragend', function () { 15 if (window. testRunner)16 testRunner.notifyDone();15 if (window.layoutTestController) 16 layoutTestController.notifyDone(); 17 17 document.getElementById('console').appendChild(document.createTextNode('PASS')); 18 18 }); 19 19 20 if (!window. testRunner)20 if (!window.layoutTestController) 21 21 return; 22 22 23 testRunner.waitUntilDone();24 testRunner.dumpAsText();23 layoutTestController.waitUntilDone(); 24 layoutTestController.dumpAsText(); 25 25 26 26 eventSender.mouseMoveTo(dragme.offsetLeft + dragme.offsetWidth / 2, dragme.offsetTop + dragme.offsetHeight / 2); -
branches/safari-536.26-branch/LayoutTests/fast/forms/autocomplete-off-with-default-value-does-not-clear.html
r125327 r126384 1 1 <script> 2 2 3 if (window. testRunner) {4 testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);5 testRunner.dumpAsText();6 testRunner.waitUntilDone();3 if (window.layoutTestController) { 4 layoutTestController.overridePreference("WebKitUsesPageCachePreferenceKey", 1); 5 layoutTestController.dumpAsText(); 6 layoutTestController.waitUntilDone(); 7 7 } 8 8 … … 22 22 { 23 23 document.getElementById("logger").innerText = document.getElementById("testInput").value; 24 if (window. testRunner)25 testRunner.notifyDone();24 if (window.layoutTestController) 25 layoutTestController.notifyDone(); 26 26 } 27 27 -
branches/safari-536.26-branch/LayoutTests/fast/forms/hidden/change-type-to-hidden-after-updating-value.html
r124656 r126384 1 1 <input type="text" id="input1"> 2 2 <script> 3 if (window. testRunner)4 testRunner.dumpAsText();3 if (window.layoutTestController) 4 layoutTestController.dumpAsText(); 5 5 document.getElementById('input1').value = 'value'; 6 6 document.getElementById('input1').type = 'hidden'; -
branches/safari-536.26-branch/LayoutTests/fast/table/auto-table-layout-colgroup-removal-crash.html
r124532 r126384 9 9 </table> 10 10 <script> 11 if (window. testRunner)12 testRunner.dumpAsText();11 if (window.layoutTestController) 12 layoutTestController.dumpAsText(); 13 13 14 14 document.body.offsetTop; -
branches/safari-536.26-branch/LayoutTests/http/tests/security/video-poster-cross-origin-crash.html
r125134 r126384 1 1 <sub id=tCF1></sub>>>><button hidden=false id=tCF7>><video crossorigin="" poster="http://localhost:8080/misc/resources/compass.jpg">><style> 2 2 .c29:nth-child(1814762996n + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999) { -webkit-locale: "zh_CN";</style><script> 3 if (window. testRunner) {4 testRunner.dumpAsText();5 testRunner.waitUntilDone();3 if (window.layoutTestController) { 4 layoutTestController.dumpAsText(); 5 layoutTestController.waitUntilDone(); 6 6 } 7 7 docElement = document.body ? document.body : document.documentElement; … … 19 19 window.scrollBy(-484, -400); 20 20 try { tCF7.innerText = tCF44.textContent; } catch(e) {} 21 if (window. testRunner)22 testRunner.notifyDone();21 if (window.layoutTestController) 22 layoutTestController.notifyDone(); 23 23 }</script> -
branches/safari-536.26-branch/LayoutTests/platform/mac/editing/spelling/autocorrection-blockquote-crash-expected.txt
r124117 r126384 1 This test checks that markers are correct when auto correcting in the blockquote. If you type "n" and " ", there should be blue dots under information, but is off by one. 1 This test checks that markers are correct when auto correcting in the blockquote. If you type "n" and " ", there should be blue dots under information, but is off by one. 2 Note, this test can fail due to user specific spell checking data. If the user has previously dismissed 'notational' as the correct spelling of 'notationl' several times, the spell checker will not provide 'information' as a suggestion anymore. To fix this, remove all files in ~/Library/Spelling. 2 3 3 4 PASS internals.hasAutocorrectedMarker(document, 0, 1) is true -
branches/safari-536.26-branch/LayoutTests/plugins/npruntime/overrides-all-properties.html
r125127 r126384 2 2 3 3 <script> 4 if (window. testRunner) {5 testRunner.dumpAsText();6 testRunner.waitUntilDone();4 if (window.layoutTestController) { 5 layoutTestController.dumpAsText(); 6 layoutTestController.waitUntilDone(); 7 7 } 8 8 9 9 function runTest() { 10 if (!window. testRunner) {10 if (!window.layoutTestController) { 11 11 log("This test can only be run under WebKit's testRunner environment"); 12 12 return; 13 13 } 14 14 15 testRunner.evaluateScriptInIsolatedWorld(0, " \15 layoutTestController.evaluateScriptInIsolatedWorld(0, " \ 16 16 function test(msg, expected) \ 17 17 { \ … … 51 51 "); 52 52 53 if (window. testRunner)54 testRunner.notifyDone();53 if (window.layoutTestController) 54 layoutTestController.notifyDone(); 55 55 } 56 56 </script>
Note: See TracChangeset
for help on using the changeset viewer.