multi-account-containers icon indicating copy to clipboard operation
multi-account-containers copied to clipboard

Opening a new tab and going to a particular url auto-closes the tab

Open danielquinn opened this issue 7 years ago • 6 comments

I have a domain I've added to my /etc/hosts file to allow me to go to http://dev.mycompany.com/ and my local Nginx feeds this back locally to http://localhost:8000.

With containers enabled, the following is the case:

  1. I open a new tab with Ctrl+t
  2. I type dev.mycompany.com into the location bar
  3. The browser starts to go to the page, and then just closes the tab.
  • With containers disabled, this works fine.
  • This works fine in a private browsing window
  • This behaviour only appears to happen with this particular domain. http://localhost:8000/ works fine, as does any other domain I tried.
  • Even if the dev server running on port 8000 isn't running (so Nginx just returns a 502 Bad Gateway), the tab still auto-closes.

Firefox 55.0.2 (64-bit) on Ubuntu

Enabled plugins:

  • Lastpass
  • GNOME Shell integration
  • Privacy Badger
  • Reddit Enhancement Suite
  • Containers

┆Issue is synchronized with this Jira Task

danielquinn avatar Sep 18 '17 12:09 danielquinn

Have you assigned dev.mycompany.com to a container?

groovecoder avatar Sep 18 '17 14:09 groovecoder

Nope. Not as far as I could tell anyway. I went through each container and looked at the auto-assigned domains and it wasn't in there. In fact, nothing with .mycompany.com was listed.

danielquinn avatar Sep 19 '17 11:09 danielquinn

I'm not able to reproduce this. 😢

groovecoder avatar Sep 19 '17 15:09 groovecoder

@danielquinn can you:

  1. go to about:profiles
  2. open the root directory of the current profile
  3. open [root-directory]/browser-extension-data/@testpilot-containers/storage in an editor and paste it here (you might want to double check and redact things perhaps)
  4. open [root-directory]/containers in an editor and paste it here.
  5. The following may also exist: [root-directory]/jetpack/@testpilot-containers/simple-storage again paste that here if it exists.

Thanks!

jonathanKingston avatar Sep 19 '17 22:09 jonathanKingston

Sure, here you go. The personal domain in question is dev.moneymover.com:

$ cat browser-extension-data/@testpilot-containers/storage.js  | jq .
{
  "browserActionBadgesClicked": [
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "2.4.1",
    "3.1.0",
    "3.1.0",
    "3.1.0",
    "4.0.1",
    "4.0.1",
    "4.0.1",
    "4.0.1",
    "4.0.1",
    "4.0.1",
    "4.0.1",
    "4.0.1",
    "4.0.1",
    "4.0.1",
    "4.0.1",
    "4.0.1",
    "4.0.1",
    "4.0.1",
    "4.0.1",
    "4.0.1"
  ],
  "onboarding-stage": 5,
  "siteContainerMap@@_dev.moneymover.com": {
    "userContextId": "2",
    "neverAsk": true
  },
  "siteContainerMap@@_gitlab.com": {
    "userContextId": "9",
    "neverAsk": true
  },
  "siteContainerMap@@_github.com": {
    "userContextId": "10",
    "neverAsk": true
  },
  "siteContainerMap@@_www.linkedin.com": {
    "userContextId": "11",
    "neverAsk": true
  },
  "siteContainerMap@@_www.google.ca": {
    "userContextId": "12",
    "neverAsk": false
  },
  "siteContainerMap@@_www.google.co.uk": {
    "userContextId": "12",
    "neverAsk": false
  },
  "siteContainerMap@@_accounts.google.com": {
    "userContextId": "12",
    "neverAsk": false
  },
  "siteContainerMap@@_www.reddit.com": {
    "userContextId": "14",
    "neverAsk": true
  },
  "siteContainerMap@@_www.meetup.com": {
    "userContextId": "13",
    "neverAsk": true
  },
  "siteContainerMap@@_www.youtube.com": {
    "userContextId": "12",
    "neverAsk": true
  },
  "siteContainerMap@@_opbeat.com": {
    "userContextId": "10",
    "neverAsk": true
  },
  "siteContainerMap@@_www.amazon.fr": {
    "userContextId": "16",
    "neverAsk": true
  },
  "siteContainerMap@@_www.amazon.co.uk": {
    "userContextId": "16",
    "neverAsk": false
  },
  "siteContainerMap@@_www.amazon.de": {
    "userContextId": "16",
    "neverAsk": false
  },
  "siteContainerMap@@_www.amazon.ca": {
    "userContextId": "16",
    "neverAsk": false
  },
  "siteContainerMap@@_www.amazon.com": {
    "userContextId": "16",
    "neverAsk": false
  },
  "siteContainerMap@@_www.imdb.com": {
    "userContextId": "16",
    "neverAsk": false
  },
  "siteContainerMap@@_stackoverflow.com": {
    "userContextId": "12",
    "neverAsk": true
  },
  "siteContainerMap@@_django-polymorphic.readthedocs.io": {
    "userContextId": "10",
    "neverAsk": false
  },
  "identitiesState@@_firefox-container-7": {
    "hiddenTabs": [],
    "openTabs": 1
  },
  "identitiesState@@_firefox-container-8": {
    "hiddenTabs": [],
    "openTabs": 1
  },
  "identitiesState@@_firefox-container-9": {
    "hiddenTabs": [],
    "openTabs": 2
  },
  "identitiesState@@_firefox-container-10": {
    "hiddenTabs": [],
    "openTabs": 2
  },
  "identitiesState@@_firefox-container-11": {
    "hiddenTabs": [],
    "openTabs": 0
  },
  "identitiesState@@_firefox-container-12": {
    "hiddenTabs": [],
    "openTabs": 0
  },
  "identitiesState@@_firefox-container-13": {
    "hiddenTabs": [],
    "openTabs": 0
  },
  "identitiesState@@_firefox-container-14": {
    "hiddenTabs": [],
    "openTabs": 0
  },
  "identitiesState@@_firefox-container-16": {
    "hiddenTabs": [],
    "openTabs": 0
  },
  "siteContainerMap@@_gist.github.com": {
    "userContextId": "10",
    "neverAsk": false
  },
  "identitiesState@@_firefox-default": {
    "hiddenTabs": []
  },
  "identitiesState@@_firefox-private": {
    "hiddenTabs": []
  },
  "identitiesState@@_firefox-container-17": {
    "hiddenTabs": []
  }
}
$ cat jetpack/@testpilot-containers/simple-storage/store.json | jq .
{
  "savedConfiguration": {
    "version": 2,
    "prefs": {
      "privacy.userContext.enabled": true,
      "privacy.userContext.longPressBehavior": 2,
      "privacy.userContext.ui.enabled": false,
      "privacy.usercontext.about_newtab_segregation.enabled": true
    }
  }
}

danielquinn avatar Sep 21 '17 09:09 danielquinn

I've the same problem; In my case I want to access a site that was associated to a container before ff 57. After the update to FF57 I've installed the Multi-Account Containers extension from GitHub (v. 4.0.2)

dvd0101 avatar Sep 27 '17 09:09 dvd0101