Closed
Bug 1770696
Opened 2 years ago
Closed 2 years ago
MV3 non-persistent background pages vs native messaging host
Categories
(WebExtensions :: General, defect, P2)
Tracking
(firefox104 fixed)
RESOLVED
FIXED
104 Branch
Tracking | Status | |
---|---|---|
firefox104 | --- | fixed |
People
(Reporter: pospichal, Assigned: rpl)
References
(Blocks 1 open bug)
Details
(Whiteboard: [addons-jira])
Attachments
(1 file)
Steps to reproduce:
Converted existing extension (working correctly) with MV2 to MV3, manifest had this setting:
"background": {
"persistent": false,
"scripts": [ "background.js" ]
},
Extension is connecting to native messaging host from background script using chrome.runtime.connectNative()
Actual results:
MV2: Background script remained active as long as the connection with native host was live
MV3: Background page is disconnected every time after 30 seconds of inactivity and native host process is killed
Expected results:
Same behavior as with MV2
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Messaging System' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Component: Untriaged → Messaging System
Updated•2 years ago
|
Component: Messaging System → Untriaged
Product: Firefox → WebExtensions
Updated•2 years ago
|
Severity: -- → S2
Priority: -- → P2
Whiteboard: [addons-jira]
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
Assignee: nobody → lgreco
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by luca.greco@alcacoop.it: https://hg.mozilla.org/integration/autoland/rev/d9d595b22939 Reset the background script idle timer if the extension have native app ports still open. r=mixedpuppy
Comment 4•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox104:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
Assignee | ||
Updated•2 years ago
|
Component: Untriaged → General
You need to log in
before you can comment on or make changes to this bug.
Description
•