Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(373)

Issue 3080018: According to ES-262, Object.seal and Object.freeze should return object's its... (Closed)

Created:
10 years, 4 months ago by burcu
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

According to ES-262, Object.seal and Object.freeze should return object's itself after the modifications. BUG=809 TEST=Seal and freeze a blank {} object and make sure that returning output's type is not undefined

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M AUTHORS View 1 chunk +1 line, -1 line 0 comments Download
M src/v8natives.js View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
Søren Thygesen Gjesse
10 years, 4 months ago (2010-08-03 08:38:57 UTC) #1
Thanks for the patch, could you please add tests to the mjsunit tests:

  test/mjsunit/object-freeze.js
  test/mjsunit/object-seal.js

Is this issue caught by any of the ES5 conformance tests?

Powered by Google App Engine
This is Rietveld 408576698