Closed Bug 1317311 Opened 3 years ago Closed 3 years ago
Don't treat undefined from
Index parameter as absent in Typed Array .prototype .last Index Of
`assertEq(new Int8Array([10, 10]).lastIndexOf(10, undefined), 0)` should pass.
The two separate calls to CallTypedArrayMethodIfWrapped are needed because of bug 1138661.
Attachment #8810533 - Flags: review?(evilpies)
Attachment #8810533 - Flags: review?(evilpies) → review+
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/a4bc362f24cc Check for absent instead of undefined argument in TypedArray.prototype.lastIndexOf. r=evilpie
You need to log in before you can comment on or make changes to this bug.