-
Notifications
You must be signed in to change notification settings - Fork 972
Crash about dom storage context while browsing Twitter in private tabs with Tor #14392
Comments
This is necessary because we use `persist:tor' since for hysterical raisins there's only one normal `private' partition with in_memory_ = true. We use the virtual method IsOffTheRecord() to discriminate instead. Fixes #608. Fixes brave/browser-laptop#14392. Auditors: @darkdh
Fixed in brave/muon@96c2eb7. |
This is necessary because we use `persist:tor' since for hysterical raisins there's only one normal `private' partition with in_memory_ = true. We use the virtual method IsOffTheRecord() to discriminate instead. Fixes #608. Fixes brave/browser-laptop#14392. Auditors: @darkdh
This is necessary because we use `persist:tor' since for hysterical raisins there's only one normal `private' partition with in_memory_ = true. We use the virtual method IsOffTheRecord() to discriminate instead. Fixes #608. Fixes brave/browser-laptop#14392. Auditors: @darkdh
This is necessary because we use `persist:tor' since for hysterical raisins there's only one normal `private' partition with in_memory_ = true. We use the virtual method IsOffTheRecord() to discriminate instead. Fixes #608. Fixes brave/browser-laptop#14392. Auditors: @darkdh
This is necessary because we use `persist:tor' since for hysterical raisins there's only one normal `private' partition with in_memory_ = true. We use the virtual method IsOffTheRecord() to discriminate instead. Fixes #608. Fixes brave/browser-laptop#14392. Auditors: @darkdh
Either something re-broke this or the earlier change I cited as a fix only incidentally papered over the problem. It is back in 0.23.19 and in master. |
@bsclifton should we add this into a milestone? Maybe release 4? Crashing is never a good thing, especially with a new feature like Tor.. Thoughts? |
@riastradh-brave @kjozwiak can't repro on 0.23.31 |
@kjozwiak sounds good- pulled into release 4 |
Still reproduces for me on 0.23.31. |
https://jsfiddle.net/dqokhmsg/
so |
…er_suppressed(noopener) specified because WebContentsImpl::CreateNewWindow will use target_url as new site instance The problem was cloning original site instance cause the inconsistency between original partition and target partition because tor browser context enforce isolation storage so every different site has its own storage partition fix brave/browser-laptop#14392 Test Plan: 1. Open tor tab 2. Visit site contains rel="noopener" href (https://jsfiddle.net/dqokhmsg/) 3. Click the link 4. Brave shouldn't crash Auditors: @bridiver, @bbondy
Another case @jasonrsadler mentioned in slack that @riastradh-brave confirmed was the same issues: STR:
|
Test Plan:
|
Verified on Windows 10 x64 using
Verified on Ubuntu 17.10 x64
Verified with macOS 10.12.6 using
|
Using 0.23.70 with muon 8.0.1 and STR from description still produces a crash on macOS for me. However, the steps from #14392 (comment) and #14392 (comment) do not crash. Requested @kjozwiak to give it a try on macOS as well. @srirambv could not reproduce the crash on Win. |
The original STR still lead to crash, but I believe this is a different crash(#14806). Tested 0.23.70 on Ubuntu 17.10 |
Need to verify this(original steps) again once #14806 is fixed. |
This is necessary because we use `persist:tor' since for hysterical raisins there's only one normal `private' partition with in_memory_ = true. We use the virtual method IsOffTheRecord() to discriminate instead. Fixes #608. Fixes brave/browser-laptop#14392. Auditors: @darkdh
…er_suppressed(noopener) specified because WebContentsImpl::CreateNewWindow will use target_url as new site instance The problem was cloning original site instance cause the inconsistency between original partition and target partition because tor browser context enforce isolation storage so every different site has its own storage partition fix brave/browser-laptop#14392 Test Plan: 1. Open tor tab 2. Visit site contains rel="noopener" href (https://jsfiddle.net/dqokhmsg/) 3. Click the link 4. Brave shouldn't crash Auditors: @bridiver, @bbondy
Cleared |
Description
When in a private tab with Tor enabled, clicking on a link summary embedded in a tweet in an expanded Twitter thread in a new tab causes the browser to crash.
Steps to Reproduce
Please also see the following for other reproducible cases:
Actual result:
The browser crashes with the following stack trace.
Expected result:
The browser follows the link and opens it.
Reproduces how often:
100%
Brave Version
about:brave info:
Reproducible on current live release:
no
Additional Information
This does not happen in non-private tabs. This does not happen in private tabs with Tor disabled.
I will neither confirm nor deny whether I discovered this while at work.
The text was updated successfully, but these errors were encountered: