Changeset 122758 in webkit
- Timestamp:
- Jul 16, 2012 1:48:40 PM (12 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r122755 r122758 1 2012-07-16 Vincent Scheib <scheib@chromium.org> 2 3 Fix Layout Test pointer-lock/locked-element-removed-from-dom.html flakiness. 4 https://bugs.webkit.org/show_bug.cgi?id=91373 5 6 Reviewed by Adrienne Walker. 7 8 pointer-lock-test-harness corrected to no longer silently allow too many 9 asynchronous doNextStep calls in a test. The locked-element-removed-from-dom test 10 generated too many events and incorrectly exited the test early. 11 12 * platform/chromium/TestExpectations: 13 Re-enabled locked-element-removed-from-dom test.html 14 * pointer-lock/locked-element-removed-from-dom.html: 15 Absorb extra doNextStep. 16 * pointer-lock/resources/pointer-lock-test-harness.js: 17 (doNextStep.setTimeout): 18 Fail tests that call doNextStep too many times. 19 1 20 2012-07-16 Florin Malita <fmalita@chromium.org> 2 21 -
trunk/LayoutTests/platform/chromium/TestExpectations
r122752 r122758 3729 3729 BUGWK90980 WIN : fast/forms/textarea/textarea-state-restore.html = PASS TIMEOUT 3730 3730 3731 // Flaky since creation in 1226263732 BUGWK91373 WIN : pointer-lock/locked-element-removed-from-dom.html = PASS TEXT3733 3734 3731 // Started crashing after 122286 3735 3732 BUGWK91133 WIN : storage/indexeddb/constants.html = PASS CRASH -
trunk/LayoutTests/pointer-lock/locked-element-removed-from-dom.html
r122626 r122758 43 43 // doNextStep called by event handler. 44 44 }, 45 function () { 46 // Absorb an extra doNextStep() from previous event handlers. 47 }, 45 48 ]; 46 49 doNextStep(); -
trunk/LayoutTests/pointer-lock/resources/pointer-lock-test-harness.js
r122158 r122758 13 13 currentStep = 0; 14 14 15 if (currentStep < todo.length) 16 setTimeout(function () { todo[currentStep++](); }, 0); 17 else if (currentStep++ == todo.length) 18 setTimeout(function () { finishJSTest(); }, 0); 15 setTimeout(function () { 16 var thisStep = currentStep++; 17 if (thisStep < todo.length) 18 todo[thisStep](); 19 else if (thisStep == todo.length) 20 setTimeout(function () { finishJSTest(); }, 0); // Deferred so that excessive doNextStep calls will be observed. 21 else 22 testFailed("doNextStep called too many times."); 23 }, 0); 19 24 } 20 25
Note: See TracChangeset
for help on using the changeset viewer.