Closed
Bug 585757
Opened 14 years ago
Closed 14 years ago
Make Mozmill-test testRemoveCookie.js local
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: u279076, Assigned: aaronmt)
References
Details
(Whiteboard: [litmus-data])
Attachments
(5 files, 9 obsolete files)
2.28 KB,
patch
|
u279076
:
review+
whimboo
:
review+
|
Details | Diff | Splinter Review |
2.49 KB,
patch
|
Details | Diff | Splinter Review | |
2.57 KB,
patch
|
aaronmt
:
review+
|
Details | Diff | Splinter Review |
2.58 KB,
patch
|
aaronmt
:
review+
|
Details | Diff | Splinter Review |
3.80 KB,
patch
|
u279076
:
review+
|
Details | Diff | Splinter Review |
Module: testCookies/testRemoveCookie.js
Test-page: test-files/cookies/cookie_single.html
Assignee | ||
Comment 1•14 years ago
|
||
cleanup + converts test to make use of local-data
Assignee: nobody → aaron.train
Status: NEW → ASSIGNED
Attachment #467008 -
Flags: review?(anthony.s.hughes)
Comment on attachment 467008 [details] [diff] [review]
Patch v1 - (default)
Looks good, r+. Over to Henrik for additional review.
Attachment #467008 -
Flags: review?(hskupin)
Attachment #467008 -
Flags: review?(anthony.s.hughes)
Attachment #467008 -
Flags: review+
Comment 3•14 years ago
|
||
Comment on attachment 467008 [details] [diff] [review]
Patch v1 - (default)
>+var setupModule = function()
> {
Please fix the bracing for all functions.
>+ cm = Cc["@mozilla.org/cookiemanager;1"].getService(Ci.nsICookieManager2);
Please always move down calls to methods of objects into the next line.
With those changes you can take over r=me.
Attachment #467008 -
Flags: review?(hskupin) → review+
Assignee | ||
Comment 4•14 years ago
|
||
fixes from comment above
Keywords: checkin-needed
Updated•14 years ago
|
Keywords: checkin-needed
Comment 5•14 years ago
|
||
Comment on attachment 471502 [details] [diff] [review]
Patch v1.1 - (default)
>- module.cm = Cc["@mozilla.org/cookiemanager;1"].getService(Ci.nsICookieManager2);
>+ cm = Cc["@mozilla.org/cookiemanager;1"]
>+ .getService(Ci.nsICookieManager2);
It's a nit bug please use:
>+ cm = Cc["@mozilla.org/cookiemanager;1"].
>+ getService(Ci.nsICookieManager2);
Assignee | ||
Comment 6•14 years ago
|
||
Attachment #471502 -
Attachment is obsolete: true
Updated•14 years ago
|
Keywords: checkin-needed
(In reply to comment #6)
> Created attachment 471567 [details] [diff] [review]
> Patch v1.1 [indent fix] - (default)
Landed on default:
http://hg.mozilla.org/qa/mozmill-tests/rev/152fe346f198
Please follow up with 1.9.2 and 1.9.1 patches as appropriate.
Assignee | ||
Comment 8•14 years ago
|
||
Attachment #473675 -
Flags: review?(anthony.s.hughes)
Attachment #473675 -
Flags: review?(anthony.s.hughes) → review+
(In reply to comment #8)
> Created attachment 473675 [details] [diff] [review]
> Patch v1.1 - (1.9.2)
Landed on mozilla1.9.2:
http://hg.mozilla.org/qa/mozmill-tests/rev/1beb92ab829e
Keywords: checkin-needed
Assignee | ||
Comment 10•14 years ago
|
||
Comment 11•14 years ago
|
||
Please revise the patches for default and mozmill1.9.2 so those do not test cookies for .mozilla.org. We need follow-up patches.
Updated•14 years ago
|
Attachment #474217 -
Attachment is obsolete: true
Assignee | ||
Comment 12•14 years ago
|
||
s/.mozilla.org/localhost
Attachment #475954 -
Flags: review?(anthony.s.hughes)
Assignee | ||
Updated•14 years ago
|
Attachment #475955 -
Flags: review?(anthony.s.hughes)
Assignee | ||
Updated•14 years ago
|
Attachment #475954 -
Flags: review?(anthony.s.hughes)
Assignee | ||
Updated•14 years ago
|
Attachment #475954 -
Attachment is obsolete: true
Assignee | ||
Updated•14 years ago
|
Attachment #475955 -
Attachment is obsolete: true
Assignee | ||
Comment 14•14 years ago
|
||
Forgot to change the name: litmus_1
Attachment #475966 -
Flags: review?(anthony.s.hughes)
Assignee | ||
Comment 15•14 years ago
|
||
Attachment #475967 -
Flags: review?(anthony.s.hughes)
Assignee | ||
Comment 16•14 years ago
|
||
Comment on attachment 475966 [details] [diff] [review]
Patch v1.2 - (default) [localhost fix]
Path should be /cookies/
Attachment #475966 -
Attachment is obsolete: true
Attachment #475966 -
Flags: review?(anthony.s.hughes)
Assignee | ||
Comment 17•14 years ago
|
||
Comment on attachment 475967 [details] [diff] [review]
Patch v1.2 - (1.9.2) [localhost fix]
Path should be /cookies/
Attachment #475967 -
Attachment is obsolete: true
Attachment #475967 -
Flags: review?(anthony.s.hughes)
Assignee | ||
Comment 18•14 years ago
|
||
+ added the persistence object as per Henrik's suggestion in the other cookie bugs
+ proper path of cookie is /cookies/
Attachment #477727 -
Flags: review?(anthony.s.hughes)
Assignee | ||
Comment 19•14 years ago
|
||
Attachment #467008 -
Attachment is obsolete: true
Attachment #471567 -
Attachment is obsolete: true
Attachment #473675 -
Attachment is obsolete: true
Attachment #477727 -
Flags: review?(hskupin)
Attachment #477727 -
Flags: review?(anthony.s.hughes)
Attachment #477727 -
Flags: review+
Reporter | ||
Comment 20•14 years ago
|
||
(In reply to comment #19)
> Created attachment 477728 [details] [diff] [review]
> Patch v1.2 - (1.9.2)
Diff between two patches is essentially the same (diff on comments). An r+ on the default patch will be assumed for this patch as well.
Comment 21•14 years ago
|
||
Comment on attachment 477727 [details] [diff] [review]
Patch v1.2 - (default)
>+ persisted.hostName = {};
undefined please.
>- var removed = !cm.cookieExists({host: ".mozilla.org", name: "__utmz", path: "/"});
>+ var removed = !cm.cookieExists({host: persisted.hostName,
>+ name: "litmus_1",
>+ path: "/cookies/"});
Please update the indentation:
>+ var removed = !cm.cookieExists({
>+ host: persisted.hostName,
>+ name: "litmus_1",
> controller.assertJS("subject.list.view.rowCount == subject.numberCookies",
>- {list: cookiesList, numberCookies: origNumCookies - 1});
>+ {list: cookiesList,
>+ numberCookies: origNumCookies - 1});
Same here.
With those changes r=me.
Attachment #477727 -
Flags: review?(hskupin) → review+
Comment 22•14 years ago
|
||
Comment on attachment 477728 [details] [diff] [review]
Patch v1.2 - (1.9.2)
This patch also needs the requested updates as the default one.
Assignee | ||
Comment 23•14 years ago
|
||
Attachment #478294 -
Flags: review+
Assignee | ||
Comment 24•14 years ago
|
||
Attachment #478295 -
Flags: review+
Assignee | ||
Comment 25•14 years ago
|
||
Looks like the initial changes never landed on 1.9.1 as the patch wouldn't apply. Requesting review to play it safe
Attachment #478296 -
Flags: review?(anthony.s.hughes)
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Attachment #478296 -
Flags: review?(anthony.s.hughes) → review+
Reporter | ||
Comment 26•14 years ago
|
||
(In reply to comment #23)
> Created attachment 478294 [details] [diff] [review]
> Patch v1.3 - (default) + [indent fix]
Landed:
http://hg.mozilla.org/qa/mozmill-tests/rev/30e5398131dd [default]
Reporter | ||
Comment 27•14 years ago
|
||
(In reply to comment #24)
> Created attachment 478295 [details] [diff] [review]
> Patch v1.3 - (1.9.2) + [indent fix]
Landed:
http://hg.mozilla.org/qa/mozmill-tests/rev/e81f9f5e17c4 [mozilla1.9.2]
Reporter | ||
Comment 28•14 years ago
|
||
(In reply to comment #25)
> Created attachment 478296 [details] [diff] [review]
> Patch v1.3 - (1.9.1) + [indent fix]
Landed:
http://hg.mozilla.org/qa/mozmill-tests/rev/996a6e0599f0 [mozilla1.9.1]
Comment 29•14 years ago
|
||
Move of Mozmill Test related project bugs to newly created components. You can
filter out those emails by using "Mozmill-Tests-to-MozillaQA" as criteria.
Product: Testing → Mozilla QA
Updated•5 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•