[webkit-dev] Implement Geometry Interfaces

Ryosuke Niwa rniwa at webkit.org
Fri Jun 13 01:32:52 PDT 2014

On Fri, Jun 13, 2014 at 1:16 AM, Anne van Kesteren <annevk at annevk.nl> wrote:

> On Fri, Jun 13, 2014 at 10:12 AM, Ryosuke Niwa <rniwa at webkit.org> wrote:
> > What I'm saying is that we can implement it in JavaScriptCore for
> > performance and we still make it look like a regular DOM object with
> > wrappers to preserve the semantics.
> I understand that, but given that it is in the JavaScript engine at
> that point, they cannot realistically standardize on a different
> abstraction later on.

What kind of abstraction layer are you thinking of?  As far as I looked at
the working draft, DOMPoint, etc... are regular DOM objects specifically
created for DOM APIs.  I can't think of use cases for these kinds of
objects without DOM.

I feel like we're talking past each other so let me rephrase it again.  All
I'm saying is that whether something is implemented in JSC or WebCore is a
pure implementation detail.  We should be able to do whatever the heck we
please to do as long as our implementations adhere to respect
specifications.  Heck, JSC and WebCore could be a single project called
WebKit that can't be separately built.

And I got the impression typed arrays caught them off guard, so giving them
> a heads up this time around might be good.

I understand your concern and sentiment but I'm having a hard time
imagining what kind of problems/concerns would TC39 have with these
interfaces that are clearly prefixed with DOM.

- R. Niwa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20140613/345e51f4/attachment.html>

More information about the webkit-dev mailing list