[Bug 27261] [Custom]: definition construction algorithm step 6 makes no sense

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27261

--- Comment #4 from Boris Zbarsky <bzbarsky@mit.edu> ---
> What would be a better way to express that?

The way ES6 does this is via a table like
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-well-known-intrinsic-objects

We could probably define something like that in Web IDL, where
%SVGElementPrototype% would be the default prototype object of the SVGElement
interface for the current Realm or something.

Except you don't want the current Realm, you want the Realm of the document
involved.

In any case, I think what you have is pretty unambiguous.

Looking at the PR, the definition of SVG-PROTOTYPE is wrong: you want it to be
the interface prototype object, not the interface object.  Other than that,
this looks good.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Saturday, 22 November 2014 01:54:46 UTC