Extension port disconnected when a tab switched to or from the Responsive Design Mode

VERIFIED FIXED in Firefox 66

Status

enhancement
VERIFIED FIXED
5 months ago
a month ago

People

(Reporter: rpl, Assigned: rpl)

Tracking

unspecified
mozilla66

Firefox Tracking Flags

(firefox66 verified)

Details

Attachments

(2 attachments)

(Assignee)

Description

5 months ago
When a Firefox tab is switched to (or from) the Responsive Design Mode, then the extension port related to that tab is being disconnected (as in "the port API object fired the onDisconnect event").

This issue is also tracked on the "Redux DevTools Extension" github repo's issues:
- https://github.com/zalmoxisus/redux-devtools-extension/issues/421

(as a side note: the behavior mentioned in https://github.com/zalmoxisus/redux-devtools-extension/issues/421#issuecomment-441448097 is the one that Bug 1394841 fixed, but the extension is still experiencing issues on tabs switched to the Responsive Design Mode because the extension port that is connecting the extension's content script and background page is being disconnected when the tab switches back and forth the Responsive Design Mode).
Attachment #9032701 - Attachment description: Bug 1515077 - Prevent Responsive Design Mode to break extension messaging while swapping doc shells. r?zombie! → Bug 1515077 - Prevent Responsive Design Mode from breaking extension messaging while swapping doc shells. r?zombie!

Comment 2

5 months ago
Pushed by luca.greco@alcacoop.it:
https://hg.mozilla.org/integration/autoland/rev/a25969bf715e
Prevent Responsive Design Mode from breaking extension messaging while swapping doc shells. r=zombie

Comment 3

5 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/a25969bf715e
Status: NEW → RESOLVED
Last Resolved: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Assignee: nobody → lgreco

Comment 4

2 months ago

Verified as fixed using steps from https://irccloud.mozilla.com/pastebin/BREb1LPT/Bug1515077_STR.md .

I will attach a postfix video.

Status: RESOLVED → VERIFIED

Comment 5

2 months ago
Posted image Postfix video

Updated

a month ago
See Also: → 1301837
You need to log in before you can comment on or make changes to this bug.