Closed
Bug 1154480
Opened 11 years ago
Closed 11 years ago
Make new Uint8Array().set([], -1) throw a RangeError, not merely an Error
Categories
(Core :: JavaScript: Standard Library, defect)
Core
JavaScript: Standard Library
Tracking
()
RESOLVED
FIXED
mozilla40
| Tracking | Status | |
|---|---|---|
| firefox40 | --- | fixed |
People
(Reporter: Waldo, Assigned: Waldo)
References
Details
Attachments
(1 file)
|
5.54 KB,
patch
|
till
:
review+
|
Details | Diff | Splinter Review |
This patch is based upon bug 1140752's patch, so sort of depends on it, but I could reorder the two easily enough. The C++ version and the self-hosted version currently up to land both throw an Error in this case. I'd really rather keep the two in sync, for general sanity, not fix each at separate times.
| Assignee | ||
Comment 1•11 years ago
|
||
The XDR bump is somewhat precautionary -- I didn't quite change anything burned into bytecode. But the semantic change exists nonetheless, so it seems prudent, even if off the top of my head I can't think of a reason that this patch *requires* it.
Attachment #8592486 -
Flags: review?(till)
Comment 2•11 years ago
|
||
Comment on attachment 8592486 [details] [diff] [review]
Patch
Review of attachment 8592486 [details] [diff] [review]:
-----------------------------------------------------------------
Nice.
Attachment #8592486 -
Flags: review?(till) → review+
Comment 4•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
status-firefox40:
--- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in
before you can comment on or make changes to this bug.
Description
•