Closed
Bug 555519
Opened 15 years ago
Closed 14 years ago
xpcshell: test_doSetAndLoadFaviconForPage_failures.js randomly succeeds
Categories
(Toolkit :: Places, defect)
Toolkit
Places
Tracking
()
RESOLVED
FIXED
mozilla2.0b3
People
(Reporter: sgautherie, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [fixed by bug 499828])
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1269726905.1269729299.29491.gz&fulltext=1
Linux comm-central-trunk debug test xpcshell on 2010/03/27 14:55:05
{
TEST-UNEXPECTED-FAIL | .../xpcshell/tests/test_places/unit/test_doSetAndLoadFaviconForPage_failures.js | test failed (with xpcshell return code: 0), see following log:
[...]
TEST-UNEXPECTED-FAIL | .../test_doSetAndLoadFaviconForPage_failures.js | false == true - See following stack:
JS frame :: .../xpcshell/head.js :: do_throw :: line 257
JS frame :: .../xpcshell/head.js :: do_check_eq :: line 287
JS frame :: .../xpcshell/head.js :: do_check_true :: line 299
JS frame :: .../test_doSetAndLoadFaviconForPage_failures.js :: historyObserver_onPageChanged :: line 154
[...]
TEST-UNEXPECTED-FAIL | .../test_doSetAndLoadFaviconForPage_failures.js | file:///builds/slave/comm-central-trunk-linux-debug-unittest-xpcshell/build/xpcshell/tests/test_places/unit/favicon-normal16.png == file:///builds/slave/comm-central-trunk-linux-debug-unittest-xpcshell/build/xpcshell/tests/test_places/unit/favicon-normal32.png - See following stack:
JS frame :: .../xpcshell/head.js :: do_throw :: line 257
JS frame :: .../xpcshell/head.js :: do_check_eq :: line 287
JS frame :: .../test_doSetAndLoadFaviconForPage_failures.js :: historyObserver_onPageChanged :: line 163
}
All the changes of that bug seem to be in /toolkit.
Might this test (not) rely on the usual preference differences between FF and SM?
Comment 1•15 years ago
|
||
I can produce locally, and I also can figure out that it's test2 - "test setAndLoadFaviconForPage with history disabled" - which fails.
Marco, do you have any clue why this could happen on SeaMonkey only?
Comment 2•15 years ago
|
||
Ah, one more thing that I could find out: For some reason the historyObserver triggers an onPageChanged for that test2, and that's where we're failing.
Comment 3•15 years ago
|
||
hm, yes in your case the page is added to history, indeed in the log it appears in moz_places_temp. i'd not expect this to be possible at all with places.history.enabled set to false :(
So far i can't think of a reason, there must be though.
Comment 4•15 years ago
|
||
When I bump the timeout in http://mxr.mozilla.org/mozilla-central/source/toolkit/components/places/tests/unit/test_doSetAndLoadFaviconForPage_failures.js#207 to 5000, the test passes locally.
Comment 5•15 years ago
|
||
the problem is that comm-central is correct and due to some difference in timing mozilla-central passes the test.
This test should be disabled for now till we get rid of LAZY_ADD.
Comment 6•15 years ago
|
||
so, this is not a Seamonkey bug, but a real bug, i can't fix the test cause it would take 12s to run.
I'll disable it.
Summary: [SeaMonkey 2.1] xpcshell: test_doSetAndLoadFaviconForPage_failures.js fails → xpcshell: test_doSetAndLoadFaviconForPage_failures.js randomly succeeds
Updated•15 years ago
|
Assignee: nobody → mak77
Status: NEW → ASSIGNED
Comment 7•15 years ago
|
||
i'll disable on my next push.
Whiteboard: [disabled cause without bug 499828 would take too long]
Comment 8•15 years ago
|
||
Marco just to be clear and out of curiosity; is it a test bug, or a bug in backend code?
Just to know how we view this here.
Comment 9•15 years ago
|
||
it's a test bug.
Comment 10•15 years ago
|
||
Updated•14 years ago
|
Assignee: mak77 → nobody
Status: ASSIGNED → NEW
Comment 11•14 years ago
|
||
this is currently fixed and the test has been re-enabled with other async fixes.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Updated•14 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•