Closed
Bug 1496868
Opened 7 years ago
Closed 7 years ago
[jstests] Make assertThrowsValue and assertThrowsInstanceOf overridable
Categories
(Core :: JavaScript Engine, enhancement)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla64
| Tracking | Status | |
|---|---|---|
| firefox64 | --- | fixed |
People
(Reporter: decoder, Assigned: decoder)
Details
Attachments
(1 file)
Most of the assert* function are defined in js/src/jit-test/lib/asserts.js and they can be redefined from the outside. However, js/src/tests/non262/shell.js has two more functions, assertThrowsValue and assertThrowsInstanceOf, that cannot be redefined the same way. I'd like to change that because it could help fuzzing.
| Assignee | ||
Comment 1•7 years ago
|
||
Pushed by choller@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/741a43f63ec4
Make assertThrowsValue and assertThrowsInstanceOf overridable. r=sfink
Comment 3•7 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in
before you can comment on or make changes to this bug.
Description
•