newPageInstall should get its FxA endpoint from FxAccounts.config.
Categories
(Toolkit :: Startup and Profile System, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: mossop, Assigned: mossop)
References
Details
Attachments
(3 files)
We decided against blocking landing for this, but we really should be using FxAccounts.config to get the Accounts endpoint for the login form. This will probably involve switching to using RemotePageManager to request the endpoint when the page loads.
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
As we add more specific methods to RemotePageManager some of them will have to
call the main process to get the results. This adds a standard mechanism for
doing so. Calling sendRequest will return a promise that is resolved or rejected
when the main process responds.
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
The patches here end up adding the service and context parameters to the metrics request (because FxAccounts.config adds them by default: https://searchfox.org/mozilla-central/source/services/fxaccounts/FxAccountsConfig.jsm#73), is that a problem?
Comment 5•6 years ago
|
||
(In reply to Dave Townsend [:mossop] (he/him) from comment #4)
The patches here end up adding the service and context parameters to the metrics request (because FxAccounts.config adds them by default: https://searchfox.org/mozilla-central/source/services/fxaccounts/FxAccountsConfig.jsm#73), is that a problem?
I just tried from the network console in firefox:
Request URL:https://accounts.firefox.com/metrics-flow?entrypoint=new-install-page&utm_source=new-install-page-release&utm_campaign=dedicated-profiles&form_type=email&service=sync&context=fx_desktop_v3
Request method:GET
Remote address:<xxxx>
Status code:
200
Version:HTTP/1.1
All good.
Comment 7•6 years ago
|
||
bugherder |
Comment 9•6 years ago
|
||
Backed out 2 changesets (Bug 1522253) for causing ES Lint failure in newInstallPage.js
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=228214988&repo=autoland&lineNumber=275
Backout: https://hg.mozilla.org/integration/autoland/rev/8df956c34c94173d02cd69594a2a24b76818c23a
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
bugherder |
Assignee | ||
Updated•6 years ago
|
Description
•