Closed
Bug 999518
Opened 11 years ago
Closed 11 years ago
browser/base/content/test/general/browser_aboutAccounts.js attempts to connect to api.accounts.firefox.com
Categories
(Firefox :: Firefox Accounts, defect)
Firefox
Firefox Accounts
Tracking
()
RESOLVED
FIXED
Firefox 32
Tracking | Status | |
---|---|---|
firefox30 | --- | fixed |
firefox31 | --- | fixed |
firefox32 | --- | fixed |
firefox-esr24 | --- | unaffected |
b2g-v1.2 | --- | unaffected |
b2g-v1.3 | --- | unaffected |
b2g-v1.3T | --- | unaffected |
People
(Reporter: froydnj, Assigned: markh)
References
Details
Attachments
(1 file)
1.50 KB,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
With the patches from bug 995417:
09:47:44 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_aboutAccounts.js | Check account log in
09:47:44 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_aboutAccounts.js | Checking number of results received matches the number of tests that should have run
09:47:44 INFO - 1398185264767 Sync.BrowserIDManager ERROR Non-authentication error in _fetchTokenForUser: A different user signed in
09:47:44 INFO - 1398185264770 Sync.BrowserIDManager ERROR Background fetch for key bundle failed: Error: A different user signed in
09:47:44 INFO - 1398185264770 Sync.BrowserIDManager ERROR Could not authenticate: Error: A different user signed in
09:47:44 INFO - TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/general/browser_aboutAccounts.js | Console message: 1398185264767 Sync.BrowserIDManager ERROR Non-authentication error in _fetchTokenForUser: A different user signed in
09:47:44 INFO - TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/general/browser_aboutAccounts.js | Console message: 1398185264770 Sync.BrowserIDManager ERROR Background fetch for key bundle failed: Error: A different user signed in
09:47:44 INFO - TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/general/browser_aboutAccounts.js | Console message: 1398185264770 Sync.BrowserIDManager ERROR Could not authenticate: Error: A different user signed in
09:47:44 INFO - TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/general/browser_aboutAccounts.js | Test action=signin - no user logged in
09:47:44 INFO - 1398185264896 Sync.BrowserIDManager ERROR Could not authenticate: no user is logged in
09:47:44 INFO - TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/general/browser_aboutAccounts.js | Console message: 1398185264896 Sync.BrowserIDManager ERROR Could not authenticate: no user is logged in
09:47:44 INFO - BAD CONNECT: connecting to api.accounts.firefox.com 0
09:47:47 INFO - TEST-INFO | Main app process: killed by SIGHUP
09:47:47 WARNING - TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/general/browser_aboutAccounts.js | application terminated with exit code 1
Our tests should not be connecting to external resources.
![]() |
Reporter | |
Comment 1•11 years ago
|
||
Mark, are you able to look at this bug and/or redirect it to someone who can? This is one of the last bugs blocking bug 995417 and it'd be good to not disable our way to victory here.
Flags: needinfo?(mhammond)
Assignee | ||
Comment 2•11 years ago
|
||
We don't rely on the production FxA server, it's just that the code tries to hit it anyway :) The easiest solution and one that should prevent it coming up in the future is to override the pref pointing at the server.
The test passes locally for me with this patch and best I can tell, that server is never hit. A try is at https://tbpl.mozilla.org/?tree=Try&rev=377b8de8416e
Natahan if you are able to review this, please steal of from Ted - I've only nominated him as I'm too lazy to look and see who else qualifies :)
Assignee: nobody → mhammond
Status: NEW → ASSIGNED
Attachment #8419907 -
Flags: review?(ted)
Flags: needinfo?(mhammond)
![]() |
Reporter | |
Comment 3•11 years ago
|
||
Comment on attachment 8419907 [details] [diff] [review]
0001-Bug-999518-don-t-hit-the-production-FxA-server-durin.patch
Review of attachment 8419907 [details] [diff] [review]:
-----------------------------------------------------------------
Works for me with external network access disabled locally. Maybe this fixes bug 958026, too?
Attachment #8419907 -
Flags: review?(ted) → review+
Assignee | ||
Comment 4•11 years ago
|
||
(In reply to Nathan Froyd (:froydnj) from comment #3)
> Works for me with external network access disabled locally. Maybe this
> fixes bug 958026, too?
That would certainly be a bonus :)
https://hg.mozilla.org/integration/fx-team/rev/fc69e8ac0db2
Comment 5•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
Updated•11 years ago
|
status-b2g-v1.2:
--- → unaffected
status-b2g-v1.3:
--- → unaffected
status-b2g-v1.3T:
--- → unaffected
status-b2g-v1.4:
--- → affected
status-b2g-v2.0:
--- → fixed
status-firefox30:
--- → affected
status-firefox31:
--- → affected
status-firefox32:
--- → fixed
status-firefox-esr24:
--- → unaffected
Comment 6•11 years ago
|
||
Comment 7•11 years ago
|
||
Flags: in-testsuite+
Updated•11 years ago
|
Updated•8 years ago
|
Product: Core → Firefox
Updated•8 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•