diff --git a/test/language/arguments-object/mapped/mapped-arguments-nonconfigurable-nonwritable-3.js b/test/language/arguments-object/mapped/mapped-arguments-nonconfigurable-nonwritable-3.js index aac554c2f3..dca0adcd23 100755 --- a/test/language/arguments-object/mapped/mapped-arguments-nonconfigurable-nonwritable-3.js +++ b/test/language/arguments-object/mapped/mapped-arguments-nonconfigurable-nonwritable-3.js @@ -8,7 +8,6 @@ description: > non-writable. Perform property attribute changes with two [[DefineOwnProperty]] calls. Add intervening call to SetMutableBinding. - Specification bug: https://bugs.ecmascript.org/show_bug.cgi?id=4371 flags: [noStrict] ---*/ @@ -17,11 +16,13 @@ function argumentsNonConfigurableThenNonWritableWithInterveningSetMutableBinding a = 2; Object.defineProperty(arguments, "0", {writable: false}); assert.sameValue(a, 2); - assert.sameValue(arguments[0], 1); + // `arguments[0] === 1` per ES2015, Rev 38, April 14, 2015 Final Draft. + // Specification bug: https://bugs.ecmascript.org/show_bug.cgi?id=4371 + assert.sameValue(arguments[0], 2); // Postcondition: Arguments mapping is removed. a = 3; assert.sameValue(a, 3); - assert.sameValue(arguments[0], 1); + assert.sameValue(arguments[0], 2); } argumentsNonConfigurableThenNonWritableWithInterveningSetMutableBinding(1);