Changeset 217312 in webkit
- Timestamp:
- May 23, 2017, 5:27:24 PM (8 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r217308 r217312 1 2017-05-23 Chris Dumez <cdumez@apple.com> 2 3 Some async tests ignore jsTestIsAsync when ported from js-test-pre.js / js-test-post.js to js-test.js 4 https://bugs.webkit.org/show_bug.cgi?id=172523 5 6 Reviewed by Ryosuke Niwa. 7 8 * TestExpectations: 9 This test used to be flaky because jsTestIsAsync was ignored. It now consistently times out. 10 11 * fast/dom/script-charset-update.html: 12 Port test to js-test.js instead of js-test-pre.js / js-test-post.js now that it works. 13 14 * fast/mediacapturefromelement/CanvasCaptureMediaStream-webgl-events-expected.txt: 15 Rebaseline test now that it actually runs to the end. 16 17 * platform/ios-wk2/TestExpectations: 18 * platform/mac-wk2/TestExpectations: 19 Remove expectation for a test that is now skipped in root TestExpectations file. 20 21 * resources/js-test.js: 22 Call testRunner.waitUntilDone() in the DOMContentLoader event listener if jsTestIsAsync is already 23 set then, instead of waiting for the load event listener to do so. This is needed because some 24 tests may decide to complete *before* the load event has fired, such as the test updated in this 25 patch. We still need to call testRunner.waitUntilDone() in the load event listener as well because 26 some tests only set jsTestIsAsync in a load event handler. 27 1 28 2017-05-23 Ryan Haddad <ryanhaddad@apple.com> 2 29 -
trunk/LayoutTests/TestExpectations
r217305 r217312 140 140 # The test frequently times out, and is just unsuccessful at detecting incorrect behavior when it passes. 141 141 webkit.org/b/72698 media/audio-garbage-collect.html [ Skip ] 142 143 # This test times out. 144 webkit.org/b/172527 fast/mediacapturefromelement/CanvasCaptureMediaStream-request-frame-events.html [ Skip ] 142 145 143 146 webkit.org/b/53990 fast/forms/search-event-delay.html [ Pass Failure ] -
trunk/LayoutTests/fast/dom/script-charset-update.html
r217300 r217312 3 3 <head> 4 4 <meta charset="utf-8"> 5 <script src="../../resources/js-test -pre.js"></script>5 <script src="../../resources/js-test.js"></script> 6 6 </head> 7 7 <body> … … 31 31 document.body.appendChild(s); 32 32 </script> 33 <script src="../../resources/js-test-post.js"></script>34 33 </body> 35 34 </html> -
trunk/LayoutTests/fast/mediacapturefromelement/CanvasCaptureMediaStream-webgl-events-expected.txt
r213598 r217312 1 CONSOLE MESSAGE: line 33: Turning drawing buffer preservation for the WebGL canvas being captured 1 2 Exercises the potential events on CanvasCaptureMediaStream. 2 3 … … 8 9 PASS track.readyState is "live" 9 10 PASS Plugged stream to video tag. 11 PASS Video play callback succeeded. 12 PASS Drawing to canvas. 13 PASS Video canplaythrough callback succeeded. 14 PASS successfullyParsed is true 10 15 16 TEST COMPLETE 17 -
trunk/LayoutTests/platform/ios-wk2/TestExpectations
r217300 r217312 1939 1939 webkit.org/b/169558 fast/history/ios/history-scroll-restoration.html [ Pass Failure ] 1940 1940 1941 webkit.org/b/169719 fast/mediacapturefromelement/CanvasCaptureMediaStream-request-frame-events.html [ Pass Failure ]1942 1943 1941 webkit.org/b/171301 [ Release ] http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-invalidnonce.html [ Pass Timeout ] 1944 1942 -
trunk/LayoutTests/platform/mac-wk2/TestExpectations
r217300 r217312 636 636 webkit.org/b/169640 imported/w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-javascript.html [ Failure ] 637 637 638 webkit.org/b/169719 fast/mediacapturefromelement/CanvasCaptureMediaStream-request-frame-events.html [ Pass Failure ]639 640 638 webkit.org/b/170203 fast/images/animated-image-different-dest-size.html [ Pass ImageOnlyFailure ] 641 639 -
trunk/LayoutTests/resources/js-test.js
r217243 r217312 110 110 if (!isWorker()) { 111 111 window.addEventListener('DOMContentLoaded', function() { 112 // Call waitUntilDone() as early as possible otherwise some tests may complete before 113 // the load event has fired. 114 if (window.jsTestIsAsync && window.testRunner) 115 testRunner.waitUntilDone(); 116 112 117 // Some tests set jsTestIsAsync in load event handler. Adding the listener late 113 118 // makes handleTestFinished() run after the test handles load events.
Note:
See TracChangeset
for help on using the changeset viewer.