Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(284)

Side by Side Diff: LayoutTests/resources/testharness.js

Issue 213283002: Make the default testharness.js timeout longer than the LayoutTests timeout (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/http/tests/w3c/resources/testharness.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 Distributed under both the W3C Test Suite License [1] and the W3C 2 Distributed under both the W3C Test Suite License [1] and the W3C
3 3-clause BSD License [2]. To contribute to a W3C Test Suite, see the 3 3-clause BSD License [2]. To contribute to a W3C Test Suite, see the
4 policies and contribution forms [3]. 4 policies and contribution forms [3].
5 5
6 [1] http://www.w3.org/Consortium/Legal/2008/04-testsuite-license 6 [1] http://www.w3.org/Consortium/Legal/2008/04-testsuite-license
7 [2] http://www.w3.org/Consortium/Legal/2008/03-bsd-license 7 [2] http://www.w3.org/Consortium/Legal/2008/03-bsd-license
8 [3] http://www.w3.org/2004/10/27-testcases 8 [3] http://www.w3.org/2004/10/27-testcases
9 */ 9 */
10 10
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 * asserts that object has an own property property_name 348 * asserts that object has an own property property_name
349 * 349 *
350 * assert_not_exists(object, property_name, description) 350 * assert_not_exists(object, property_name, description)
351 * *** deprecated *** 351 * *** deprecated ***
352 * assert that object does not have own property property_name 352 * assert that object does not have own property property_name
353 */ 353 */
354 354
355 (function () 355 (function ()
356 { 356 {
357 var debug = false; 357 var debug = false;
358 // default timeout is 5 seconds, test can override if needed 358 // default timeout is 5 minutes, to let LayoutTests timeout first
359 var settings = { 359 var settings = {
360 output:true, 360 output:true,
361 timeout:5000, 361 timeout:300000,
362 test_timeout:2000 362 test_timeout:300000
363 }; 363 };
364 364
365 var xhtml_ns = "http://www.w3.org/1999/xhtml"; 365 var xhtml_ns = "http://www.w3.org/1999/xhtml";
366 366
367 // script_prefix is used by Output.prototype.show_results() to figure out 367 // script_prefix is used by Output.prototype.show_results() to figure out
368 // where to get testharness.css from. It's enclosed in an extra closure to 368 // where to get testharness.css from. It's enclosed in an extra closure to
369 // not pollute the library's namespace with variables like "src". 369 // not pollute the library's namespace with variables like "src".
370 var script_prefix = null; 370 var script_prefix = null;
371 (function () 371 (function ()
372 { 372 {
(...skipping 1851 matching lines...) Expand 10 before | Expand all | Expand 10 after
2224 } 2224 }
2225 catch(e) { 2225 catch(e) {
2226 // This is the case where postMessage isn't supported AND accessing a 2226 // This is the case where postMessage isn't supported AND accessing a
2227 // window property across origins throws (e.g. old Firefox browser). 2227 // window property across origins throws (e.g. old Firefox browser).
2228 supports = false; 2228 supports = false;
2229 } 2229 }
2230 return supports; 2230 return supports;
2231 } 2231 }
2232 })(); 2232 })();
2233 // vim: set expandtab shiftwidth=4 tabstop=4: 2233 // vim: set expandtab shiftwidth=4 tabstop=4:
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/w3c/resources/testharness.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698