Closed
Bug 800394
Opened 14 years ago
Closed 14 years ago
The safebrowsing tests are fragile if SafeBrowsing is not yet initialized
Categories
(Toolkit :: Safe Browsing, defect)
Tracking
()
RESOLVED
FIXED
Firefox 19
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file)
|
1.15 KB,
patch
|
gcp
:
review+
|
Details | Diff | Splinter Review |
There's nothing in the test to ensure that SafeBrowsing is initialized in time, so for example running just the browser/components/safebrowsing directory always fails.
| Assignee | ||
Comment 1•14 years ago
|
||
Comment 2•14 years ago
|
||
Comment on attachment 670410 [details] [diff] [review]
Patch (v1)
Review of attachment 670410 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good to me, based on the analysis here: https://bugzilla.mozilla.org/show_bug.cgi?id=741808#c17
With a fresh profile there might be a race to get the test database initialized in under 2 seconds.
Attachment #670410 -
Flags: review?(gpascutto) → review+
| Assignee | ||
Comment 3•14 years ago
|
||
Target Milestone: --- → Firefox 19
Comment 4•14 years ago
|
||
browser_bug400731.js still failing frequently:
https://tbpl.mozilla.org/php/getParsedLog.php?id=16021280&tree=Mozilla-Inbound
Blocks: 799526
Whiteboard: [leave open]
Comment 5•14 years ago
|
||
| Assignee | ||
Comment 6•14 years ago
|
||
I'm not sure why this was not closed when the patch landed. This patch fixed these tests to have any chance of succeeding when run locally. The tests are still flaky, but that should be the subject of bug 800854.
| Assignee | ||
Updated•14 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [leave open]
Updated•12 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•