| Summary: | __proto__ shorthand property should not modify prototype in Object Literal construction | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> | ||||
| Component: | JavaScriptCore | Assignee: | Joseph Pecoraro <joepeck> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | ggaren, joepeck, rniwa | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 215769 | ||||||
| Attachments: |
|
||||||
|
Description
Joseph Pecoraro
2015-03-05 20:29:14 PST
Created attachment 248045 [details]
[PATCH] Proposed Fix
Comment on attachment 248045 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=248045&action=review r=me > Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp:379 > + generator.emitDirectPutById(newObj, *node.name(), generator.emitNode(node.m_assign), node.putType() == PropertyNode::KnownDirect); I think it would be slightly clearer to pass through the put type instead of a bool. This landed a while ago: r181179 <http://trac.webkit.org/changeset/181179> |