Typed Array Is*Array() throws.

RESOLVED FIXED in mozilla17

Status

()

Core
JavaScript Engine
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: efaust, Assigned: efaust)

Tracking

unspecified
mozilla17
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
Created attachment 647391 [details] [diff] [review]
Fix

The macro that generates JS_Is*Array() doesn't clear the exception from the unboxing the way that IsArrayObject() and IsArrayBufferViewObject() do. The caller is not expecting an exception to result from asking a question about the type of a thing.
Attachment #647391 - Flags: review?(bhackett1024)
Attachment #647391 - Flags: review?(bhackett1024) → review+
(Assignee)

Comment 1

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/64c45d6c350c
https://hg.mozilla.org/mozilla-central/rev/64c45d6c350c
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in before you can comment on or make changes to this bug.