summaryrefslogtreecommitdiffstats
path: root/js/src/tests/ecma_5/Global/bug660612.js
blob: 71589f53dfe78367fdbed25a4ec7fafe0c57c763 (plain)
1
2
3
4
5
6
7
try {
    decodeURIComponent('%ED%A0%80');
    assertEq(true, false, "expected an URIError");
} catch (e) {
  assertEq(e instanceof URIError, true);
  reportCompare(true,true);
}