[Webkit-unassigned] [Bug 110569] [Progress Events] ProgressEvent.length returns wrong value.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 16 00:36:38 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=110569





--- Comment #4 from Ms2ger <Ms2ger at gmail.com>  2013-04-16 00:34:54 PST ---
ES6 is irrelevant here; the applicable specification is WebIDL, which states:

> Interface objects for interfaces MUST have a property named “length”
> with attributes { [[Writable]]: false, [[Enumerable]]: false,
> [[Configurable]]: false } whose value is a Number. If the [Constructor]
> extended attribute, does not appear on the interface definition, then
> the value is 0. Otherwise, the value is determined as follows:
>
> 1. Let id be the identifier of interface I.
> 2. Initialize S to the effective overload set for constructors with
>    identifier id on interface I and with argument count 0.
> 3. Return the length of the shortest argument list of the entries in S.

near the end of <http://dev.w3.org/2006/webapi/WebIDL/#es-interface-call>.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list