Display WDBA notification using ASRouter trigger
Categories
(Toolkit :: Default Browser Agent, enhancement, P3)
Tracking
()
People
(Reporter: nalexander, Unassigned)
References
(Depends on 3 open bugs, Blocks 3 open bugs)
Details
(Whiteboard: [fidedi-wdba])
Attachments
(8 files, 1 obsolete file)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
This ticket tracks using ASRouter to display the WDBA notification. This is part of the boilerplate required to make the notification data-driven and eventually remotely controlled via Nimbus.
Updated•2 years ago
|
| Reporter | ||
Comment 1•2 years ago
|
||
| Reporter | ||
Comment 2•2 years ago
|
||
Depends on D198817
| Reporter | ||
Comment 3•2 years ago
|
||
This isn't ready because --backgroundtask backgroundupdate does not
yet handle this relaunch.
Depends on D198818
| Reporter | ||
Comment 4•2 years ago
|
||
This registers the OnboardingMessageProvider for local messages, and
uses ASRouter to pop the notification, but it doesn't set up the
notification observer and it doesn't actually handle the relaunch (via
the remote protocol, eventually).
Depends on D198819
| Reporter | ||
Comment 5•2 years ago
|
||
This is simply a convenience: backgroundtasks are short-lived and
don't generally want a -no-remote argument to avoid re-using
instances during development.
| Reporter | ||
Comment 6•2 years ago
|
||
There's no browsing session and subsession in background task mode, so
avoid asking for session metadata and throwing an obscure date-parsing
exception.
Depends on D199148
| Reporter | ||
Comment 7•2 years ago
|
||
This is simply a convenience: backgroundtasks are short-lived and
don't generally want a -no-remote argument to avoid re-using
instances during development.
| Reporter | ||
Comment 8•2 years ago
|
||
There's no browsing session and subsession in background task mode, so
avoid asking for session metadata and throwing an obscure date-parsing
exception.
Depends on D199151
| Reporter | ||
Comment 9•2 years ago
|
||
This was disabled out of an abundance of caution: the last thing we
want is a (long-lived) background task trying to open links for
browsing, for example.
However, the remote protocol is what the notificationserver.dll
relies on under Windows to ferry a notification interaction to a
running Firefox. We need it to handle notifications in background
tasks.
There should be no interaction between browsing windows and background
tasks because the "class name" used to identify candidate instances to the
remote protocol includes the relevant profile (see
https://searchfox.org/mozilla-central/rev/9c65def36af441133c75a44b126e65184b039b2f/toolkit/components/remote/RemoteUtils.h#15),
and will avoid "cross-talk" of this sort.
Depends on D199153
Comment 10•2 years ago
|
||
Comment on attachment 9375545 [details]
WIP: Bug 1875091 - Pre: Avoid a TelemetryUtils exception in background task mode.
Revision D199152 was moved to bug 1875907. Setting attachment 9375545 [details] to obsolete.
Updated•2 years ago
|
Description
•