On 10/22/13 7:00 AM, Anne van Kesteren wrote:
So do you think we should add getElementById() to ParentNode in DOM?
I actually do, yes.
It seems the advantages are that we can optimize it better than
querySelector() because there is no selector parsing.
This, in my mind, is a somewhat minor
On 10/22/13 2:42 PM, Ryosuke Niwa wrote:
Because of HTMLCollection's name getter, all major browsers must be capable of
a id+name lookup at every element (since Element has getElementsByTagName that
returns a HTMLCollection).
While true, in practice pretty much no one uses the name getter on
On 10/15/13 1:00 PM, "Ian Hickson" wrote:
>
>On Sat, 26 Jan 2013, Steve Faulkner wrote:
>>
>> Lists are appropriate for indicating nested tree structures. The use of
>> lists to markup comments is a common mark up pattern used in blogging
>> software such as wordpress. The code verbosity is not
>
> On Tue, Oct 22, 2013 at 2:48 AM, Robert O'Callahan >wrote:
>
>>
>> > This code actually does something potentially useful which can't easily
>> be
>> > done with attachToCanvas: generating a series of images as fast as
>> possible
>> > which will be processed on another thread in some way othe
On Tue, Oct 22, 2013 at 10:44 PM, Robert O'Callahan wrote:
> No problem at all. Can you do it? I need to get a WHATWG account :-).
>
OK, I added the proposal here:
http://wiki.whatwg.org/wiki/WorkerCanvas
A couple of changes from the previous version:
-- Added ImageBitmap.transferToImage.
-- Remo
Great.
On Tue, Oct 22, 2013 at 2:54 PM, Robert O'Callahan wrote:
> I got an account and I'm uploading the proposal now.
>
>
> Rob
> --
> Jtehsauts tshaei dS,o n" Wohfy Mdaon yhoaus eanuttehrotraiitny eovni le
> atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o Whhei csha iids teoa
> stihe
I got an account and I'm uploading the proposal now.
Rob
--
Jtehsauts tshaei dS,o n" Wohfy Mdaon yhoaus eanuttehrotraiitny eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o Whhei csha iids teoa
stiheer :p atroa lsyazye,d 'mYaonu,r "sGients uapr,e tfaokreg iyvoeunr,
'm aotr at
On Tue, Oct 22, 2013 at 1:44 PM, Robert O'Callahan wrote:
> On Tue, Oct 22, 2013 at 7:31 PM, Kenneth Russell wrote:
>>
>> Robert, please don't remove those APIs from your proposal. They're
>> needed in order to address known use cases, and splitting them off
>> will make it difficult to understan
On Tue, Oct 22, 2013 at 7:31 PM, Kenneth Russell wrote:
> Robert, please don't remove those APIs from your proposal. They're
> needed in order to address known use cases, and splitting them off
> will make it difficult to understand how they interact with
> WorkerCanvas later.
>
Yes, I think it'
On Tue, Oct 22, 2013 at 7:42 PM, Ryosuke Niwa wrote:
> On Oct 22, 2013, at 4:00 AM, Anne van Kesteren wrote:
>> So do you think we should add getElementById() to ParentNode in DOM?
>
> Why not to Element?
ParentNode encompasses Document, DocumentFragment, and Element. See
http://dom.spec.whatwg.
On Oct 22, 2013, at 4:00 AM, Anne van Kesteren wrote:
> On Fri, Oct 18, 2013 at 10:56 PM, Boris Zbarsky wrote:
>> So it looks to me like in practice Element.getElementById could be quite a
>> bit faster than the equivalent querySelector call, for both the in-tree case
>> (where both can avoid w
On Tue, Oct 22, 2013 at 1:32 PM, Jonas Sicking wrote:
> On Tue, Oct 22, 2013 at 9:31 AM, Ehsan Akhgari wrote:
> >> interface MessagePort {
> >> ...
> >> Promise pin();
> >> void unpin(optional any value);
> >> };
> >>
> >> Rather than firing channeldropped we reject any promise returned fr
On Tue, Oct 22, 2013 at 9:31 AM, Ehsan Akhgari wrote:
>> interface MessagePort {
>> ...
>> Promise pin();
>> void unpin(optional any value);
>> };
>>
>> Rather than firing channeldropped we reject any promise returned from
>> pin(). Once the caller receives an expected answer he/she calls un
On Mon, Oct 21, 2013 at 8:03 AM, Glenn Maynard wrote:
> On Sun, Oct 20, 2013 at 11:53 PM, Robert O'Callahan
> wrote:
>>
>> Glenn, taking a step back for a bit, is there anything in
>> https://wiki.mozilla.org/User:Roc/WorkerCanvasProposal that you would
>> actually object to? IOW, is there anythi
On Tue, Oct 22, 2013 at 7:37 AM, Glenn Maynard wrote:
> I just noticed that Canvas already has a Canvas.setContext() method
That's there in support of CanvasProxy, which is a flawed API and
which this entire discussion is aiming to rectify.
> , which
> seems to do exactly what I'm proposing, eve
On Tue, Oct 22, 2013 at 4:37 PM, Glenn Maynard wrote:
> On Tue, Oct 22, 2013 at 2:48 AM, Robert O'Callahan >wrote:
>
> > This code actually does something potentially useful which can't easily
> be
> > done with attachToCanvas: generating a series of images as fast as
> possible
> > which will b
On Tue, Oct 22, 2013 at 11:36 AM, Jonas Sicking wrote:
>
> On Oct 21, 2013 6:08 PM, "Ehsan Akhgari" wrote:
> >> How does this work - imagine that I have a reference to a MessagePort,
> but I'm not actively waiting for any response on the port so I don't have a
> channeldropped event listener.
>
On Oct 21, 2013 6:08 PM, "Ehsan Akhgari" wrote:
>> How does this work - imagine that I have a reference to a MessagePort,
but I'm not actively waiting for any response on the port so I don't have a
channeldropped event listener.
>>
>> Now, the remote side of the port crashes. I send a message on t
On Oct 21, 2013 6:06 PM, "Ehsan Akhgari" wrote:
>> We could further define that "channeldropped" is fired when the owner
>> of the *other side* is navigated away from. This would mean that
>> events can be received even after a "channeldropped" event has been
>> fired since other windows could sti
I just noticed that Canvas already has a Canvas.setContext() method, which
seems to do exactly what I'm proposing, even down to clearing the
backbuffer on attach. The only difference is that it lives on Canvas
instead of the context--the only reason I put it there in my proposal was
because this o
On Tue, Oct 22, 2013 at 3:07 AM, Mark Callow wrote:
> I say a weak no to the second. Testing can be done with shims and there
> are probably better ways for apps to do resource management.
>
After doing some digging, I totally agree. I found that the webgl debug
utilities use a shim for testing c
On Fri, Oct 18, 2013 at 10:56 PM, Boris Zbarsky wrote:
> So it looks to me like in practice Element.getElementById could be quite a
> bit faster than the equivalent querySelector call, for both the in-tree case
> (where both can avoid walking the tree) and the out-of-tree case (where both
> need t
On Tue, Oct 22, 2013 at 12:39 AM, Glenn Maynard wrote:
> Using ImageBitmap for this has a lot of issues. It requires synchronizing
> with scripts in the UI thread. It requires manualling resize your canvas
> repeatedly to fit different destinations. It also may potentially create
> lots of bac
On 2013/10/19 3:19, Justin Novosad wrote:
> Please share your thoughts.
I think it these events are needed, unfortunately, as it doesn't look
like GPU contexts will be virtualized any time soon.
For the open issues, I say yes to the first. Note that this matches what
is said about the specificatio
24 matches
Mail list logo