Changeset 232409 in webkit
- Timestamp:
- Jun 1, 2018 12:53:56 PM (6 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r232404 r232409 1 2018-06-01 Youenn Fablet <youenn@apple.com> 2 3 http/tests/appcache/deferred-events.html is flaky due to console log messages 4 https://bugs.webkit.org/show_bug.cgi?id=185543 5 6 Reviewed by Chris Dumez. 7 8 Update the test to wait for the onerror callback. 9 At that time, all console logging should be done. 10 11 * http/tests/appcache/deferred-events-expected.txt: 12 * http/tests/appcache/deferred-events.html: 13 1 14 2018-05-29 Yusuke Suzuki <utatane.tea@gmail.com> 2 15 -
trunk/LayoutTests/http/tests/appcache/deferred-events-expected.txt
r231499 r232409 2 2 CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response. 3 3 Test that AppicationCache events are deferred until after onload has been fired. 4 SUCCESS4 PASS -
trunk/LayoutTests/http/tests/appcache/deferred-events.html
r120167 r232409 3 3 <script type="text/javascript"> 4 4 var onloadHasBeenCalled = false; 5 var oncheckingAfterOnload = false; 5 6 6 7 if (window.testRunner) { … … 10 11 11 12 window.applicationCache.onchecking = function() { 12 if (onloadHasBeenCalled) 13 document.getElementById('result').innerHTML = "SUCCESS" 13 oncheckingAfterOnload = onloadHasBeenCalled; 14 } 15 16 window.applicationCache.onerror = function() { 17 document.getElementById('result').innerHTML = oncheckingAfterOnload ? "PASS" : "FAIL"; 18 if (window.testRunner) 19 testRunner.notifyDone(); 20 } 21 22 window.applicationCache.oncached = function() { 23 document.getElementById('result').innerHTML = "FAIL: oncached event received"; 14 24 if (window.testRunner) 15 25 testRunner.notifyDone();
Note: See TracChangeset
for help on using the changeset viewer.