Closed
Bug 1493426
Opened 6 years ago
Closed 6 years ago
BrowserAction popup always opens as non-private tab
Categories
(WebExtensions :: Android, enhancement)
Tracking
(firefox64 verified)
VERIFIED
FIXED
mozilla64
Tracking | Status | |
---|---|---|
firefox64 | --- | verified |
People
(Reporter: Oriol, Assigned: Oriol)
References
Details
(Whiteboard: [priority:low])
Attachments
(2 files)
If I am in a private tab and I open some browserAction popup, I don't expect it to open as a non-private tab.
openExtensionPopupTab should check the privateness of the selected tab, and open the popup with the same value.
https://searchfox.org/mozilla-central/rev/21588b2a9824e0758fe11d10065e2c01ea9f32be/mobile/android/components/extensions/ext-utils.js#302-305
let {browser, id} = win.BrowserApp.selectedTab;
let isPrivate = PrivateBrowsingUtils.isBrowserPrivate(browser);
win.BrowserApp.addTab(popup, {
selected: true,
parentId: id,
isPrivate,
})
Andreas this is probably a small fix - can we move forward with a fix?
Flags: needinfo?(abovens)
Assignee | ||
Comment 2•6 years ago
|
||
The fix in in comment 0, just needs a test. I can write one later this week when I have time.
Comment 4•6 years ago
|
||
On desktop there is no tab, but an actual popup panel:
https://mdn.mozillademos.org/files/15747/page_action_popup.png
( picture from https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Popups )
The popup panel's PBM state matches the window's PBM state on desktop.
Assignee | ||
Comment 5•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → oriol-bugzilla
Status: NEW → ASSIGNED
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Pushed by rvandermeulen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/973fdd5f75cd
Respect tab privateness when opening browserAction popup. r=rpl
Keywords: checkin-needed
Comment 7•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Comment 8•6 years ago
|
||
Verified as fixed in latest Nightly on Android device(Samsung Galaxy S7).
I will attach a postfix video.
Status: RESOLVED → VERIFIED
Comment 9•6 years ago
|
||
Updated•6 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•