Bug 144618 - 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
Summary: Consider that static values won't work as intended when defined in the global...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Saam Barati
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-04 19:48 PDT by Saam Barati
Modified: 2015-05-04 19:48 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Saam Barati 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.