[Webkit-unassigned] [Bug 174313] Implement EventTarget constructor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 5 18:55:55 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=174313

--- Comment #12 from Darin Adler <darin at apple.com> ---
Comment on attachment 375551
  --> https://bugs.webkit.org/attachment.cgi?id=375551
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=375551&action=review

> Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:7219
> +            push(@$outputArray, "        auto* jsObject = asObject(jsValue);\n");

Same comment applies here: this code assumes that the newly created value is an object. Is that guaranteed? Can it be null? Maybe it could be something different if there was an exception?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190806/5bd49b01/attachment-0001.html>


More information about the webkit-unassigned mailing list