Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Open new windows in a new tab instead" is not enabled #970

Open
andymckay opened this issue Jun 9, 2017 · 9 comments
Open

"Open new windows in a new tab instead" is not enabled #970

andymckay opened this issue Jun 9, 2017 · 9 comments

Comments

@andymckay
Copy link
Contributor

andymckay commented Jun 9, 2017

Is this a feature request or a bug?

Bug

What is the current behavior?

For the moment don't use web-ext. Get a Firefox with a clean profile and make sure e10s is enabled in about:support. Try out this add-on: https://gist.github.com/kentbrew/190a0ad83f037567eb2393c235e78043. Go to example.com, click on pinterest in the frame. Notice it won't open the pinterest page.

Ok, so that is this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1357589, it doesn't work with e10s on.

Now go try this with web-ext. It works and opens a pinterest page.

Why's that then? Has web-ext disabled e10s somehow? Or is something else going on.

What is the expected or desired behavior?

web-ext should be as close to release as possible.

Version information (for bug reports)

  • Firefox version: all
  • Your OS and version: os x
  • Paste the output of these commands:
node --version && npm --version && web-ext --version

v7.8.0
4.2.0
1.9.1

/cc @rpl who likely knows the most about this.

@andymckay andymckay changed the title Does web-ext disable e10s? "Open new windows in a new tab instead" is not enabled Jun 9, 2017
@andymckay
Copy link
Contributor Author

It's not e10s, its because: "Open new windows in a new tab instead" in about:preferences is not turned on. On a new Firefox Nightly it is.

@kentbrew
Copy link

When using web-ext instead of loading through about:debugging:

This extension opens the new page in a new window but gets me blank tabs when I turn on "Open new windows in a new tab instead"

@kentbrew
Copy link

I've just gone through the process of building and signing the test add-on and then installing it as a permanent extension. It is behaving the same way; when "Open new windows in a new tab instead" is selected in about:preferences, we get an empty tab.

@andymckay
Copy link
Contributor Author

That's bug https://bugzilla.mozilla.org/show_bug.cgi?id=1357589. I'd like to just have web-ext be as close to the default experience as possible.

@kumar303
Copy link
Contributor

@rpl
Copy link
Member

rpl commented Jun 12, 2017

@andymckay @kumar303 I think that this is likely to be related to the Firefox preferences that are implicitly set internally by the firefox-profile-js dependency, in particular this line:

The browser.link.open_newwindow preference is explicitly set to 2 by firefox-profile-js, while its default is 3 in mozilla-central:

@apoorvasingh17
Copy link

Hi, can I work on this?

@kumar303
Copy link
Contributor

kumar303 commented Sep 7, 2017

@apoorvasingh17 I don't think this can be fixed in the web-ext codebase if I'm reading #970 (comment) correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants