User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0 Steps to reproduce: * Set up test WebExtension to move tabs in a regular (non-incognito) window to an incognito one (manifest and background JS attached) - run via web-ext * Open the browser console * Open an incognito window * Right click on the tab in the non-incognito window (which we'll call tab A) * Under the "Incognito Move Window Test" menu, click the "Move Tab to Incognito Window" action Actual results: * The return value from browser.tabs.move returns a non-empty array, implying that tab A was successfully moved * A new, empty tab (which we'll call tab B) is added to the incognito window, alongside the tab that was there when the window was created (which we'll call tab C) * Repeating the "Incognito Move Window Test" action on tab A moves B to the right-most position in the incognito window, implying that tab B is somehow bound to the menu associated with tab A * If you close tab B and activate the "Get Tab Data" action on tab A, you'll see console output referring to information associated with tab B, and browser.tabs.get will be unable to resolve the tab ID supplied to the menu onClick event listener. Expected results: I would expect browser.tabs.move to ignore moving tabs between regular and non-incognito windows entirely, and for the return value of browser.tabs.move to omit any such tabs.
Component: Untriaged → Tabbed Browser
Component: Tabbed Browser → Frontend
Product: Firefox → WebExtensions
NI Shane to see if this is covered in the upcoming private browsing work
Priority: -- → P3
Status: UNCONFIRMED → RESOLVED
Closed: 6 months ago
Resolution: --- → WORKSFORME
Assignee: nobody → mixedpuppy
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: WORKSFORME → ---
Summary: Unusual behavior when using browser.tabs.move to move regular tab to incognito window → "nativeTab is null" when using browser.tabs.move to move regular tab to incognito window
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/e42ba4e47d65 skip moving windows between pb and non-pb windows r=zombie
You need to log in before you can comment on or make changes to this bug.