diff options
author | Robin Burchell <robin.burchell@crimson.no> | 2017-02-03 08:28:20 +0100 |
---|---|---|
committer | Robin Burchell <robin.burchell@crimson.no> | 2017-02-03 15:10:36 +0000 |
commit | fb787067ee05dcf50f53ed01797eaaad246e913e (patch) | |
tree | 0f4106785f6f08eea51a6b7395ac6ea5369dcf02 /tests/manual | |
parent | 6653fdb6bfb538b601685966ad96e055bafbdbcf (diff) |
ObjectPrototype: Object.freeze() no longer sets TypeError for a non-Object
This is a behavior change in ES6. Refer to:
19.1.2.5 (Object.freeze)
Annex E (Additions and Changes That Introduce Incompatibilities with
Prior Editions)
ES6 tests test/built-ins/Object/freeze before:
=== Summary ===
- Ran 92 tests
- Passed 66 tests (71.7%)
- Failed 26 tests (28.3%)
after:
=== Summary ===
- Ran 92 tests
- Passed 76 tests (82.6%)
- Failed 16 tests (17.4%)
Change-Id: Ia28da790b510580248056e0df7b305a5edc470dd
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/manual')
-rw-r--r-- | tests/manual/v4/TestExpectations | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/manual/v4/TestExpectations b/tests/manual/v4/TestExpectations index abb155d9d2..64141dd07e 100644 --- a/tests/manual/v4/TestExpectations +++ b/tests/manual/v4/TestExpectations @@ -127,3 +127,9 @@ S15.10.6.2_A9 failing S15.10.6.3_A9 failing S15.10.6.4_A9 failing +# Object.freeze(v) on a non-object returns v, no longer TypeError +15.2.3.9-1 failing +15.2.3.9-1-1 failing +15.2.3.9-1-2 failing +15.2.3.9-1-3 failing +15.2.3.9-1-4 failing |