Debian Codegraph @

js/src/tests/test262/built-ins/encodeURI/S15.1.3.3_A3.3_T1.js

raw
1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 info: unescapedURISet containing "#"
6 esid: sec-encodeuri-uri
7 description: encodeURI("#") === "#"
8 ---*/
9
10 if (encodeURI("#") !== "#") {
11 throw new Test262Error('#1: unescapedURISet containing "#"');
12 }
13
14 reportCompare(0, 0);