Closed
Bug 752752
Opened 13 years ago
Closed 13 years ago
Reftest harness needs to set prefs to disable addon updates, to avoid leaking them
Categories
(Testing :: Reftest, defect)
Testing
Reftest
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla16
People
(Reporter: philor, Assigned: philor)
References
Details
(Keywords: intermittent-failure)
Attachments
(1 file, 1 obsolete file)
2.60 KB,
patch
|
dbaron
:
review+
|
Details | Diff | Splinter Review |
https://tbpl.mozilla.org/php/getParsedLog.php?id=11547389&tree=Firefox&full=1#error0
Rev4 MacOSX Snow Leopard 10.6 mozilla-central debug test crashtest on 2012-05-07 16:48:28 PDT for push 333626f688a4
Leaked URLs:
...
https://services.addons.mozilla.org/en-US/firefox/api/1.5/search/guid:reftest%40mozilla.org,uriloader%40pdf.js,%7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D?src=firefox&appOS=Darwin&appVersion=15.0a1&tMain=832&tFirstPaint=3851&tSessionRestored=179255
When http://mxr.mozilla.org/mozilla-central/source/build/automation.py.in#390 creates a profile it makes sure that safebrowsing and addon updates won't be hitting the network; reftests (and crashtests, and jsreftests) need to do the same.
Comment 1•13 years ago
|
||
Assignee | ||
Comment 2•13 years ago
|
||
Assignee | ||
Comment 3•13 years ago
|
||
Assignee | ||
Comment 5•13 years ago
|
||
Assignee | ||
Comment 6•13 years ago
|
||
Is this enough to keep you from hitting AMO, or do I need to set all the URL prefs to something I don't know how to choose?
Assignee: nobody → philringnalda
Status: NEW → ASSIGNED
Attachment #627440 -
Flags: review?(bmcbride)
Comment 7•13 years ago
|
||
Comment on attachment 627440 [details] [diff] [review]
fix v.1
Review of attachment 627440 [details] [diff] [review]:
-----------------------------------------------------------------
If we assume they're not going to touch the Add-ons Manager (either via APIs or opening about:addons), then this will be enough.
Attachment #627440 -
Flags: review?(bmcbride) → review+
Assignee | ||
Comment 8•13 years ago
|
||
My theory is that nothing run by the reftest harness can open about:addons or touch the addonmgr API, because it only runs content without any possibility of elevation. Might be wrong, but that's my theory.
Attachment #627440 -
Attachment is obsolete: true
Attachment #627861 -
Flags: review?(dbaron)
Comment on attachment 627861 [details] [diff] [review]
With more verbose comments
r=dbaron; sorry for the delay
Attachment #627861 -
Flags: review?(dbaron) → review+
Assignee | ||
Comment 10•13 years ago
|
||
Comment 11•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
Updated•12 years ago
|
Keywords: intermittent-failure
Updated•12 years ago
|
Whiteboard: [orange]
You need to log in
before you can comment on or make changes to this bug.
Description
•