Open Bug 1658492 Opened 4 years ago Updated 10 months ago

Handle legacy RegExp getters in Function.p.toString

Categories

(Core :: JavaScript Engine, defect, P3)

defect

Tracking

()

Tracking Status
firefox81 --- affected

People

(Reporter: anba, Unassigned)

References

(Blocks 1 open bug)

Details

From :shu at https://freenode.logbot.info/tc39/20200810#c4715415:

17:33 shu Bakkot: can you tell michaelficarra we got a funny problem with built-in Function#toString for legacy regexp getters
17:34 shu Bakkot: right now SM prints function $&() and V8 prints function get $&() for RegExp.$&, the legacy "last match" getters
17:34 shu getter*
17:34 shu $& is not a PropertyName

Severity: -- → S4
Priority: -- → P3
Blocks: test262
You need to log in before you can comment on or make changes to this bug.