Bug 144618

Summary: Consider that static values won't work as intended when defined in the global scope and when JSCallbackObject has a static value with the same identifier
Product: WebKit Reporter: Saam Barati <saam>
Component: JavaScriptCoreAssignee: Saam Barati <saam>
Status: NEW    
Severity: Normal CC: basile_clement, fpizlo, ggaren, mark.lam, mmirman, msaboff, oliver
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Saam Barati
Reported 2015-05-04 19:48:36 PDT
For example, if we define a static value named "staticValue" on a JSCallbackObject (and that value doesn't return 20), this JS code won't work: ``` var staticValue = 20; assert(staticValue === 20); ``` Consider matching the semantics of static functions here.
Attachments
Note You need to log in before you can comment on or make changes to this bug.