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); }