Simplify extensionFromBundle(senderBundle) logic in WebExtensionController.java
Categories
(GeckoView :: Extensions, task, P3)
Tracking
(firefox93 fixed)
Tracking | Status | |
---|---|---|
firefox93 | --- | fixed |
People
(Reporter: robwu, Assigned: robwu)
References
Details
Attachments
(1 file)
WebExtensionController.java
reads the extensionId
from the bundle, except for extension messages. In extension messages, the internal sender.extensionId
was unintentionally exposed, but when that was fixed in D123351 (part of bug 1708243), sender.extensionId
got added again.
The logic could be simplified by unconditionally reading extensionId
off the bundle, as explained at https://phabricator.services.mozilla.com/D123351#4033719
Assignee | ||
Comment 1•2 years ago
|
||
Pushed by rob@robwu.nl: https://hg.mozilla.org/integration/autoland/rev/35295637d5fd Simplify GeckoView:WebExtension:Connect/Message handlers r=agi
Comment 3•2 years ago
|
||
Backed out for mochitest failures on test_ext_tabs_executeScript_good.html
Backout link: https://hg.mozilla.org/integration/autoland/rev/214cd072efe2e84a3573933ba51de6f9ede08d79
Log link: https://treeherder.mozilla.org/logviewer?job_id=350268167&repo=autoland&lineNumber=2599
Updated•2 years ago
|
Assignee | ||
Comment 4•2 years ago
|
||
Pushed by rob@robwu.nl: https://hg.mozilla.org/integration/autoland/rev/452f3a79c1b2 Simplify GeckoView:WebExtension:Connect/Message handlers r=agi
Comment 6•2 years ago
|
||
bugherder |
Comment 7•9 months ago
|
||
Moving some WebExtension bugs to the GeckoView::Extensions component.
Description
•