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

Some window.open calls incorrectly open about:blank #115

Open
benfrancis opened this issue Jul 15, 2017 · 1 comment
Open

Some window.open calls incorrectly open about:blank #115

benfrancis opened this issue Jul 15, 2017 · 1 comment

Comments

@benfrancis
Copy link

I've been creating a browser in HTML using qbrt and the Browser API and I've noticed that hyperlinks in Google Mail and Google Calendar open a new window at about:blank.

Basically the detail.url of mozbrowseropenwindow event payloads dispatched by hyperlinks in emails in GMail is about:blank rather than the actual URL included in an email.

I can't tell whether this is a bug in qbrt or (possibly more likely) in the Browser API itself. It's possible that it's a bug in my code and I'm doing something stupid but it works fine with other sites including other Google properties like Google News. It seems like GMail is doing something weird which the Browser API isn't coping with.

Downstream bug at webianproject/shell#182

Is it possible this is specific to qbrt, or should I file a bug against the Browser API in Gecko?

CC @kanru

@mykmelez
Copy link
Contributor

Sorry for the delay responding! It's possible that this is qbrt-specific, although I can't think of something in qbrt that would cause it.

It's probably worth filing further upstream, and perhaps trying to reduce a testcase that you can demonstrate in a chrome page that is part of Firefox (i.e. adding an HTML page to browser/chrome/content/ that loads one of the Google apps in a mozbrowser iframe and logs the detail.url of mozbrowseropenwindow events.

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

2 participants