brave / brave-ios

Brave iOS Browser
https://brave.com
Mozilla Public License 2.0
1.7k stars 440 forks source link

[Follow up to #8579] The sound continues playing after `screen time` is triggered for the website, like `youtube.com` #8715

Open hffvld opened 9 months ago

hffvld commented 9 months ago

Description:

Follow-up to #8579

Steps to Reproduce

  1. Device settings > Screen time > App limits
  2. Set a limit for youtube.com
  3. Launch Brave > Settings > Brave Shields & Privacy
  4. Scroll down and turn on Enable Screen Time > Close the settings
  5. NTP > Go to youtube.com > Play any video
  6. Wait for the screen time to hit the limit > Observe

Actual result:

The sound continues playing after screen time is triggered for the website, like youtube.com. The same issue is not reproducible in Safari.

https://github.com/brave/brave-ios/assets/128532965/a1406c05-448d-4065-a7ef-54388a297ba8

Expected result:

The sound must stop after screen time is triggered for the website, like youtube.com.

Safari

https://github.com/brave/brave-ios/assets/128532965/9d036ac4-fcb9-4648-ad26-691e9691e201

Reproduces how often: [Easily reproduced, Intermittent Issue]

Easily reproduced

Brave Version:

Brave build: 1.62 (24.1.29.12)
BraveCore: 1.62.153 (121.0.6167.85)

Device details:

iPhone 14 / iOS 17.4 Beta

Website problems only:

Additional Information