This repository has been archived by the owner on May 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 448
Qwant, Startpage links and popups do not work in private mode #456
Labels
bug
needs security review
priority/P1
A very extremely bad problem. We might push a hotfix for it.
QA Pass - iPhone
QA/Yes
release/blocking
release-notes/include
Comments
2 tasks
This affects one of the search engines we support, Startpage.com, which by default opens search results in a new window. |
Please see: #446 (comment) for rationale. |
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bug
needs security review
priority/P1
A very extremely bad problem. We might push a hotfix for it.
QA Pass - iPhone
QA/Yes
release/blocking
release-notes/include
We should handle window.open when in private mode
Enhancement for #446 & #455:
What
In private mode the WKProcessPool of the WKWebViewConfiguration is overridden to avoid passing of cookies and other data between WKWebViews. This behaviour when combined with a popup ie window.open results in a crash
Why
When a window.open is called the parent WKWebView calls the delegate method:
in
WKUIDelegate
. It provides a configuration for the new window. When in private mode, this configuration is altered resulting in corruption of configuration and subsequent crash.Current-Fix
For now all popups are blocked when in private mode. (BrowserViewController.swift)
See: #456 (comment)
Enhancement
Two possible solutions:
Description:
Steps to Reproduce
Actual result:
Expected result:
Reproduces how often: [Easily reproduced, Intermittent Issue]
Brave Version:
Device details:
Website problems only:
Additional Information
The text was updated successfully, but these errors were encountered: