Closed
Bug 888550
Opened 12 years ago
Closed 12 years ago
use a dynamic port in search/ xpcshell tests so they can be run in parallel
Categories
(Firefox :: Search, defect)
Firefox
Search
Tracking
()
RESOLVED
FIXED
Firefox 25
People
(Reporter: mihneadb, Assigned: mihneadb)
References
Details
Attachments
(1 file, 3 obsolete files)
13.13 KB,
patch
|
mihneadb
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•12 years ago
|
||
Assignee: nobody → mihneadb
Assignee | ||
Updated•12 years ago
|
Attachment #769287 -
Flags: review?(mnoorenberghe+bmo)
Comment 2•12 years ago
|
||
Comment on attachment 769287 [details] [diff] [review]
use -1 as httpd port
Review of attachment 769287 [details] [diff] [review]:
-----------------------------------------------------------------
Nit: it wouldn't hurt to use a local variable for |"http://localhost:" + httpServer.identity.primaryPort| in some cases when it's duplicated more than two times nearby. It makes the code more readable IMO and leads to shorter lines.
r=me with nits. Thanks.
::: toolkit/components/search/tests/xpcshell/test_addEngine_callback.js
@@ +111,5 @@
> Ci.nsISearchEngine.DATA_XML,
> null, false, searchCallback);
> });
>
> +let httpServer;
Nit: I think this would be better at the top of the file under the |const|.
Add a "g" prefix (e.g. gHttpServer) to indicate it's a global like we do with gProfD.
Attachment #769287 -
Flags: review?(mnoorenberghe+bmo) → review+
Updated•12 years ago
|
Status: NEW → ASSIGNED
Component: General → Search
OS: Linux → All
Product: Toolkit → Firefox
Hardware: x86_64 → All
Assignee | ||
Comment 3•12 years ago
|
||
Updated. Keeping r+.
Attachment #769287 -
Attachment is obsolete: true
Attachment #772508 -
Flags: review+
Assignee | ||
Comment 4•12 years ago
|
||
Added commit message.
Attachment #772508 -
Attachment is obsolete: true
Attachment #772736 -
Flags: review+
Assignee | ||
Comment 5•12 years ago
|
||
Assignee | ||
Comment 6•12 years ago
|
||
Comment on attachment 772752 [details] [diff] [review]
use -1 as httpd.js port
added commit metadata
Attachment #772752 -
Flags: review+
Assignee | ||
Updated•12 years ago
|
Attachment #772736 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 7•12 years ago
|
||
Comment 8•12 years ago
|
||
Keywords: checkin-needed
Comment 9•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 25
You need to log in
before you can comment on or make changes to this bug.
Description
•