blob: 5bb0516a4fdb693f296187906346e7983dfa3da3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: unescapedURIComponentSet not containing "#"
esid: sec-encodeuricomponent-uricomponent
description: encodeURIComponent("#") === "%23"
---*/
if (encodeURIComponent("#") !== "%23") {
throw new Test262Error('#1: unescapedURIComponentSet not containing "%23"');
}
reportCompare(0, 0);
|