Summary: | Fix missing exception checks and handling in JSC APIs. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Mark Lam <mark.lam> | ||||||
Component: | JavaScriptCore | Assignee: | Mark Lam <mark.lam> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | fpizlo, keith_miller, msaboff, rmorisset, saam, tzagallo, webkit-bug-importer, ysuzuki | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=210725 | ||||||||
Attachments: |
|
Description
Mark Lam
2020-04-19 01:03:57 PDT
Created attachment 396897 [details]
proposed patch.
Comment on attachment 396897 [details]
proposed patch.
Need a bit more work. New patch coming.
Created attachment 396920 [details]
proposed patch.
Comment on attachment 396920 [details]
proposed patch.
Can you add tests for all this?
(In reply to Saam Barati from comment #4) > Comment on attachment 396920 [details] > proposed patch. > > Can you add tests for all this? I already tried but am not able to. It was trickier than it looked on the surface. The result keep coming back as undefined when an exception is thrown. I filed https://bugs.webkit.org/show_bug.cgi?id=210725 to investigate this later. Thanks for the review. Landed in r260343: <http://trac.webkit.org/r260343>. |