Closed
Bug 1303936
Opened 8 years ago
Closed 8 years ago
decodeURIComponent doesn't mention it could throw URIError exception
Categories
(Developer Documentation Graveyard :: JavaScript, defect)
Developer Documentation Graveyard
JavaScript
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ruturaj, Unassigned)
Details
Steps to reproduce:
try {
a= decodeURIComponent("%E0%A4%A");
} catch(e) {
console.error(e);
}
Expected: Clear documentation that decodeURIComponent [1] could throw a URIError [2] exception.
[1] https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent
[2] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError
Comment 1•8 years ago
|
||
Added https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 2•8 years ago
|
||
Thanks Florian!
You need to log in
before you can comment on or make changes to this bug.
Description
•