Closed
Bug 725679
Opened 13 years ago
Closed 13 years ago
"suite/common/tests/browser/browser_346337.js | Test timed out" : "WARNING: RestoreFromHistory failed" + "ASSERTION: aIndex is out of range: 'aIndex < mLength'"
Categories
(SeaMonkey :: Session Restore, defect)
SeaMonkey
Session Restore
Tracking
(seamonkey2.8 verified, seamonkey2.9 verified)
VERIFIED
FIXED
seamonkey2.10
People
(Reporter: sgautherie, Assigned: InvisibleSmiley)
References
(Blocks 1 open bug, )
Details
(Keywords: assertion, Whiteboard: [perma-orange])
Attachments
(1 file)
(deleted),
patch
|
sgautherie
:
review+
neil
:
feedback+
Callek
:
approval-comm-aurora+
Callek
:
approval-comm-beta+
|
Details | Diff | Splinter Review |
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1328740940.1328745964.22504.gz
WINNT 5.2 comm-central-trunk debug test mochitest-other on 2012/02/08 14:42:20
{
...
TEST-PASS | chrome://mochitests/content/browser/suite/common/tests/browser/browser_346337.js | The value for "//input[@type='file'][2]" was correctly restored
WARNING: RestoreFromHistory failed: file e:/builds/slave/comm-cen-trunk-w32-dbg/build/mozilla/docshell/base/nsDocShell.cpp, line 6755
###!!! ASSERTION: aIndex is out of range: 'aIndex < mLength', file e:/builds/slave/comm-cen-trunk-w32-dbg/build/mozilla/docshell/shistory/src/nsSHistory.cpp, line 957
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/suite/common/tests/browser/browser_346337.js | Test timed out
}
PS: Reproduced locally while fixing bug 725529.
***
Then this test "leaks" into following ones, as in
{
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/suite/common/tests/browser/browser_522545.js | an unexpected uncaught JS exception reported through window.onerror - ok is not defined at chrome://mochitests/content/browser/suite/common/tests/browser/browser_346337.js:141
}
Assignee | ||
Comment 1•13 years ago
|
||
This is what I figured from the main difference between our test and FF's.
Note: I haven't checked the follow-up errors, but only running this test alone.
Reporter | ||
Comment 2•13 years ago
|
||
Comment on attachment 596340 [details] [diff] [review]
patch [Checkin: Comments 13, 18 and 19]
I confirm this fixes this bug locally :-)
But I have no idea why this test used some 'pageshow' (in SM) instead of 'load' (in FF) in the first place.
While looking at this patch, I noticed and filed bug 726505, which I would like to do first, just in case.
Attachment #596340 -
Flags: review?(sgautherie.bz)
Attachment #596340 -
Flags: review?(neil)
Attachment #596340 -
Flags: feedback+
Reporter | ||
Comment 3•13 years ago
|
||
(In reply to Serge Gautherie (:sgautherie) from comment #2)
> While looking at this patch, I noticed and filed bug 726505, which I would
> like to do first, just in case.
This patch is still needed, even after fixing bug 726505.
No longer depends on: 726505
Comment 4•13 years ago
|
||
Comment on attachment 596340 [details] [diff] [review]
patch [Checkin: Comments 13, 18 and 19]
This test and the Firefox one look substantially different, even with the event change as given in the patch, so I can't tell how our test works at all, sorry.
Attachment #596340 -
Flags: review?(neil)
Assignee | ||
Comment 5•13 years ago
|
||
Serge, I guess either you need to turn your f+ into an r+, or we need to find another reviewer (who?), or remove this test.
Comment 6•13 years ago
|
||
Perhaps Misak can remember why the tests differ so much?
Reporter | ||
Comment 7•13 years ago
|
||
(In reply to neil@parkwaycc.co.uk from comment #4)
> I can't tell how our test works at all, sorry.
Can you give a rs+, as you reviewed bug 480109?
(Or suggest another reviewer?)
(In reply to Jens Hatlak (:InvisibleSmiley) from comment #5)
> Serge, I guess either you need to turn your f+ into an r+
Well, I don't think/remember I'm allowed to give r+ (on anything).
Ian, correct me if I'm wrong.
(In reply to Philip Chee from comment #6)
> Perhaps Misak can remember why the tests differ so much?
Yeah, but it looks like Misak hasn't been active/responsive since last november 2011 meeting :-/
Reporter | ||
Updated•13 years ago
|
Attachment #596340 -
Flags: feedback?(neil)
Assignee | ||
Comment 8•13 years ago
|
||
(In reply to Serge Gautherie (:sgautherie) from comment #7)
> (In reply to Jens Hatlak (:InvisibleSmiley) from comment #5)
> > Serge, I guess either you need to turn your f+ into an r+
>
> Well, I don't think/remember I'm allowed to give r+ (on anything).
If that is true (it might be), I think this needs to be changed, considering that you probably have the most test experience and the FF guys even commit stuff with "a=testonly" and no (obvious) review at all. If we have failing tests and someone (e.g. you) can tell that a fix is correct, by all means that should suffice (IMHO). Writing new tests is probably another story, though, but that's not what I'm up to here.
Updated•13 years ago
|
Attachment #596340 -
Flags: feedback?(neil) → feedback+
Comment 9•13 years ago
|
||
> If that is true (it might be), I think this needs to be changed, considering that you
> probably have the most test experience and the FF guys even commit stuff with
> "a=testonly" and no (obvious) review at all.
And I've seen Firefox test only changes go in without even a bug number. So given Serge's experience with tests I think he is already a de facto seamonkey-tests peer so he can give r+ if needed.
Assignee | ||
Comment 10•13 years ago
|
||
(In reply to Philip Chee from comment #9)
> So given Serge's experience with tests I think he is already a de facto
> seamonkey-tests peer so he can give r+ if needed.
Ian, if you think this needs a vote, please take this up with the Council, otherwise integrate into what you are working on. Thanks!
Comment 11•13 years ago
|
||
(In reply to Jens Hatlak (:InvisibleSmiley) from comment #10)
> (In reply to Philip Chee from comment #9)
> > So given Serge's experience with tests I think he is already a de facto
> > seamonkey-tests peer so he can give r+ if needed.
>
> Ian, if you think this needs a vote, please take this up with the Council,
> otherwise integrate into what you are working on. Thanks!
This doesn't need a vote, I am happy for Serge's f+ = r+
Reporter | ||
Comment 12•13 years ago
|
||
Comment on attachment 596340 [details] [diff] [review]
patch [Checkin: Comments 13, 18 and 19]
Then, even if we don't (bother to) have a full understanding of this test code,
this patch fixes the failure and makes the test somewhat closer to Firefox code,
so f+ -> r+.
Attachment #596340 -
Flags: feedback+ → review+
Assignee | ||
Comment 13•13 years ago
|
||
Comment on attachment 596340 [details] [diff] [review]
patch [Checkin: Comments 13, 18 and 19]
http://hg.mozilla.org/comm-central/rev/650205a133cd
Attachment #596340 -
Attachment description: patch → patch [Checkin: Comment 13]
Assignee | ||
Updated•13 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
OS: Windows Server 2003 → All
Hardware: x86 → All
Resolution: --- → FIXED
Reporter | ||
Updated•13 years ago
|
Reporter | ||
Comment 14•13 years ago
|
||
Comment on attachment 596340 [details] [diff] [review]
patch [Checkin: Comments 13, 18 and 19]
[Approval Request Comment]
Test-only, wanted to clear the timeout and the rest.
Attachment #596340 -
Flags: approval-comm-beta?
Attachment #596340 -
Flags: approval-comm-aurora?
Reporter | ||
Comment 15•13 years ago
|
||
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1329271174.1329275384.15583.gz&fulltext=1
Linux comm-central-trunk debug test mochitest-other on 2012/02/14 17:59:34
V.Fixed, test + warning + assertion + etc!
Status: RESOLVED → VERIFIED
Comment 16•13 years ago
|
||
Comment on attachment 596340 [details] [diff] [review]
patch [Checkin: Comments 13, 18 and 19]
WoooHooo clearing timeouts means more time to spend on the machines actually doing stuff!
p.s.: I agree with
|So given Serge's experience with tests I think he is already a de facto seamonkey-tests peer so he can give r+ if needed.|
Attachment #596340 -
Flags: approval-comm-beta?
Attachment #596340 -
Flags: approval-comm-beta+
Attachment #596340 -
Flags: approval-comm-aurora?
Attachment #596340 -
Flags: approval-comm-aurora+
Comment 17•13 years ago
|
||
Err he's now a de jure seamonkey-tests peer.
http://www.seamonkey-project.org/dev/project-areas
https://wiki.mozilla.org/Modules/SeaMonkey#Cross-Suite_Components
Comment 18•13 years ago
|
||
Assignee | ||
Comment 19•13 years ago
|
||
Comment on attachment 596340 [details] [diff] [review]
patch [Checkin: Comments 13, 18 and 19]
http://hg.mozilla.org/releases/comm-aurora/rev/4138254af9bf
Attachment #596340 -
Attachment description: patch [Checkin: Comment 13] → patch [Checkin: Comments 13, 18 and 19]
Assignee | ||
Updated•13 years ago
|
Reporter | ||
Comment 20•13 years ago
|
||
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey-Aurora/1331173545.1331178886.17486.gz
Linux comm-aurora debug test mochitest-other on 2012/03/07 18:25:45
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey-Beta/1331186022.1331189779.1265.gz
OS X 10.5 comm-beta debug test mochitest-other on 2012/03/07 21:53:42
seamonkey2.9 and seamonkey2.8: verified.
You need to log in
before you can comment on or make changes to this bug.
Description
•