Changeset 56928 in webkit
- Timestamp:
- Apr 1, 2010 12:23:38 PM (14 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r56926 r56928 1 2010-04-01 Julien Chaffraix <jchaffraix@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 Part of: 6 REGRESSION(56394): 7 http/tests/xmlhttprequest/xmlhttprequest-50ms-download-dispatch.html 8 fails on Tiger 9 https://bugs.webkit.org/show_bug.cgi?id=36934 10 11 * http/tests/xmlhttprequest/xmlhttprequest-50ms-download-dispatch.html: 12 Add more explicit failing messages to help find out what is failing. 13 1 14 2010-04-01 Eric Seidel <eric@webkit.org> 2 15 -
trunk/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-50ms-download-dispatch.html
r56394 r56928 21 21 } 22 22 23 function test(iteration, delay, compare )23 function test(iteration, delay, compare, testDescription) 24 24 { 25 25 var count = 0; … … 28 28 ++count; 29 29 if (sawReadyStateDONE) 30 log("FAILED: saw 'progress' event after readystate 'DONE' event .");30 log("FAILED: saw 'progress' event after readystate 'DONE' event for " + testDescription); 31 31 } 32 32 … … 35 35 sawReadyStateDONE = true; 36 36 var passed = compare(count, iteration); 37 log(passed ? "PASSED" : "FAILED (count was " + count + ") ");37 log(passed ? "PASSED" : "FAILED (count was " + count + ") for " + testDescription); 38 38 } 39 39 } … … 46 46 } 47 47 48 try { 48 49 // Number of chunks to send, delay between chunks 49 50 var strictTests = [ 2, 80, … … 55 56 } 56 57 58 var i = 0; 59 while (strictTests.length) { 60 var iteration = strictTests.shift(); 61 var delay = strictTests.shift(); 62 test(iteration, delay, compareStrict, "strict test " + ++i); 63 } 64 65 // Number of chunks to send, delay between chunks 57 66 var throttledTests = [ 5, 20, 58 67 6, 30 ]; … … 62 71 } 63 72 64 try { 65 while (strictTests.length) { 66 var iteration = strictTests.shift(); 67 var delay = strictTests.shift(); 68 test(iteration, delay, compareStrict); 69 } 73 i = 0; 70 74 while(throttledTests.length) { 71 75 var iteration = throttledTests.shift(); 72 76 var delay = throttledTests.shift(); 73 test(iteration, delay, compareThrottled );77 test(iteration, delay, compareThrottled, "throttled test " + ++i); 74 78 } 75 79 } catch(e) {
Note: See TracChangeset
for help on using the changeset viewer.