Re: [dev-servo] Meeting notes: wrappers and cross-origin concerns

2013-08-08 Thread Brian Anderson
On 08/08/2013 12:05 PM, Devdatta Akhawe wrote: A bunch of the discussion seems to be about how prevalent things like document.domain, cross-origin iframes, and other weirdness are. http://research.microsoft.com/en-us/um/people/helenw/papers/incoherencyAndWebAnalyzer.pdf is a paper that tried t

Re: [dev-servo] HTML element binding conversion

2013-08-08 Thread Tetsuharu OHZEKI
2013/8/9 Tetsuharu OHZEKI : > Why I defined `handle_htmlelement!` is that `handle_element!` create > object which cannot handle the case of simple `HTMLElement`. I'm sorry. I made a typo. This is: Why I defined `handle_htmlelement!` is that `handle_element!` cannot handle the case of simple `HTMLE

Re: [dev-servo] HTML element binding conversion

2013-08-08 Thread Tetsuharu OHZEKI
2013/8/9 Boris Zbarsky : > Note that there are other cases where multiple element types all use the > same interface that's not HTMLElement (e.g. and ). So we > want support for that sort of thing. For its purpose, I feel we can use `handle_element!` macro simply in /src/components/script/html/h

Re: [dev-servo] HTML element binding conversion

2013-08-08 Thread Boris Zbarsky
On 8/8/13 8:18 PM, Josh Matthews wrote: On a related note, saneyuki added support for some element types that don't have their own interfaces and just use HTMLElement. Note that there are other cases where multiple element types all use the same interface that's not HTMLElement (e.g. and ).

Re: [dev-servo] HTML element binding conversion

2013-08-08 Thread Josh Matthews
I'd like to thank everyone who's been contributing to this - the response has been overwhelming, and I'm thrilled at how fast we're burning through the list. I added a bunch of new entries to it today, since it turns out that our element types are quite incomplete; feel free to tackle those as

Re: [dev-servo] Meeting notes: wrappers and cross-origin concerns

2013-08-08 Thread Simon Sapin
https://github.com/mozilla/servo/wiki/JS-objects,-wrappers,-and-cross-origin-concerns-2013-08-07 kmc: when you compute the closure, do you need to use the public suffix list? jst: we have a list of ETLDs in gecko. (co.uk, etc). i don't know where the list comes from. That list is maintained a

Re: [dev-servo] Meeting notes: wrappers and cross-origin concerns

2013-08-08 Thread Devdatta Akhawe
A bunch of the discussion seems to be about how prevalent things like document.domain, cross-origin iframes, and other weirdness are. http://research.microsoft.com/en-us/um/people/helenw/papers/incoherencyAndWebAnalyzer.pdf is a paper that tried to measure this sort of weird behavior with, IIRC,

Re: [dev-servo] HTML element binding conversion

2013-08-08 Thread Josh Matthews
That seems like what we want to do, yes. Cheers, Josh On 08/08/2013 08:54 AM, Tetsuharu OHZEKI wrote: Good question. I've noticed this with a few elements we define (like HTMLItalicElement, HTMLStrongElement, etc). According to http://www.whatwg.org/specs/web-apps/current-work/multipage/section

Re: [dev-servo] HTML element binding conversion

2013-08-08 Thread Tetsuharu OHZEKI
> Good question. I've noticed this with a few elements we define (like > HTMLItalicElement, HTMLStrongElement, etc). According to > http://www.whatwg.org/specs/web-apps/current-work/multipage/sections.html#the-section-element, > uses HTMLElement (as do the other ones I mentioned), so it looks > li