Re: [widgets-twi] window object

2010-02-11 Thread Marcos Caceres
On Tue, Feb 9, 2010 at 4:05 PM, Scott Wilson wrote: > In Wookie we just create the widget object in the global scope, and then add > it as an attribute to the window object. Author scripts can access it either > by "window.widget" or just plain "widget". > I wonder though - for authors what should

Re: [widgets-twi] window object

2010-02-09 Thread Scott Wilson
On 9 Feb 2010, at 09:22, Marcos Caceres wrote: On Tue, Feb 9, 2010 at 9:54 AM, Cyril Concolato > wrote: Le 08/02/2010 13:29, Robin Berjon a écrit : On Feb 5, 2010, at 16:18 , Marcos Caceres wrote: On Thu, Feb 4, 2010 at 6:41 PM, Cyril Concolato> wrote: So I'm wondering how should the wi

Re: [widgets-twi] window object

2010-02-09 Thread Robin Berjon
On Feb 9, 2010, at 09:54 , Cyril Concolato wrote: > My mistake. I had not realized that. But again, the question is why put the > widget object on the window object, apart from it being a black hole. Why not > put it in the global object. What's wrong with that? It would easier to > specify. Wha

Re: [widgets-twi] window object

2010-02-09 Thread Marcos Caceres
On Tue, Feb 9, 2010 at 9:54 AM, Cyril Concolato wrote: > Le 08/02/2010 13:29, Robin Berjon a écrit : >> >> On Feb 5, 2010, at 16:18 , Marcos Caceres wrote: >>> >>> On Thu, Feb 4, 2010 at 6:41 PM, Cyril Concolato >>>  wrote: So I'm wondering how should the widget object be implemented in

Re: [widgets-twi] window object

2010-02-09 Thread Cyril Concolato
Le 08/02/2010 13:29, Robin Berjon a écrit : On Feb 5, 2010, at 16:18 , Marcos Caceres wrote: On Thu, Feb 4, 2010 at 6:41 PM, Cyril Concolato wrote: So I'm wondering how should the widget object be implemented in a UA that does not support the window object ? Yeah, that's a tough one... the s

Re: [widgets-twi] window object

2010-02-08 Thread Marcos Caceres
Robin Berjon wrote: On Feb 8, 2010, at 13:51 , Marcos Caceres wrote: As much as I dislike it, I'm also not that inclined to define what to do for non-"Window"-based implementations (beyond what we currently have in the spec; which, I admit, is not much). I don't think that we could even if

Re: [widgets-twi] window object

2010-02-08 Thread Robin Berjon
On Feb 8, 2010, at 13:51 , Marcos Caceres wrote: > As much as I dislike it, I'm also not that inclined to define what to do for > non-"Window"-based implementations (beyond what we currently have in the > spec; which, I admit, is not much). I don't think that we could even if we wanted to. Presu

Re: [widgets-twi] window object

2010-02-08 Thread Marcos Caceres
Robin Berjon wrote: On Feb 5, 2010, at 16:18 , Marcos Caceres wrote: On Thu, Feb 4, 2010 at 6:41 PM, Cyril Concolato wrote: So I'm wondering how should the widget object be implemented in a UA that does not support the window object ? Yeah, that's a tough one... the spec says: "For a widge

Re: [widgets-twi] window object

2010-02-08 Thread Robin Berjon
On Feb 5, 2010, at 16:18 , Marcos Caceres wrote: > On Thu, Feb 4, 2010 at 6:41 PM, Cyril Concolato > wrote: >> So I'm wondering how should the widget object be implemented in a UA >> that does not support the window object ? > > Yeah, that's a tough one... the spec says: > > "For a widget insta

Re: [widgets-twi] window object

2010-02-05 Thread Cyril Concolato
Le 05/02/2010 16:18, Marcos Caceres a écrit : On Thu, Feb 4, 2010 at 6:41 PM, Cyril Concolato wrote: Hi all, After P&C, I'm looking now at the Widget Interface spec, in particular to check the test suite and produce the implementation report. I have a problem with the spec. In GPAC, we impleme

Re: [widgets-twi] window object

2010-02-05 Thread Marcos Caceres
On Thu, Feb 4, 2010 at 6:41 PM, Cyril Concolato wrote: > Hi all, > > After P&C, I'm looking now at the Widget Interface spec, in particular to > check the test suite and produce the implementation report. I have a problem > with the spec. In GPAC, we implement only SVG not HTML5, with the Window >

[widgets-twi] window object

2010-02-04 Thread Cyril Concolato
Hi all, After P&C, I'm looking now at the Widget Interface spec, in particular to check the test suite and produce the implementation report. I have a problem with the spec. In GPAC, we implement only SVG not HTML5, with the Window object. So I'm wondering how should the widget object be imple