Bug 233655 - Null check value returned by WorkerOrWorkletGlobalScope::script()
Summary: Null check value returned by WorkerOrWorkletGlobalScope::script()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-11-30 13:04 PST by Chris Dumez
Modified: 2021-11-30 22:13 PST (History)
3 users (show)

See Also:


Attachments
Patch (4.71 KB, patch)
2021-11-30 13:06 PST, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>