Re: [webkit-dev] AncestorChainWalker substance and style thoughts

2013-02-19 Thread Hajime Morrita
On Wed, Feb 20, 2013 at 4:29 AM, Dimitri Glazkov wrote: > On Tue, Feb 19, 2013 at 3:50 AM, Antti Koivisto wrote: > > The problem with ComposedShadowTreeWalker is not that it is an iterator > but > > that it is ill-defined and complex. It calls back to non-trivial, > mutating > > functions on the

Re: [webkit-dev] Feature Proposal: Implement Stream and StreamReader

2013-02-19 Thread Elliott Sprehn
Darin Fisher pointed out to me that this is about Stream and StreamReader per the subject, not StreamBuilder (which is not planned to be implemented yet). So sounds good to me! :) On Tue, Feb 19, 2013 at 1:28 PM, Elliott Sprehn wrote: > This API seems like it's in an inconsistent state with the

Re: [webkit-dev] Feature Proposal: Implement Stream and StreamReader

2013-02-19 Thread Elliott Sprehn
This API seems like it's in an inconsistent state with the other web platform features going on right now. ex. StreamBuilder sounds like BlobBuilder, and we recently killed that for a constructor for Blob. It's a bit concerning that we're going to add this feature, and then perhaps change it, and

Re: [webkit-dev] Getting involved

2013-02-19 Thread Benjamin Poulain
On Tue, Feb 19, 2013 at 11:29 AM, Dirk Pranke wrote: > On http://trac.webkit.org/wiki there are a bunch of pages under > "Layout Tests" and "Performance Tests" that describe much of the > infrastructure. These days most of it is written in Python. > > I don't know what projects Benjamin has in mi

Re: [webkit-dev] Getting involved

2013-02-19 Thread Dirk Pranke
Hi Jason, On http://trac.webkit.org/wiki there are a bunch of pages under "Layout Tests" and "Performance Tests" that describe much of the infrastructure. These days most of it is written in Python. I don't know what projects Benjamin has in mind so I don't know if that will match what he was ref

Re: [webkit-dev] AncestorChainWalker substance and style thoughts

2013-02-19 Thread Dimitri Glazkov
On Tue, Feb 19, 2013 at 3:50 AM, Antti Koivisto wrote: > The problem with ComposedShadowTreeWalker is not that it is an iterator but > that it is ill-defined and complex. It calls back to non-trivial, mutating > functions on the structure being traversed > (ContentDistributor::distribute!). Simply

Re: [webkit-dev] AncestorChainWalker substance and style thoughts

2013-02-19 Thread Antti Koivisto
The purpose of the NodeTraversal refactoring was simply to move the existing traversal functions off the (rather bloated) Node and add Element specific functions. I think longer term iterators are the way to go as they allow decoupling our internal document tree data structures from the DOM API. T

[webkit-dev] Feature Proposal: Implement Stream and StreamReader

2013-02-19 Thread Zach Kuznia
Hi webkit-dev! I'm currently working on adding support for Stream and StreamReader to WebKit. https://dvcs.w3.org/hg/streams-api/raw-file/tip/Overview.htm This support will be behind the ENABLE_STREAM feature define. I have a prototype which implements readAsArrayBuffer() from an XHR connection