Open
Bug 1915765
Opened 1 year ago
Updated 1 month ago
password_changed push notification is ignored so account remans connected.
Categories
(Firefox for Android :: Accounts and Sync, defect)
Tracking
()
NEW
People
(Reporter: markh, Unassigned)
References
Details
(Whiteboard: [fxsync-])
STR on a device able to get push:
- be logged in
- on another device change the password.
- observe push message received via logcat telling us of the change.
But the account state does not change - the push is not handled and the account state does not change. It may take hours to notice.
logcat:
2024-08-29 22:07:06.846 3432-3537 AutoPushObserver org.mozilla.fenix.debug I Received new push message for fxa_push_scope_eb6a8c05bd1e4f4abbdb0de73d365ab6
2024-08-29 22:07:06.847 3432-4271 FxaDeviceConstellation org.mozilla.fenix.debug I Executing: processing raw commands
2024-08-29 22:07:06.850 3432-4271 fxa_client org.mozilla.fenix.debug D handle_push_message
2024-08-29 22:07:06.853 3432-3500 GeckoViewPushController org.mozilla.fenix.debug D onEvent GeckoView:PushEvent {"data":"eyJ2ZXJzaW9uIjoxLCJjb21tYW5kIjoiZnhhY2NvdW50czpwYXNzd29yZF9jaGFuZ2VkIn0","scope":"fxa_push_scope_eb6a8c05bd1e4f4abbdb0de73d365ab6"}
The base64 data there is {"version":1,"command":"fxaccounts:password_changed"} - then:
2024-08-29 22:07:06.855 3432-3500 GeckoConsole org.mozilla.fenix.debug E [JavaScript Error: "NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIScriptSecurityManager.createContentPrincipalFromOrigin]" {file: "resource://gre/modules/GeckoViewPushController.sys.mjs" line: 21}]
createScopeAndPrincipal@resource://gre/modules/GeckoViewPushController.sys.mjs:21:36
onEvent@resource://gre/modules/GeckoViewPushController.sys.mjs:37:57
listener@resource://gre/modules/GeckoViewUtils.sys.mjs:146:21
2024-08-29 22:07:06.856 3432-3500 GeckoViewPushController org.mozilla.fenix.debug D onEvent GeckoView:PushEvent {"data":"eyJ2ZXJzaW9uIjoxLCJjb21tYW5kIjoiZnhhY2NvdW50czpwYXNzd29yZF9jaGFuZ2VkIn0","scope":"fxa_push_scope_eb6a8c05bd1e4f4abbdb0de73d365ab6"}
2024-08-29 22:07:06.856 3432-3500 GeckoConsole org.mozilla.fenix.debug E [JavaScript Error: "NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIScriptSecurityManager.createContentPrincipalFromOrigin]" {file: "resource://gre/modules/GeckoViewPushController.sys.mjs" line: 21}]
createScopeAndPrincipal@resource://gre/modules/GeckoViewPushController.sys.mjs:21:36
onEvent@resource://gre/modules/GeckoViewPushController.sys.mjs:37:57
have we mis-routed this message to geckoview instead of handing it?
Updated•1 year ago
|
Severity: -- → S3
Updated•1 month ago
|
Whiteboard: [fxsync-]
Updated•1 month ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•