Closed
Bug 482073
Opened 15 years ago
Closed 15 years ago
test_classifier.html issues resulting in intermittent failures
Categories
(Toolkit :: Safe Browsing, defect)
Toolkit
Safe Browsing
Tracking
()
RESOLVED
FIXED
Firefox 3.6a1
People
(Reporter: Waldo, Assigned: dcamp)
References
()
Details
(Keywords: fixed1.9.1, intermittent-failure)
Attachments
(1 file, 1 obsolete file)
5.21 KB,
patch
|
Details | Diff | Splinter Review |
I think the iframe in this test needs to be *before* the doUpdate() call, because if the setTimeout isn't reached, the iframe hasn't been processed yet (so the test fails when getElementById returns null). Second, and off-topic enough that I'd usually file a separate bug except my connection's horrible, I'd prefer that malware.com:80 be malware.example.com:80 (assuming the malware distinction can be added to subdomains without tainting parent domains) to avoid going outside the reserved domain names in RFC (something), but at least that's not a failure issue.
Assignee | ||
Comment 1•15 years ago
|
||
Just moved that update to onload. Yeah, malware.com->malware.example.com makes sense.
Assignee: nobody → dcamp
Attachment #366446 -
Flags: review?(jwalden+bmo)
Reporter | ||
Updated•15 years ago
|
Attachment #366446 -
Flags: review?(jwalden+bmo) → review+
Reporter | ||
Comment 2•15 years ago
|
||
Comment on attachment 366446 [details] [diff] [review] fix Looks good except for this (not noticed until after filing the bug): >diff -r be848dc25e6c toolkit/components/url-classifier/tests/mochitest/classifierFrame.html > <!-- Try loading from a malware css URI >-<link rel="stylesheet" type="text/css" href="http://malware.com/tests/toolkit/components/url-classifier/tests/mochitest/evil.css"></link> >+<link rel="stylesheet" type="text/css" href="http://malware.example.com/tests/toolkit/components/url-classifier/tests/mochitest/evil.css"></link> That comment's not closed, which messes with doing this test: > > <!-- Try loading a marked-as-malware css through an @import from a clean URI --> > <link rel="stylesheet" type="text/css" href="import.css"></link>
Assignee | ||
Comment 3•15 years ago
|
||
Attachment #366446 -
Attachment is obsolete: true
Assignee | ||
Comment 4•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/f4e4e522ebcd
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 6•15 years ago
|
||
Landed this on the branch: http://hg.mozilla.org/releases/mozilla-1.9.1/rev/c56f528026af
Keywords: fixed1.9.1
Updated•15 years ago
|
Blocks: 438871
Flags: in-testsuite+
Whiteboard: [orange]
Target Milestone: --- → Firefox 3.6a1
Version: unspecified → Trunk
Updated•12 years ago
|
Keywords: intermittent-failure
Updated•12 years ago
|
Whiteboard: [orange]
Updated•10 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•