Brave-ios: sites not loading properly with shields down

Created on 18 Jul 2019  路  8Comments  路  Source: brave/brave-ios

Description:

Sites aren't loading properly when putting shields down.

Steps to Reproduce

  1. Enabled all switches for shields in settings.
  2. Navigated to slashdot.org. 3rd party ads don't load as expected. Turn off shields --> 3rd party ads still don't load but should.
  3. Navigated to https-everywhere.badssl.com. HTTPSE is working as expected. Turn off shields. --> HTTPSE is off as expected.
  4. Navigated to raisegame.com. Shields block page as expected. Turn off shields --> Page still shows as blocked by shields but page should load.
  5. Navigated to brianbondy.com. Site doesn't load as expected. Turn off shields. --> site still doesn't load but should.
  6. Navigated to browserleaks.com/canvas. See message about JavaScript Disabled on site. Turn off shields. --> Still see message about JavaScript Disabled. Doesn't show fingerprinting info as expected.

*note - if you toggle the specific setting, i.e. Block Scripts for brianbondy.com, the site does load properly. so individual toggles seem to be working as expected

Actual result:
Most sites above (excluding https-everywhere.badssl.com) aren't loading when putting shields down.

Expected result:
Putting shields down on a site should allow it to load properly.

Reproduces how often: [Easily reproduced, Intermittent Issue]
easily

Brave Version:
1.9.3 (19.05.22.15)
1.10 (19.07.16.23)

Device details:
iPad 5th Gen

Website problems only:

  • did you check with Brave Shields down? yes
  • did you check in Safari/Firefox (WkWebView-based browsers)? n/a

Additional Information

Shields QA Pass - iPad QA Pass - iPhone QA Pass - iPhone X QBlocked QYes bug release-noteexclude test-plaspecified

Most helpful comment

@srirambv doubt it, I will check though

All 8 comments

Basically running into the same issues as @LaurenWags when it comes to global shield settings still being applied even though Brave shields has been disabled. Simple case:

  • enable Block Scripts globally from Settings
  • visit http://brianbondy.com and the entire website appears white (expected as script is blocked)
  • disable Brave shields for http://brianbondy.com and you'll notice the website not loading
  • disable Block Scripts globally from Settings
  • visit http://brianbondy.com and the website will load with shields disabled

As @LaurenWags mentioned above, this is happening on both 1.9.3 (19.05.22.15) & 1.10 (19.07.16.23) so it's not a new regression but should be looked at as it might lead to other Shields issues. @CCing @jhreis @anthonypkeane not sure if we want to block this for 1.10 as it already exits in 1.9.3 (19.05.22.15). Thoughts?

Here's another quick STR/Test Case:

@jhreis @anthonypkeane we should probably fix this one sooner than later as it could cause some confusion for folks who disable the shields but are still seeing things blocked/not working as expected.

@iccub does #1879 fix this issue as well?

@srirambv doubt it, I will check though

I went over all test cases and all seem to work now, closing this ticket, please re-test it in 1.20

Verification passed on iPhone XR with iOS 13.5 running 1.21(20.10.08.12)

- Verified page loads correctly when shields down

Verification passed on iPhone 7+ with iOS 14.0.1 running 1.21(20.10.08.12)

- Verified page loads correctly when shields down

Verification passed on iPad Pro with iOS 12.4.1 running 1.21(20.10.08.12)

  • Verified page loads correctly when shields down
Was this page helpful?
0 / 5 - 0 ratings

Related issues

srirambv picture srirambv  路  7Comments

jumde picture jumde  路  8Comments

srirambv picture srirambv  路  9Comments

VimS picture VimS  路  6Comments

kjozwiak picture kjozwiak  路  4Comments