aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-04-25 22:34:55 +0200
committerLars Knoll <lars.knoll@qt.io>2018-05-02 14:20:16 +0000
commit440a25388b55d465873647b3dc9f470ed68e917e (patch)
treee79cae143659596bcd62b3423699f0cdf2c41fd3 /tests
parenta4207b2f958e12b01653d8285d9433a77bce9c52 (diff)
Make instanceOf compliant with the ES7 spec
Add implementation for Function.prototype[Symbol.hasInstance] and call it when defined. Change-Id: Iad6b0c075452b46ba710ffe7b94b74b71f715d22 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qml/ecmascripttests/TestExpectations9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/auto/qml/ecmascripttests/TestExpectations b/tests/auto/qml/ecmascripttests/TestExpectations
index a5f6eafaa7..bca6b9892d 100644
--- a/tests/auto/qml/ecmascripttests/TestExpectations
+++ b/tests/auto/qml/ecmascripttests/TestExpectations
@@ -583,16 +583,10 @@ built-ins/Function/length/S15.3.5.1_A2_T1.js fails
built-ins/Function/length/S15.3.5.1_A2_T2.js fails
built-ins/Function/length/S15.3.5.1_A2_T3.js fails
built-ins/Function/proto-from-ctor-realm.js fails
-built-ins/Function/prototype/Symbol.hasInstance/length.js fails
-built-ins/Function/prototype/Symbol.hasInstance/name.js fails
-built-ins/Function/prototype/Symbol.hasInstance/prop-desc.js fails
-built-ins/Function/prototype/Symbol.hasInstance/this-val-bound-target.js fails
built-ins/Function/prototype/Symbol.hasInstance/this-val-not-callable.js fails
built-ins/Function/prototype/Symbol.hasInstance/this-val-poisoned-prototype.js fails
built-ins/Function/prototype/Symbol.hasInstance/value-get-prototype-of-err.js fails
-built-ins/Function/prototype/Symbol.hasInstance/value-negative.js fails
built-ins/Function/prototype/Symbol.hasInstance/value-non-obj.js fails
-built-ins/Function/prototype/Symbol.hasInstance/value-positive.js fails
built-ins/Function/prototype/bind/BoundFunction_restricted-properties.js fails
built-ins/Function/prototype/bind/get-fn-realm.js fails
built-ins/Function/prototype/bind/instance-construct-newtarget-boundtarget-bound.js fails
@@ -4795,9 +4789,6 @@ language/expressions/generators/yield-spread-arr-single.js fails
language/expressions/generators/yield-star-before-newline.js fails
language/expressions/instanceof/prototype-getter-with-object-throws.js fails
language/expressions/instanceof/prototype-getter-with-object.js fails
-language/expressions/instanceof/symbol-hasinstance-get-err.js fails
-language/expressions/instanceof/symbol-hasinstance-invocation.js fails
-language/expressions/instanceof/symbol-hasinstance-to-boolean.js fails
language/expressions/logical-and/tco-right.js strictFails
language/expressions/logical-or/tco-right.js strictFails
language/expressions/new.target/asi.js fails