Closed
Bug 1924608
Opened 8 months ago
Closed 8 months ago
[Outreachy] Add non262 tests for Error.isError
Categories
(Core :: JavaScript: Standard Library, enhancement, P3)
Core
JavaScript: Standard Library
Tracking
()
RESOLVED
FIXED
133 Branch
Tracking | Status | |
---|---|---|
firefox133 | --- | fixed |
People
(Reporter: dminor, Assigned: sarahngima77)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Once the initial implementation for Error.isError lands in Bug 1924202, we'll need some tests.
There's currently no tests for the Error.isError proposal in test262 because it only just reached Stage 2.7. We should add some non262 tests for now, to have some coverage for our implementation. Please add a new isError.js
test file to this directory with some tests to cover basic functionality, e.g. things like:
assertEq(Error.isError(2), false);
assertEq(Error.isError(new Error()), true)
These tests can be run using ./mach jstests non262/Error
.
Comment 1•8 months ago
|
||
Let me work on this.
Updated•8 months ago
|
Assignee: sarahngima77 → caritandibe
Assignee | ||
Comment 2•8 months ago
|
||
(In reply to Chiemelie Carita from comment #1)
Let me work on this.
I had already been assigned this issue.
Updated•8 months ago
|
Assignee: caritandibe → sarahngima77
Updated•8 months ago
|
Severity: -- → N/A
Priority: -- → P3
Assignee | ||
Comment 3•8 months ago
|
||
Pushed by dminor@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a9ffe12dcc8a
Add non262 tests for Error.isError; r=dminor
Status: NEW → RESOLVED
Closed: 8 months ago
status-firefox133:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•