On 5/8/14, 9:06 PM, Keegan McAllister wrote:
This is all a bit moot if a parser never lives across a JS operation that could
GC.
If you want your parser to be able to parse web pages with
On 05/08/2014 09:06 PM, Keegan McAllister wrote:
There is also the question of what handles to store within the parser.
- We could root every node as it's created, and unroot when the parser
is destroyed. We'd store JSRef, transmuting away the lifetimes.
- We could root the pa
> How would you create a `JS` on the stack?
I'll provide some context. I'm designing the HTML parser API to be compatible
with different DOM representations. This is desirable for a few reasons:
- I want the library to be useful outside of Servo. It will have the
ability to output a
3 matches
Mail list logo