Closed Bug 843496 Opened 11 years ago Closed 11 years ago

[Progress Events] ProgressEvent.length returns undefined.

Categories

(Core :: DOM: Events, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 776864

People

(Reporter: jungkee.song, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.70 Safari/537.17

Steps to reproduce:

ProgressEvent CR (http://www.w3.org/TR/progress-events/) test
- Test wiki: http://www.w3.org/wiki/Webapps/Interop/ProgressEvents
- Test suite: http://w3c-test.org/webapps/ProgressEvents/tests/
- Test case: http://w3c-test.org/webapps/ProgressEvents/tests/submissions/Ms2ger/interface.html
(1) The ProgressEvent interface


Actual results:

Test case failed: ProgressEvent.length returns undefined.


Expected results:

ProgressEvent.length returns 2.
http://www.w3.org/TR/progress-events/#interface-progressevent
Thanks for the bug, Jungkee! I realized that the length should be 1 rather than 2 because of a change in WebIDL (to match how .length works with optional arguments in ES6), and fixed the test: <https://dvcs.w3.org/hg/webapps/rev/1b7995888e77>.

This bug will be fixed by bug 776864, when it lands.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.