Closed Bug 1520370 Opened 2 years ago Closed 2 years ago

Fix BigInt literal matching in Reflect.parse tests

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: terpri, Assigned: terpri)

References

Details

Attachments

(1 file)

The pattern matcher used for Reflect.parse tests doesn't currently recognize BigInt as a primitive type; it doesn't have a special case for "bigint" as a typeof result, and defaults to treating BigInts as objects. This causes a test failure at https://hg.mozilla.org/mozilla-central/file/2bf2c209f520/js/src/tests/non262/reflect-parse/expression.js#l12

Assignee: nobody → robin
Blocks: js-bigint
Keywords: checkin-needed

Pushed by ccoroiu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b179bb22821b
Fix BigInt literal matching in Reflect.parse tests. r=jandem

Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.