diff options
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A5_T1.js')
-rw-r--r-- | test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A5_T1.js | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A5_T1.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A5_T1.js deleted file mode 100644 index 11aa3798e..000000000 --- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A5_T1.js +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
- * @name: S15.4.4.11_A5_T1;
- * @section: 15.4.4.11;
- * @assertion: Array.sort should not eat exceptions;
- * @description: comparefn function throw "error";
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.4.4.11_A5_T1",
-
-path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A5_T1.js",
-
-assertion: "Array.sort should not eat exceptions",
-
-description: "comparefn function throw \"error\"",
-
-test: function testcase() {
- //CHECK#1
-var myComparefn = function(x,y) {
- throw "error";
-}
-var x = [1,0];
-try {
- x.sort(myComparefn)
- $ERROR('#1.1: Array.sort should not eat exceptions');
-} catch(e) {
- if (e !== "error") {
- $ERROR('#1.2: Array.sort should not eat exceptions');
- }
-}
-
- }
-});
-
|