Closed
Bug 1332052
Opened 7 years ago
Closed 7 years ago
Test framework for Reflect.parse does not check undefined
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: bakkot, Assigned: bakkot)
Details
Attachments
(1 file, 2 obsolete files)
5.09 KB,
patch
|
evilpie
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36 Steps to reproduce: E.g. `assertStmt("throw 0;", void 0)` (equivalently `assertStmt("throw 0;")`) will pass. I'd expect it to fail. This is masking a couple of typos in tests. Patch incoming.
Attachment #8828068 -
Flags: review?(evilpies)
(fix typo)
Attachment #8828068 -
Attachment is obsolete: true
Attachment #8828068 -
Flags: review?(evilpies)
Attachment #8828071 -
Flags: review?(evilpies)
Comment 3•7 years ago
|
||
Comment on attachment 8828071 [details] [diff] [review] 1332052.patch Review of attachment 8828071 [details] [diff] [review]: ----------------------------------------------------------------- Good find! ::: js/src/tests/js1_8_5/reflect-parse/Match.js @@ +73,4 @@ > (typeof x === "string") || > (typeof x === "boolean") || > (x === null) || > + (x === void 0) || undefined
Attachment #8828071 -
Flags: review?(evilpies) → review+
`void 0` -> `undefined`
Attachment #8828071 -
Attachment is obsolete: true
Attachment #8828075 -
Flags: review?(evilpies)
Comment 5•7 years ago
|
||
Comment on attachment 8828075 [details] [diff] [review] 1332052.patch Thanks. Usually you don't have to request review again for trivial changes.
Attachment #8828075 -
Flags: review?(evilpies) → review+
Updated•7 years ago
|
Assignee: nobody → bakkot
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Comment 6•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=c6423728ae9745c5f2bf317a0ecfe8a496518b21
Pushed by evilpies@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/d33a2f279d13 Test framework for Reflect.parse now checks undefined. r=evilpie
Comment 8•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d33a2f279d13
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in
before you can comment on or make changes to this bug.
Description
•