Summary: | Null check the context in -[WKWebProcessPlugInFrame jsContextForServiceWorkerWorld:] | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Timothy Hatcher <timothy> | ||||||
Component: | WebKit API | Assignee: | Timothy Hatcher <timothy> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | cdumez, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Local Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Timothy Hatcher
2021-10-14 12:33:19 PDT
Created attachment 441257 [details]
Patch
Comment on attachment 441257 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=441257&action=review > Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrame.mm:76 > + if (JSGlobalContextRef context = _frame->jsContextForServiceWorkerWorld(&[world _scriptWorld])) auto Created attachment 441259 [details]
Patch
Committed r284195 (243009@main): <https://commits.webkit.org/243009@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 441259 [details]. |