Bug 181902 - Release assertion in canExecuteScript when executing scripts during page cache restore
Summary: Release assertion in canExecuteScript when executing scripts during page cach...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-01-19 21:50 PST by Ryosuke Niwa
Modified: 2018-01-21 19:39 PST (History)
4 users (show)

See Also:


Attachments
Fixes the crash (11.42 KB, patch)
2018-01-19 22:26 PST, Ryosuke Niwa
koivisto: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2018-01-19 21:50:31 PST
The release assertion in canExecuteScript is hit when scripts are executed while restoring a document from a page cache.

<rdar://problem/35656072>
Comment 1 Ryosuke Niwa 2018-01-19 22:26:05 PST
Created attachment 331831 [details]
Fixes the crash
Comment 2 Ryosuke Niwa 2018-01-21 19:38:27 PST
Thanks for the review!
Comment 3 Ryosuke Niwa 2018-01-21 19:39:37 PST
Committed r227280: <https://trac.webkit.org/changeset/227280>