« Bugzilla Issues Index

#1162 — 9.3.12 (OrdinaryHasInstance): non-callable objects and bound functions

Bug 1:
Step 1 of 9.3.12 simply returns `false`, needs to be changed to throw a TypeError (test cases S11.8.6_A6_T1, S11.8.6_A6_T2, S11.8.6_A6_T4).

Bug 2:
Step 2 needs to call the instanceOfOperator abstract operation with C's [[BoundTargetFunction]] internal data property and O

Fixed in rev13