Bug 208593

Summary: callAsyncJavaScript with an invalid parameter and no completionHandler should not crash
Product: WebKit Reporter: Alex Christensen <achristensen>
Component: New BugsAssignee: Alex Christensen <achristensen>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch beidson: review+

Description Alex Christensen 2020-03-04 13:18:38 PST
callAsyncJavaScript with an invalid parameter should immediately raise an exception
Comment 1 Alex Christensen 2020-03-04 13:20:31 PST
Created attachment 392465 [details]
Patch
Comment 2 Brady Eidson 2020-03-04 13:24:26 PST
Exceptions are not Swift friendly, so we should continue just returning an error.
Comment 3 Alex Christensen 2020-03-04 13:32:08 PST
Created attachment 392470 [details]
Patch
Comment 4 Alex Christensen 2020-03-04 13:35:21 PST
http://trac.webkit.org/r257876
Comment 5 Radar WebKit Bug Importer 2020-03-04 13:36:15 PST
<rdar://problem/60054026>