Closed
Bug 726505
Opened 13 years ago
Closed 13 years ago
Port |Bug 507784 - Some session restore tests don't correctly remove event listeners| to SeaMonkey
Categories
(SeaMonkey :: Session Restore, defect, P4)
SeaMonkey
Session Restore
Tracking
(Not tracked)
RESOLVED
FIXED
seamonkey2.10
People
(Reporter: sgautherie, Assigned: sgautherie)
References
Details
Attachments
(2 files)
(deleted),
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
2 changesets to port:
http://hg.mozilla.org/mozilla-central/rev/7769be27ba62
http://hg.mozilla.org/mozilla-central/rev/61e6d741bd54
Note:
Don't use 'arguments.callee' (anymore), add/use function names.
Assignee | ||
Comment 1•13 years ago
|
||
NB: Bug 726530 is unaffected by this patch.
Attachment #596609 -
Flags: review?(neil)
Comment 3•13 years ago
|
||
Comment on attachment 596609 [details] [diff] [review]
(Av1) Port |Bug 507784 - Some session restore tests don't correctly remove event listeners| to SeaMonkey
[Checked in: Comment 11]
So, what's the point of the renames?
Also, when you write a function expression, the name of the function is only in scope inside the function itself, so you don't actually need to give your functions unique names. For instance, this is perfectly legal:
var foo = [ function foo() { return foo; } ];
Comment 4•13 years ago
|
||
Comment on attachment 596610 [details] [diff] [review]
(Bv1) Some space/line-ending cleanup
[Checked in: See comment 5]
r=me to fix the line endings, but the trailing spaces aren't worth the time.
Attachment #596610 -
Flags: review?(neil) → review+
Assignee | ||
Comment 5•13 years ago
|
||
Comment on attachment 596610 [details] [diff] [review]
(Bv1) Some space/line-ending cleanup
[Checked in: See comment 5]
http://hg.mozilla.org/comm-central/rev/c22269a950d7
Bv1, with comment 4 suggestion(s).
Attachment #596610 -
Attachment description: (Bv1) Some space/line-ending cleanup → (Bv1) Some space/line-ending cleanup
[Checked in: See comment 5]
Assignee | ||
Comment 6•13 years ago
|
||
(In reply to neil@parkwaycc.co.uk from comment #3)
> So, what's the point of the renames?
Just to match the Firefox names, as we did previously for other tests: to ease maintenance, as in spare me history searches each time I do bugs like this one.
> you don't actually need to give your functions unique names.
Yeah, but I thought it can't hurt to be more explicit than that.
Yet, if you don't want the numbering, I'll remove it.
Comment 7•13 years ago
|
||
(In reply to Serge Gautherie from comment #6)
> (In reply to comment #3)
> > So, what's the point of the renames?
> Just to match the Firefox names, as we did previously for other tests
So the other three tests in the patch already use the Firefox name?
Assignee | ||
Comment 8•13 years ago
|
||
(In reply to neil@parkwaycc.co.uk from comment #7)
> So the other three tests in the patch already use the Firefox name?
Yes: all Firefox tests live in
http://mxr.mozilla.org/mozilla-central/source/browser/components/sessionstore/test/
Updated•13 years ago
|
Attachment #596609 -
Flags: review?(neil) → review+
Assignee | ||
Comment 9•13 years ago
|
||
(In reply to Serge Gautherie (:sgautherie) from comment #6)
> Yet, if you don't want the numbering, I'll remove it.
Just to confirm, should I check it in with/without numbering?
Comment 10•13 years ago
|
||
(In reply to Serge Gautherie from comment #9)
> Just to confirm, should I check it in with/without numbering?
Yes, you can leave the numbering in.
Assignee | ||
Comment 11•13 years ago
|
||
Comment on attachment 596609 [details] [diff] [review]
(Av1) Port |Bug 507784 - Some session restore tests don't correctly remove event listeners| to SeaMonkey
[Checked in: Comment 11]
http://hg.mozilla.org/comm-central/rev/cff76f26dd7b
Attachment #596609 -
Attachment description: (Av1) Port |Bug 507784 - Some session restore tests don't correctly remove event listeners| to SeaMonkey → (Av1) Port |Bug 507784 - Some session restore tests don't correctly remove event listeners| to SeaMonkey
[Checked in: Comment 11]
Assignee | ||
Updated•13 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•