Bug 61677

Summary: Property caching is too aggressive for API objects
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
none
Patch oliver: review+

Description Geoffrey Garen 2011-05-27 16:38:34 PDT
Property caching is too aggressive for API objects
Comment 1 Geoffrey Garen 2011-05-27 16:41:07 PDT
Created attachment 95227 [details]
Patch
Comment 2 WebKit Review Bot 2011-05-27 16:43:14 PDT
Attachment 95227 [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/runtime/JSTypeInfo.h:37:  Code inside a namespace should not be indented.  [whitespace/indent] [4]
Source/JavaScriptCore/API/tests/testapi.c:358:  PropertyCatchalls_getProperty is incorrectly named. Don't use underscores in your identifier names.  [readability/naming] [4]
Source/JavaScriptCore/API/tests/testapi.c:395:  PropertyCatchalls_setProperty is incorrectly named. Don't use underscores in your identifier names.  [readability/naming] [4]
Source/JavaScriptCore/API/tests/testapi.c:415:  PropertyCatchalls_getPropertyNames is incorrectly named. Don't use underscores in your identifier names.  [readability/naming] [4]
Source/JavaScriptCore/API/tests/testapi.c:429:  PropertyCatchalls_definition is incorrectly named. Don't use underscores in your identifier names.  [readability/naming] [4]
Source/JavaScriptCore/API/tests/testapi.c:452:  PropertyCatchalls_class is incorrectly named. Don't use underscores in your identifier names.  [readability/naming] [4]
Total errors found: 6 in 7 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Geoffrey Garen 2011-05-27 16:50:06 PDT
Created attachment 95228 [details]
Patch
Comment 4 WebKit Review Bot 2011-05-27 16:52:10 PDT
Attachment 95228 [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/runtime/JSTypeInfo.h:37:  Code inside a namespace should not be indented.  [whitespace/indent] [4]
Source/JavaScriptCore/API/tests/testapi.c:358:  PropertyCatchalls_getProperty is incorrectly named. Don't use underscores in your identifier names.  [readability/naming] [4]
Source/JavaScriptCore/API/tests/testapi.c:395:  PropertyCatchalls_setProperty is incorrectly named. Don't use underscores in your identifier names.  [readability/naming] [4]
Source/JavaScriptCore/API/tests/testapi.c:415:  PropertyCatchalls_getPropertyNames is incorrectly named. Don't use underscores in your identifier names.  [readability/naming] [4]
Source/JavaScriptCore/API/tests/testapi.c:429:  PropertyCatchalls_definition is incorrectly named. Don't use underscores in your identifier names.  [readability/naming] [4]
Source/JavaScriptCore/API/tests/testapi.c:452:  PropertyCatchalls_class is incorrectly named. Don't use underscores in your identifier names.  [readability/naming] [4]
Total errors found: 6 in 7 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 Geoffrey Garen 2011-05-27 16:53:32 PDT
<rdar://problem/9518788>
Comment 6 Geoffrey Garen 2011-05-27 16:53:40 PDT
Committed r87586: <http://trac.webkit.org/changeset/87586>