Closed Bug 803519 Opened 12 years ago Closed 12 years ago

Require indexed/named getters if we support indexed/named properties at all

Categories

(Core :: DOM: Core & HTML, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla19

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Details

Attachments

(1 file)

This simplifies the code a bit, and makes us fail codegen in (totally theoretical!) cases where we'd currently produce arguably incorrect code.

Note that I raised this as a spec issue, since I think it makes no sense to have a setter/creator/deleter without a getter.  If that gets changed in the spec, we can move the checking into the parser.
Whiteboard: [need review]
Attachment #673213 - Flags: review?(peterv) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/b356ecf4086c
Flags: in-testsuite+
Whiteboard: [need review]
Target Milestone: --- → mozilla19
https://hg.mozilla.org/mozilla-central/rev/b356ecf4086c
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: