[webkit-reviews] review granted: [Bug 198534] Crash when calling XMLHttpRequest.setRequestHeader() in a worker : [Attachment 371297] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 4 10:14:51 PDT 2019


Alex Christensen <achristensen at apple.com> has granted Chris Dumez
<cdumez at apple.com>'s request for review:
Bug 198534: Crash when calling XMLHttpRequest.setRequestHeader() in a worker
https://bugs.webkit.org/show_bug.cgi?id=198534

Attachment 371297: Patch

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




--- Comment #3 from Alex Christensen <achristensen at apple.com> ---
Comment on attachment 371297
  --> https://bugs.webkit.org/attachment.cgi?id=371297
Patch

You could also check document() instead of
scriptExecutionContext()->isDocument()


More information about the webkit-reviews mailing list