[widgets] Dig Sig review in prep for LC

2009-04-29 Thread Marcos Caceres
Hi Frederick, Some tiny editorial changes I think we should add the following sub-section to the Status of This Document: [[ h3 class=no-num no-tocNote to Last Call Reviewers/h3 pemThis section is non-normative./em/p pThe editors of this specification respond rapidly to all feedback and

Re: [DOML3Events] ACTION-267 Proposal for event iterator

2009-04-29 Thread timeless
also note that this would mean that a web site could try to knock out other web based mashups that it didn't like. i'm sure that browser vendors can provide an api for their debugging clients, but this feature shouldn't be exposed to web content.

WebStorage feedback

2009-04-29 Thread Ian Hickson
On Tue, 7 Apr 2009, João Eiras wrote: Please consider a typical webpage, that on first load, opens a database (using openDatabase) and then creates a read-only transaction to read data to initialize whatever needs initializing. If it's the first time the user opens that webpage, the

Re: [webidl] definition of const string literal

2009-04-29 Thread timeless
Cameron McCormack c...@mcc.id.au wrote: (Also I see that you’re using the “string” and “wstring”, and Lwide string values. Are you of the opinion that Web IDL should introduce those instead of DOMString?) Shiki Okasaka sh...@google.com wrote: In my opinion, it would be nice if we can use the

Re: [widgets] i18n proposals document

2009-04-29 Thread Andrew Sledd
Hi, I need confirmation that I understand the impact of F1 from the Finding missing localized content, specifically how the dynamic setting of the xml:base on the element influences subsequent localized content resolving, so please review my understanding and correct me if I have got it wrong.

Re: [widgets] Dig Sig review in prep for LC

2009-04-29 Thread Thomas Roessler
Hi Frederick, Some tiny editorial changes I think we should add the following sub-section to the Status of This Document: [[ h3 class=no-num no-tocNote to Last Call Reviewers/h3 pemThis section is non-normative./em/p pThe editors of this specification respond rapidly to all feedback and

[webidl] Callback confusion

2009-04-29 Thread Max Froumentin
Hi, I'm confused with http://dev.w3.org/2006/webapi/WebIDL/#Callback It seems that it is not possible to write: t.addListener(function() { ... }); without throwing a typeError when the callback is thrown. Does that mean that you can never write an IDL that will let you write foo(function()

Re: [widgets] Dig Sig review in prep for LC

2009-04-29 Thread Thomas Roessler
On 29 Apr 2009, at 13:55, Marcos Caceres wrote: Well... Doesn't Last Call suggest that you're actually beyond the phase of rapid changes? LOL! hell no, that's when most changes happen because it's the only time people pay enough attention to do an actual review. That's why Last Call should

Re: [widgets] Dig Sig review in prep for LC

2009-04-29 Thread Frederick Hirsch
+1 I don't see the need for that paragraph. regards, Frederick Frederick Hirsch Nokia On Apr 29, 2009, at 6:36 AM, ext Thomas Roessler wrote: Hi Frederick, Some tiny editorial changes I think we should add the following sub-section to the Status of This Document: [[ h3 class=no-num

Re: [widgets] Dig Sig review in prep for LC

2009-04-29 Thread Marcos Caceres
On 4/29/09 2:32 PM, Frederick Hirsch wrote: +1 I don't see the need for that paragraph. Ok, no probs. Leave it out. Kind regards, Marcos

Re: [widgets] Dig Sig review in prep for LC

2009-04-29 Thread Frederick Hirsch
comments inline, including proposals. thanks for the review regards, Frederick Frederick Hirsch Nokia On Apr 29, 2009, at 4:01 AM, ext Marcos Caceres wrote: Hi Frederick, Some tiny editorial changes I think we should add the following sub-section to the Status of This Document: [[

Re: [widgets] Dig Sig review in prep for LC

2009-04-29 Thread Marcos Caceres
Hi, I support all the recommendations/rejections below. Kind regards, Marcos On Wed, Apr 29, 2009 at 2:42 PM, Frederick Hirsch frederick.hir...@nokia.com wrote: comments inline, including proposals. thanks for the review regards, Frederick Frederick Hirsch Nokia On Apr 29, 2009, at

[widgets] Draft Agenda for 30 April 2009 Voice Conference

2009-04-29 Thread Arthur Barstow
Below is the draft agenda for the April 30 Widgets Voice Conference (VC). Inputs and discussion before the meeting on all of the agenda topics via public-webapps is encouraged (as it can result in a shortened meeting). Logistics: Time: 22:00 Tokyo; 16:00 Helsinki; 15:00 Paris; 14:00

Re: [webidl] Callback confusion

2009-04-29 Thread Giovanni Campagna
2009/4/29 Max Froumentin max...@opera.com: Hi, I'm confused with http://dev.w3.org/2006/webapi/WebIDL/#Callback It seems that it is not possible to write: t.addListener(function() { ... }); without throwing a typeError when the callback is thrown. Does that mean that you can never write

Re: Storage 'length' and enumeration

2009-04-29 Thread John J. Barton
Ian Hickson wrote: On Tue, 28 Apr 2009, John J. Barton wrote: And then afterwards the |length| is ? one? three? One. If I iterate for(var i = 0; i sesssionStore.length; i++) foo(i, sessionStore[i]); what can I expect in foo()? (0, null), (1, null),

Preferences for the I18N model

2009-04-29 Thread Robin Berjon
Hi, here are my personal preferences for the I18N model[0]. - Folder-based localization: A2 (editor's choice) I don't feel strongly about this choice. I prefer it because it is more flexible and more powerful, but I would understand if implementers felt it did a bit more than necessary (I

Widget URI ED

2009-04-29 Thread Robin Berjon
Hi all, I've made a first pass at an ED for widget URIs (which is needed, as you can tell from the I18N discussion). It's in need of tightening up editorially wise but the basic ideas are there: http://dev.w3.org/2006/waf/widgets-uri/ Share and Enjoy! -- Robin Berjon -

[widgets] dig sig and requirements ready for pub!

2009-04-29 Thread Marcos Caceres
Widgets dig sig and requirements are ready to be published. Widgets dig sig going to LC! Hoping for feedback (yes, that means you Mozilla guys:)) http://dev.w3.org/2006/waf/widgets-digsig/ http://dev.w3.org/2006/waf/widgets-reqs/ If all goes to plan, they will be published tomorrow. Kind

Re: I18N issue: case-sensitivity of locale subdirectories

2009-04-29 Thread Arthur Barstow
On Apr 29, 2009, at 10:16 AM, ext Robin Berjon wrote: There are multiple options: b) we select an order of priority and we only consider one (the first to match); ... I don't have a strong opinion on this, but I do I have a preference for a rule based on (b): if multiple locale

Re: Storage 'length' and enumeration

2009-04-29 Thread John J Barton
Ian Hickson wrote: On Wed, 29 Apr 2009, John J. Barton wrote: I reiterate my criticism: using a length property in this type is inconsistent with _javascript_ and with developers expectations about objects. Every time we use this object we will make pointless mistakes because

Re: Storage 'length' and enumeration

2009-04-29 Thread Ian Hickson
On Wed, 29 Apr 2009, John J. Barton wrote: I reiterate my criticism: using a length property in this type is inconsistent with Javascript and with developers expectations about objects. Every time we use this object we will make pointless mistakes because the type mimics arrays only

Re: WebStorage feedback

2009-04-29 Thread Adam Barth
On Wed, Apr 29, 2009 at 1:30 AM, Ian Hickson i...@hixie.ch wrote: I've changed it a bit, because it seems UAs are likely to still want a per-origin limit. But I'm not really sure what to suggest that's more concrete that the vague handwaving that is there now. Yeah, I'm not sure how to guard

Re: Storage 'length' and enumeration

2009-04-29 Thread Anne van Kesteren
On Wed, 29 Apr 2009 20:51:33 +0200, John J Barton johnjbar...@johnjbarton.com wrote: Yes and Firebug has to have special code for HTMLCollection because this mistake was made in the past. Now we will have to have different special code for Storage. Rather than modeling new API on old

Re: Storage 'length' and enumeration

2009-04-29 Thread Ian Hickson
On Wed, 29 Apr 2009, John J Barton wrote: Yes and Firebug has to have special code for HTMLCollection because this mistake was made in the past. Now we will have to have different special code for Storage. Rather than modeling new API on old mistakes, consider learning from the past

Re: WebStorage feedback

2009-04-29 Thread Ian Hickson
On Wed, 29 Apr 2009, Adam Barth wrote: By the way, there is a typo in this sentence: A mostly arbitrary limit of five megabytes per origin is recommended. Implementation feedback is welcome and will be used to update this suggestion in _the_ future. Thanks, fixed. -- Ian Hickson

Re: Storage 'length' and enumeration

2009-04-29 Thread Sean Hogan
Ian Hickson wrote: On Tue, 28 Apr 2009, John J. Barton wrote: I could not figure out from the WebIDL what happens in this case: sessionStore[2] = howdy; // no other keys in sessionStore I guess this does not work like Javascript arrays or objects, rather I expect it fails? It

Re: Storage 'length' and enumeration

2009-04-29 Thread John J Barton
Ian Hickson wrote: On Wed, 29 Apr 2009, John J Barton wrote: Yes and Firebug has to have special code for HTMLCollection because this mistake was made in the past. Now we will have to have different special code for Storage. Rather than modeling new API on old mistakes, consider

Re: Storage 'length' and enumeration

2009-04-29 Thread Boris Zbarsky
Sean Hogan wrote: sessionStore[2] = howdy; print(sessionStore[2]); // prints null? Where, exactly? That gives howdy in Gecko, at least. At least with s/sessionStore/window.sessionStorage/. -Boris

Re: Storage 'length' and enumeration

2009-04-29 Thread John J Barton
Anne van Kesteren wrote: On Wed, 29 Apr 2009 20:51:33 +0200, John J Barton johnjbar...@johnjbarton.com wrote: Yes and Firebug has to have special code for HTMLCollection because this mistake was made in the past. Now we will have to have different special code for Storage. Rather than modeling

Re: Storage 'length' and enumeration

2009-04-29 Thread Sean Hogan
Boris Zbarsky wrote: Sean Hogan wrote: sessionStore[2] = howdy; print(sessionStore[2]); // prints null? Where, exactly? That gives howdy in Gecko, at least. At least with s/sessionStore/window.sessionStorage/. -Boris I was following the discussion, and the point is that array-like

Re: Storage 'length' and enumeration

2009-04-29 Thread Ian Hickson
On Wed, 29 Apr 2009, John J Barton wrote: So why call the property |length|? Wouldn't an enumerable JS host object be just as fabulous with getNumberOfItems()? All the other host objects use |length|. But the part that has me confused is maybe just me being dumb. I just have a hard

Re: Storage 'length' and enumeration

2009-04-29 Thread Ian Hickson
On Thu, 30 Apr 2009, Sean Hogan wrote: sessionStore[2] = howdy; print(sessionStore[2]); // prints null? print(sessionStore[2]); // prints howdy To my knowledge that's not consistent with any other object or interface in the browser. Unless I'm mistaken, they both print howdy. -- Ian

Re: Storage 'length' and enumeration

2009-04-29 Thread Sean Hogan
Ian Hickson wrote: There are lots of objects that are not arrays (or should not be rendered as arrays) and yet have length. Collections, TimeRanges, select elements, Window objects, History, CanvasPixelArrays, etc. I'm not sure about all those objects, but my (incomplete) testing of