Bug 262175 - REGRESSION (Safari 16.4): Script error on page load (when page is loaded from cache)
Summary: REGRESSION (Safari 16.4): Script error on page load (when page is loaded from...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: Safari 16
Hardware: iPhone / iPad Unspecified
: P2 Critical
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-27 04:52 PDT by andriusk1997
Modified: 2023-09-27 18:01 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andriusk1997 2023-09-27 04:52:04 PDT
Hello,

We have noticed issues in IOS Safari >16.4 versions page caching (during browser forward and back navigation, also called bfcache). During back-forward navigation when the page is retrieved from cache we receive an error (via  window.addEventListener('error'). This error returns very generic information around it:

message: Script error.
source: 
lineno: 0
colno: 0
error: null 

As mentioned, issue emerged from 16.4 version and ONLY in IOS devices.
Comment 1 Radar WebKit Bug Importer 2023-09-27 18:01:46 PDT
<rdar://problem/116152076>