hasnext{2} and nextName{Index} need better documentation

NEW
Assigned to

Status

Tamarin
Documentation
P4
enhancement
7 years ago
5 years ago

People

(Reporter: pnkfelix, Assigned: Paul Hohensee)

Tracking

(Blocks: 1 bug)

unspecified
Q2 12 - Cyril
Bug Flags:
flashplayer-qrb +

Details

While working on Bug 640711, I needed to traverse the dynamic own properties of an object.

I was pretty frustrated when I tried to figure out how to do the traversal by reading the documentation for nextNameIndex and nextName.  It is not clear in the documentation for the individual opcodes in AVM2 Overview, for example, how one starts off the iteration, because it does not say there that 0 is a valid input index.

(I think the situation may have been described more clearly in some paragraph I found in the introductory sections of the document, but I cannot find that paragraph now, so I'm going to file this bug and look into the situation more carefully later.)

Updated

6 years ago
Assignee: nobody → fklockii
Flags: flashplayer-qrb+
Priority: -- → P4
Target Milestone: --- → Q1 12 - Brannan

Updated

6 years ago
Blocks: 416391

Updated

6 years ago
Target Milestone: Q1 12 - Brannan → Q2 12 - Cyril
(this is really somebody else's problem at this point; I'm handing off to Paul because I know he's been looking at the bytecode spec recently.)

The VM team may well resolve as "wontfix".
Assignee: fklockii → phohense
You need to log in before you can comment on or make changes to this bug.