| Summary: | global function declaration should be throwing a TypeError if trying to override a readonly property | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Daejun Park <daejunpark> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | ggaren, kling, msaboff, oliver, webkit-bug-importer |
| Priority: | P2 | Keywords: | EasyFix, InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac (Intel) | ||
| OS: | OS X 10.9 | ||
|
Description
Daejun Park
2014-11-18 19:10:45 PST
Retitling to reflect actual bug - it's not due to a duplicate function. We're short circuiting creation of a new global property when we decide to shadow and that means we skip the readonly check on the existing property. Whoops. |