[webkit-reviews] review granted: [Bug 231758] Null check the context in -[WKWebProcessPlugInFrame jsContextForServiceWorkerWorld:] : [Attachment 441257] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 14 12:38:25 PDT 2021


Chris Dumez <cdumez at apple.com> has granted Timothy Hatcher
<timothy at apple.com>'s request for review:
Bug 231758: Null check the context in -[WKWebProcessPlugInFrame
jsContextForServiceWorkerWorld:]
https://bugs.webkit.org/show_bug.cgi?id=231758

Attachment 441257: Patch

https://bugs.webkit.org/attachment.cgi?id=441257&action=review




--- Comment #2 from Chris Dumez <cdumez at apple.com> ---
Comment on attachment 441257
  --> https://bugs.webkit.org/attachment.cgi?id=441257
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


More information about the webkit-reviews mailing list