haikuwebkit/LayoutTests/js/mozilla/strict/15.4.4.12-expected.txt

18 lines
881 B
Plaintext

PASS 'use strict'; var a = arr(); [a.splice(0, 1), a] threw exception of type TypeError.
PASS var a = arr(); [a.splice(0, 1), a] threw exception of type TypeError.
PASS true === true
PASS 'use strict'; var o = obj(); [Array.prototype.splice.call(o, 0, 1), o] threw exception of type TypeError.
PASS var o = obj(); [Array.prototype.splice.call(o, 0, 1), o] threw exception of type TypeError.
PASS true === true
PASS 'use strict'; var a = agap(); [a.splice(0, 1), a] threw exception of type TypeError.
PASS var a = agap(); [a.splice(0, 1), a] threw exception of type TypeError.
PASS true === true
PASS 'use strict'; var o = ogap(); [Array.prototype.splice.call(o, 0, 1), o] threw exception of type TypeError.
PASS var o = ogap(); [Array.prototype.splice.call(o, 0, 1), o] threw exception of type TypeError.
PASS true === true
PASSED!
PASS successfullyParsed is true
TEST COMPLETE