Hi,
O Mér, 01-07-2015 ás 11:07 -0700, Geoffrey Garen escribiu:
> What exactly did you do when you tried that, and why exactly didn’t
> it work?
What I tried was running the tests, concretely streams/reference
-implementation/count-queuing-strategy.html and subtest "Correctly
governs the r
O Mér, 01-07-2015 ás 18:48 +, youenn fablet escribiu:
> One way may be to make 'size' an attribute, cachable and returning a
> JSFunction wrapping a C++ function returning 1. Not sure this will
> pass signature tests though.
I was thinking of trying this, yes.
> IIUC, 'size' is somehow simi
One way may be to make 'size' an attribute, cachable and returning a
JSFunction wrapping a C++ function returning 1. Not sure this will pass
signature tests though.
This can be done as a custom 'size' function also but I guess you need to
return the same JS object all the time.
A second approach m
Hi,
O Mér, 01-07-2015 ás 19:59 +0200, Xabier Rodríguez Calvar escribiu:
> The problem is that it checks that "this" casts to the class and of
> course it fails because the spec says it has to be undefined. I
> haven't
> found any way to overcome this, even making the method custom.
I gue
Hi Xabier.
Our bindings assume, by default, that the ‘this’ parameter passed to any DOM
interface is an object of the interface’s type. This is how most DOM bindings
work.
Our bindings also assume that a requested property can be read from the ‘this’
object, which represents the DOM interface.
Hello,
I need some help with some JS bindings code. I am implementing
CountQueuingStrategy [1], which is an object containing two properties,
one of them a function. That strategy is passed to another
ReadableStream object [2] and as you can see at step 8, the size method
is extracted from
6 matches
Mail list logo