Bug 262175

Summary: REGRESSION (Safari 16.4): Script error on page load (when page is loaded from cache)
Product: WebKit Reporter: andriusk1997
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Critical CC: beidson, cdumez, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: iPhone / iPad   
OS: Unspecified   

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>