diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/Function/prototype/constructor')
3 files changed, 17 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/Function/prototype/constructor/S15.3.4.1_A1_T1.js b/js/src/tests/test262/built-ins/Function/prototype/constructor/S15.3.4.1_A1_T1.js new file mode 100644 index 0000000000..95b8bc023c --- /dev/null +++ b/js/src/tests/test262/built-ins/Function/prototype/constructor/S15.3.4.1_A1_T1.js @@ -0,0 +1,17 @@ +// Copyright 2009 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +info: | + The initial value of Function.prototype.constructor is the built-in + Function constructor +es5id: 15.3.4.1_A1_T1 +description: Checking Function.prototype.constructor +---*/ +assert.sameValue( + Function.prototype.constructor, + Function, + 'The value of Function.prototype.constructor is expected to equal the value of Function' +); + +reportCompare(0, 0); diff --git a/js/src/tests/test262/built-ins/Function/prototype/constructor/browser.js b/js/src/tests/test262/built-ins/Function/prototype/constructor/browser.js new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/js/src/tests/test262/built-ins/Function/prototype/constructor/browser.js diff --git a/js/src/tests/test262/built-ins/Function/prototype/constructor/shell.js b/js/src/tests/test262/built-ins/Function/prototype/constructor/shell.js new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/js/src/tests/test262/built-ins/Function/prototype/constructor/shell.js |