Closed
Bug 403106
Opened 16 years ago
Closed 16 years ago
pageloader needs to timeout on failure to load.
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: anodelman, Assigned: anodelman)
References
Details
Attachments
(1 file, 1 obsolete file)
5.61 KB,
patch
|
vlad
:
review+
|
Details | Diff | Splinter Review |
If a page fails to load (through throwing an error, or just endlessly blocking) the pageloader will block indefinitely. There needs to be a means of stopping the test and providing a reasonable error message if a page exceeds a given timeout.
Assignee | ||
Comment 1•16 years ago
|
||
Added support for -tptimeout and -tpnoisy. -tptimeout allows you to set a timeout for each page loaded, if the timeout is exceeded the test is stopped. -tpnoisy drops the name of the last loaded page to the console - this can be handy for tracking which page has caused a failure in a test.
Comment on attachment 288770 [details] [diff] [review] add -tptimeout and -tpnoisy options to pageloader Just some minor stuff: - Just have noisy always be on, no need for a separate flag. If something is timing out, I can't imagine why we wouldn't want to know what :) - change |var t| to be something more descriptive, like |var pageTimeoutTimer| or something; single-letter global variables are bad :) Other than that, the patch looks fine
Attachment #288770 -
Flags: review?(vladimir) → review-
Assignee | ||
Comment 3•16 years ago
|
||
Changed to have a better name for the global variable. I want to keep -tpnoisy separate from -tptimeout. You will always be notified if a page timeouts, what tpnoisy does is dump the name of every page after is successfully loads. I'd prefer to be able to nor be noisy all the time.
Attachment #288770 -
Attachment is obsolete: true
Attachment #288932 -
Flags: review?(rcampbell)
Assignee | ||
Updated•16 years ago
|
Attachment #288932 -
Flags: review?(rcampbell) → review?(vladimir)
Comment on attachment 288932 [details] [diff] [review] add -tptimeout and -tpnoisy options to pageloader #2 Oh, ok; that makes sense for noisy, then. Looks fine.
Attachment #288932 -
Flags: review?(vladimir) → review+
Assignee | ||
Comment 5•16 years ago
|
||
Checking in pageloader.js; /cvsroot/mozilla/layout/tools/pageloader/pageloader.js,v <-- pageloader.js new revision: 1.8; previous revision: 1.7 done Checking in tp-cmdline.js; /cvsroot/mozilla/layout/tools/pageloader/tp-cmdline.js,v <-- tp-cmdline.js new revision: 1.3; previous revision: 1.2 done
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 6•15 years ago
|
||
Mass move of Core:Testing bugs to mozilla.org:Release Engineering:Talos. Filter on RelEngTalosMassMove to ignore.
Component: Testing → Release Engineering: Talos
Product: Core → mozilla.org
QA Contact: testing → release
Version: unspecified → other
Updated•10 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•