Closed Bug 1617181 Opened 1 month ago Closed 1 month ago

Assert .this is the only internal dot-name which end up in with-environments

Categories

(Core :: JavaScript Engine, task)

task
Not set

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: anba, Assigned: anba)

Details

Attachments

(1 file)

IsUnscopableDotName also checks for .generator, even though BytecodeEmitter::emitAtomOp already asserts .generator is never looked up through JSOp::GetName or JSOp::GetGName.

BytecodeEmitter::emitAtomOp() already asserts .generator won't be retrieved
via JSOp::Get[G]Name. And the class fields dot-names can't occur in
with-environments, because classes are implicitly strict mode and
with-statements aren't allowed in strict mode.

Pushed by dvarga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8b377b122faf
Assert dotThis is the only dot-name visible in with-environments. r=mgaudet
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.