Bug 233655

Summary: Null check value returned by WorkerOrWorkletGlobalScope::script()
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, ggaren, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=233289
Attachments:
Description Flags
Patch none

Description Chris Dumez 2021-11-30 13:04:44 PST
Null check value returned by WorkerOrWorkletGlobalScope::script() since it can in theory be null (it gets cleared in prepareForDestruction()).
Comment 1 Chris Dumez 2021-11-30 13:06:58 PST
Created attachment 445460 [details]
Patch
Comment 2 EWS 2021-11-30 22:12:04 PST
Committed r286349 (244708@main): <https://commits.webkit.org/244708@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 445460 [details].
Comment 3 Radar WebKit Bug Importer 2021-11-30 22:13:21 PST
<rdar://problem/85907320>