Skip to content
This repository was archived by the owner on Nov 1, 2022. It is now read-only.

Conversation

@pocmo
Copy link
Contributor

@pocmo pocmo commented Nov 13, 2020

No description provided.

@pocmo pocmo added the 🕵️‍♀️ needs review PRs that need to be reviewed label Nov 13, 2020
@pocmo pocmo requested a review from csadilek November 13, 2020 17:52
@csadilek csadilek self-assigned this Nov 13, 2020
WindowRequest.Type.OPEN -> consumeWindowRequest(state.id) {
if (state.content.private) {
tabsUseCases.addPrivateTab(
url = windowRequest.url,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only consequence of this is that we'll see an initial "about:blank" load for new windows (target="_blank" links and window.open).

We have a workaround for this in GeckoEngineSession: https://github.com/mozilla-mobile/android-components/blob/master/components/browser/engine-gecko-nightly/src/main/java/mozilla/components/browser/engine/gecko/GeckoEngineSession.kt#L436-L441 but it won't apply here.

Since this behaved the same in Fennec though we decided it's fine to land this.

@pocmo pocmo added 🛬 needs landing PRs that are ready to land and removed 🕵️‍♀️ needs review PRs that need to be reviewed labels Nov 16, 2020
@mergify mergify bot merged commit 447c177 into mozilla-mobile:master Nov 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

🛬 needs landing PRs that are ready to land

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants