aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.2_T2.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.2_T2.js')
-rw-r--r--test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.2_T2.js47
1 files changed, 0 insertions, 47 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.2_T2.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.2_T2.js
deleted file mode 100644
index e9b93f049..000000000
--- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.2_T2.js
+++ /dev/null
@@ -1,47 +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.1.3.1_A1.2_T2;
- * @section: 15.1.3.1;
- * @assertion: If B = string.charAt(k+1) + string.charAt(k+2) do not represent
- * hexadecimal digits, throw URIError;
- * @description: Complex tests;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.1.3.1_A1.2_T2",
-
-path: "TestCases/15_Native/15.1_The_Global_Object/15.1.3_URI_Handling_Function_Properties/15.1.3.1_decodeURI/S15.1.3.1_A1.2_T2.js",
-
-assertion: "If B = string.charAt(k+1) + string.charAt(k+2) do not represent",
-
-description: "Complex tests",
-
-test: function testcase() {
- //CHECK
-var result = true;
-var interval = [[0x00, 0x29], [0x40,0x40], [0x47, 0x60], [0x67, 0xFFFF]];
-for (var indexI = 0; indexI < interval.length; indexI++) {
- for (var indexJ = interval[indexI][0]; indexJ <= interval[indexI][1]; indexJ++) {
- try {
- decodeURI("%" + "1" + String.fromCharCode(indexJ));
- result = false;
- } catch (e) {
- if ((e instanceof URIError) !== true) {
- result = false;
- }
- }
- }
-}
-
-if (result !== true) {
- $ERROR('#1: If string.charAt(k+2) does not represent hexadecimal digits, throw URIError');
-}
-
- }
-});
-