Bug 272295
| Summary: | WKWebView sometimes experiences continuous white screen until the app restarts to load the page normally. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | carvetime <576527857> |
| Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Critical | CC: | 1437621004, 307531759, achristensen, ahmad.saleem792, ap, beidson, webkit-bug-importer, wenson_hsieh |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 17 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 17 | ||
carvetime
Our app occasionally experiences a persistent white screen issue when loading H5 pages using WKWebView. Once this persistent white screen problem occurs, all subsequent WKWebView loads also result in white screens. Upon investigation through console logs, we found that the WKWebView delegate method "didCommitNavigation" is being executed, but the delegate methods "didFailNavigation" and "didFinishNavigation" are not. Additionally, network connectivity has been verified as normal. It feels like JavaScript is stuck in this scenario.
We also found the following suspicious logs in the console:
1、Should process URL called
2、Fetching native takeover URLs
3、Native takeover URLs fetched
4、URL shouldn't be processed
5、Failed to request allowed query parameters from WebPrivacy
Could you please help identify the causes behind the issues described above, and suggest any effective approaches our app can take to resolve or mitigate such problems?
Thank you.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
Thank you for the report. What is an "H5 page"? Could you please share steps to reproduce the two could follow?
Radar WebKit Bug Importer
<rdar://problem/126431172>
carvetime
"H5 page" is an HTML Web Page.
Ahmad Saleem
@carvetime - can you share reduction to help us reproduce this bug with steps to reproduce?
e.g.,
1) Open this 'reduction' (.html - attached to bug) on [iOS / macOS etc.]
2) Click or move this etc.
Actual Result: ABC
Expected Result: XYZ
___
It would help immensely. Also if you can share also detail whether it was working with iOS or macOS 17.x or 16.x release?
carvetime
hello,I have already emailed you the relevant logs and information. Could you please help me check if there is a bug in the WebKit engine?
King
I have the same question。
The phenomenon of the problem is the same as yours.
This is an occasional issue. If the user encounters this problem, they must restart the app to solve it。
King
It seems that the loading of all websites is abnormal.
Some websites have a white screen,
Some websites can only render a portion of the elements.
smile
I have encountered the same problem, has it been resolved?