[webkit-reviews] review granted: [Bug 170650] test262: test262/test/annexB/language/expressions/object/__proto__-fn-name.js : [Attachment 306603] [PATCH] Proposed Fix

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 9 08:07:50 PDT 2017


Saam Barati <sbarati at apple.com> has granted Joseph Pecoraro
<joepeck at webkit.org>'s request for review:
Bug 170650: test262:
test262/test/annexB/language/expressions/object/__proto__-fn-name.js
https://bugs.webkit.org/show_bug.cgi?id=170650

Attachment 306603: [PATCH] Proposed Fix

https://bugs.webkit.org/attachment.cgi?id=306603&action=review




--- Comment #6 from Saam Barati <sbarati at apple.com> ---
Comment on attachment 306603
  --> https://bugs.webkit.org/attachment.cgi?id=306603
[PATCH] Proposed Fix

View in context: https://bugs.webkit.org/attachment.cgi?id=306603&action=review

> JSTests/stress/inferred-names.js:125
> +// __proto__ name is not inferred in Object Literals if not computed.

This disagrees with what your test does below.

> JSTests/stress/inferred-names.js:135
> +assert( ({__proto__(){}}).__proto__.name === "__proto__" );

This isn't computed, but still has name "__proto__". Is that expected?


More information about the webkit-reviews mailing list