This repository has been archived by the owner on May 10, 2024. It is now read-only.
Loading some websites hanging because of a Intermittent error caused by injected scripts #6888
Labels
bug
priority/P2
A bad problem. We might uplift this to the next planned release.
privacy
QA Pass - iPad
QA Pass - iPhone
QA/Yes
release/blocking
Milestone
Description:
Weird behaviour while loading a webpage where webpage hangs and freezes entire Webview. Please check reproduction steps, videos and additional information section for extra details.
Steps to Reproduce
Steps 1:
Steps 2:
Actual result:
Website hangs - Cant scroll, press cancel or refresh
Simulator.Screen.Recording.-.iPhone.14.Pro.-.2023-02-06.at.10.25.40.mp4
Screen.Recording.2023-02-03.at.4.22.42.PM.mov
Expected result:
No infinite loads or hangs on the website- loads properly
Reproduces how often: [Easily reproduced, Intermittent Issue]
Intermittent Issue however If you can’t reproduce try deleting app/resetting iOS sim (Device > Erase all contents & settings) before trying
Brave Version:
Device details:
N/A however the tests are being done using a iPhone iOS 16.3 and simulator 16.2
Website problems only:
Additional Information
This can be reproduced reliably on simulator / device. Logs in Safari are showing “kek” logs repeat recursively and the number of kekFinity increases continuously and tab loses it capability of refresh and stop.
So according to the tests performed the problem is being suspected in RequestBlocking script however it is not 100 percent.
When the website successfully loads once, this will not happen again because WebKit is probably caching state of current webview.
So after getting the error If Block Cross Site trackers are disabled, the problem might stop.
To reproduce as mentioned above Erase All content should be invoked in simulator, while testing is being done on simulator.
This is a very likely the CAUSE and CULPRIT for external links is causing application to freeze in black screen. It has been reproduced while doing tests related the problem.
cc @cuba @brave/ios @kjozwiak @Uni-verse
The text was updated successfully, but these errors were encountered: