[jsdbg2] Debugger.Environment.prototype.type never returns 'with'

RESOLVED FIXED in mozilla15

Status

()

defect
RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: jimb, Assigned: jimb)

Tracking

Trunk
mozilla15
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Assignee

Description

7 years ago
According to the spec, the 'type' property of an environment for a 'with' statement is "with". However, the current implementation only ever returns "declarative" or "object"; 'with' statements get the latter.
Assignee

Comment 1

7 years ago
Short and sweet.
Assignee: general → jimb
Status: NEW → ASSIGNED
Attachment #624408 - Flags: review?(jorendorff)
Comment on attachment 624408 [details] [diff] [review]
Debugger.Environment.prototype.with should return "with" for 'with' statements' environments.

Sweet. Thanks.
Attachment #624408 - Flags: review?(jorendorff) → review+
Assignee

Comment 3

7 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/2e7bd3c9bbb5
Flags: in-testsuite+
Target Milestone: --- → mozilla15
https://hg.mozilla.org/mozilla-central/rev/2e7bd3c9bbb5
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.