Bug 61678

Summary: JS API is too aggressive about throwing exceptions for NULL get or set operations
Product: WebKit Reporter: Geoffrey Garen <ggaren>
Component: New BugsAssignee: Geoffrey Garen <ggaren>
Status: RESOLVED FIXED    
Severity: Normal CC: oliver, webkit.review.bot
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch oliver: review+

Description Geoffrey Garen 2011-05-27 17:16:40 PDT
JS API is too aggressive about throwing exceptions for NULL get or set operations
Comment 1 Geoffrey Garen 2011-05-27 17:19:50 PDT
Created attachment 95233 [details]
Patch
Comment 2 Geoffrey Garen 2011-05-27 17:20:25 PDT
<rdar://problem/9518965>
Comment 3 WebKit Review Bot 2011-05-27 17:22:48 PDT
Attachment 95233 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/API/JSCallbackObject..." exit_code: 1

Source/JavaScriptCore/API/tests/testapi.c:314:  MyObject_set_nullGetForwardSet is incorrectly named. Don't use underscores in your identifier names.  [readability/naming] [4]
Total errors found: 1 in 5 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 Geoffrey Garen 2011-05-27 17:29:00 PDT
Committed r87588: <http://trac.webkit.org/changeset/87588>