Re: [whatwg] Window and WindowProxy

2013-08-08 Thread Boris Zbarsky
On 8/8/13 5:05 PM, Ian Hickson wrote: I think the problem is that I have no idea what these ES6 terms are or what they mean. OK. Which terms, exactly? Was all this a problem in previous revisions of JavaScript? Or is it some new problem caused by some new JavaScript feature? It's a "proble

Re: [whatwg] Disabling document.domain setting on iframe@sandbox (especially with allow-same-origin)

2013-08-08 Thread Ian Hickson
On Fri, 2 Aug 2013, Boris Zbarsky wrote: > On 8/2/13 10:35 PM, Ian Hickson wrote: > > Honestly, though, at the point where you're able to trick a > > similar-origin site into changing document.domain so you can attack it > > document.domain was not involved in any way in the cross-site issues >

Re: [whatwg] Window and WindowProxy

2013-08-08 Thread Ian Hickson
On Thu, 8 Aug 2013, Boris Zbarsky wrote: > > (again, in ES6 terms) I think the problem is that I have no idea what these ES6 terms are or what they mean. Was all this a problem in previous revisions of JavaScript? Or is it some new problem caused by some new JavaScript feature? > > > "var" ne

Re: [whatwg] Window and WindowProxy

2013-08-08 Thread Boris Zbarsky
On 8/8/13 2:48 PM, Ian Hickson wrote: The current spec calls for the Window to be a proxy-like object, because that's the only way to implement the spec's indexed getter behavior. I don't understand what you mean. What's different about Window's indexed getter behaviour than the indexed getter

Re: [whatwg] Window and WindowProxy

2013-08-08 Thread Boris Zbarsky
On 8/8/13 2:50 PM, Ian Hickson wrote: I'd go further -- I wouldn't expose WindowProxy to other languages at all Yes, I thought that was more or less what I said. You still need an object to represent navigation contexts, of course. My point is that either way, if we do this, that means all t

Re: [whatwg] XML data islands related question

2013-08-08 Thread Ian Hickson
On Thu, 8 Aug 2013, Jukka K. Korpela wrote: > 2013-08-08 9:13, Ian Hickson wrote: > > > > XHR uses the same underlying logic as and

Re: [whatwg] Window and WindowProxy

2013-08-08 Thread Ian Hickson
On Thu, 8 Aug 2013, Boris Zbarsky wrote: > On 8/8/13 7:22 AM, Boris Zbarsky wrote: > > On 8/8/13 2:11 AM, Ian Hickson wrote: > > > I would imagine most languages other than JavaScript would break > > > that invariant. > > > > Why are we suddenly worrying about languages other than JavaScript? >

Re: [whatwg] Window and WindowProxy

2013-08-08 Thread Ian Hickson
On Thu, 8 Aug 2013, Boris Zbarsky wrote: > On 8/8/13 2:11 AM, Ian Hickson wrote: > > I would imagine most languages other than JavaScript would break that > > invariant. > > Why are we suddenly worrying about languages other than JavaScript? It's not sudden. The HTML spec has tried to be languag

Re: [whatwg] Splash screen proposal for web apps ?

2013-08-08 Thread Mounir Lamouri
On 01/08/13 19:17, Laurent Perez wrote: > Our user agent is a HTTP proxy, currently we are feeding it HTML5 pages, > then we are parsing custom data-* attributes and replacing them with UI > components, for example data-carousel becomes a touch carousel, and so on. > > Instead of creating another

Re: [whatwg] HTML: A DOM attribute that returns the language of a node

2013-08-08 Thread Jukka K. Korpela
2013-08-08 2:57, Ryosuke Niwa wrote: On Aug 2, 2013, at 6:10 AM, Jukka K. Korpela wrote: [...] But regarding the effect of language markup on fonts, the effect is limited to situations where the font is not specified in a style sheet. This is a rather uncommon scenario these days; authors are

Re: [whatwg] XML data islands related question

2013-08-08 Thread Anne van Kesteren
On Thu, Aug 8, 2013 at 3:01 PM, Jukka K. Korpela wrote: > 2013-08-08 9:13, Ian Hickson wrote: >> XHR uses the same underlying logic as and

Re: [whatwg] XML data islands related question

2013-08-08 Thread Jukka K. Korpela
2013-08-08 9:13, Ian Hickson wrote: XHR uses the same underlying logic as and

Re: [whatwg] XML data islands related question

2013-08-08 Thread Anne van Kesteren
On Thu, Aug 8, 2013 at 1:38 PM, Charles McCathie Nevile wrote: > On Thu, 08 Aug 2013 01:08:54 +0400, Ian Hickson wrote: >> I don't understand why XHR doesn't work for you. > > I can see why not. Imagine an app that wants to collect all my current email > when it connects, but is then going to be

Re: [whatwg] XML data islands related question

2013-08-08 Thread Charles McCathie Nevile
On Thu, 08 Aug 2013 01:08:54 +0400, Ian Hickson wrote: On Tue, 6 Aug 2013, Jukka K. Korpela wrote: 2013-08-06 17:45, Ian Hickson wrote: > > If such an application needs some bulk of text data, it can be > > included e.g. in ... but not in a > > separate plain text file (included into the appl

Re: [whatwg] Window and WindowProxy

2013-08-08 Thread Boris Zbarsky
On 8/8/13 7:22 AM, Boris Zbarsky wrote: On 8/8/13 2:11 AM, Ian Hickson wrote: I would imagine most languages other than JavaScript would break that invariant. Why are we suddenly worrying about languages other than JavaScript? Let me try that with less snark. I believe that WindowProxy is s

Re: [whatwg] Window and WindowProxy

2013-08-08 Thread Boris Zbarsky
On 8/8/13 2:11 AM, Ian Hickson wrote: I would imagine most languages other than JavaScript would break that invariant. Why are we suddenly worrying about languages other than JavaScript? What other problems would it break? Let me think about this; it's been a while... Because the current