[editing] Comments on WebKit addRange implementation

2013-04-05 Thread Nathan Vander Wilt
The comments on https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html#dom-selection-addrange say "Chrome 15 dev seems to ignore addRange() if there's already a range." In case it's helpful, I wanted to note that this isn't quite the case. The WebKit implementation is here: http://trac.webkit

Re: Fixing appcache: a proposal to get us started

2013-03-26 Thread Nathan Kitchen
One feature I'd like to see is respect for compression headers. I've got an app which results in a 30Mb app cache, but it's only 8Mb over the wire due to GZIP compression. I'd much prefer the appcache to see that the content was served compressed, cache it compressed, and "serve" it to the browser

UUID's

2011-06-21 Thread Nathan Kitchen
Hi. I'm not sure if this is the place to raise this, it's basically a request for consideration of an API which I don't believe exists and would probably be most useful within web apps: a UUID generator. Earlier this week I hit a real-world issue where I needed to generate a UUID from JavaScript.

Re: Model-driven Views

2011-04-25 Thread Nathan Kitchen
Have you heard of knockout.js? It's an MVVM pattern based on JQuery, if you're not aware of it you may be interested to see their approach. Official site: http://knockoutjs.com/ Recent MIX event: http://channel9.msdn.com/Events/MIX/MIX11/FRM08 Just FYI as it was related... On 23 April 2011 01:3

Re: [WebSQL] Any future plans, or has IndexedDB replaced WebSQL?

2011-04-02 Thread Nathan Kitchen
I agree that it'd be best to have a spec independent of database platform, which is why I was asking about an idea along the lines of RelationalDB or the example I gave in the email which initiated this discussion, both of which are entirely abstracted from th

Re: How to standardize new Offline Web app features? [Was Re: Offline Web Applications status]

2011-04-01 Thread Nathan
Michael Nordman wrote: Hi Art, Please don't assume I know how the w3c works. I'm not subscribed to the public-html list and honestly don't have a good understanding of which list is for what. I consider the feature set provided in by the Application Cache to harmonize with other topics discusse

Re: [WebSQL] Any future plans, or has IndexedDB replaced WebSQL?

2011-04-01 Thread Nathan Kitchen
the best performance without > changing their code. It aims to be as stateless as possible, and to > implement relational algebra on relations. > > > Cheers, > Keean. > > > On 31 March 2011 15:54, Nathan Kitchen wrote: > >> That's nice, pretty much what I was thinkin

Re: [WebSQL] Any future plans, or has IndexedDB replaced WebSQL?

2011-03-31 Thread Nathan Kitchen
ation objects. > > Let me know what you think. > > > Cheers, > Keean. > > > On 31 March 2011 15:19, Nathan Kitchen wrote: > >> Hi. >> >> I've been watching discussions on IndexedDB for a while now, and wondered >> if anyone would min

[WebSQL] Any future plans, or has IndexedDB replaced WebSQL?

2011-03-31 Thread Nathan Kitchen
Hi. I've been watching discussions on IndexedDB for a while now, and wondered if anyone would mind spending a few moments to explain how IndexedDB is related (or not) to WebSQL. Is IndexedDB seen as replacing the functionality originally offered by WebSQL? If not, are there any plans to make a cro

Re: Offline Web Applications status

2011-03-26 Thread Nathan Kitchen
A couple of other app cache observations from a hobbyist who's played around with Google's Gears... I built an offline web application based on Gears, with the intention to migrate to something a bit more standardized as it became available. That was a good two years ago now, but the existing and

Re: Cross-Origin Resource Embedding Restrictions

2011-03-01 Thread Nathan
Glenn Maynard wrote: On Tue, Mar 1, 2011 at 3:33 PM, Nathan wrote: (rather than controlled only "by user agents which choose to follow the specs" offering an artificial screen). If user agents deliberately ignore the specs to allow embedding where authors don't want it to,

Re: Cross-Origin Resource Embedding Restrictions

2011-03-01 Thread Nathan
where people can send either Allow-Origin or Deny-Origin, for instance in many scenarios I want to allow everyone except origins A and B who I know consistently "steal" bandwidth, or display my resources beside unsavoury ones. Best, Nathan

Re: Widgets - WARP, Widgets Updates and Digital Signatures

2011-02-08 Thread Nathan
Nathan wrote: Marcos Caceres wrote: On 9/16/10 6:10 PM, Nathan wrote: Marcos Caceres wrote: As above. I thought that was what we (Web Apps WG - Widgets) have been doing for the last 5 years? Maybe I've missed part of the specifications - are you telling me that I can package up an HTM

Re: [XHR] open method extension for TLS authentication

2011-02-03 Thread Nathan
together with other forms of authentication, and that moving to TLS Extension support would probably be wise in the long term. see: http://krijnhoetmer.nl/irc-logs/whatwg/20110203#l-870 through to 14:51 for context Thanks for raising this, Nathan Tim wrote: Anne, others, Do you have any

Re: An HTML5 logo

2011-01-23 Thread Nathan Kitchen
I'm also a little confused. There was a recent announcement [1] from the WHATWG that the version number was being dropped from HTML 5. This has been reported elsewhere, usually directly referring back to the WHATWG announcement [2]. Obviously this doesn't seem to fit with the smacking great "5" in

Re: Limited DOM in Web Workers

2011-01-08 Thread Nathan
working with APIs which return XML, when taking a "my website is my api" approach, and when working with microdata and rdfa. Best, Nathan

Re: Embedding WebSocket Servers in Web Pages

2010-11-30 Thread Nathan
Best, Nathan Toni Ruottu wrote: Hello, I work for the computer science department at the University of Helsinki, Finland. We've been trying to define an API that would allow web site developers to run simple servers in their web pages. The motivation behind the research is establishing some

Re: [Widgets] running widgets in a regular web page ???

2010-11-26 Thread Nathan
, and 'm sure you won't be the last. Best & ty for raising this, Nathan

Re: IndexedDB TPAC agenda

2010-11-02 Thread Nathan Kitchen
Not sure if this is covered by "index keys", but you may consider adding: - Full-text indexing To the agenda. N On Tue, Nov 2, 2010 at 11:15 AM, Jonas Sicking wrote: > I suspect internationalization is another thing where we can quickly > make progress so lets try to get to that one too. >

Questions about API Design, composability and multiple arguments

2010-10-30 Thread Nathan
return the instance of T or the Store with t added? Best & TIA, Nathan

Re: Feedback requested on returning null/void or throwing an exception

2010-10-28 Thread Nathan
Hi Cameron, Thanks for your reply, comments in-line from here: Cameron McCormack wrote: Nathan: We have the following interface: [NoInterfaceObject] interface TypedLiteral : RDFNode { readonly attribute stringifier DOMString value; readonly attribute IRI type

Feedback requested on returning null/void or throwing an exception

2010-10-28 Thread Nathan
se in this scenario, and whether 4 is even an option. Best and TIA, Nathan

Re: Replacing WebSQL with a Relational Data Model.

2010-10-27 Thread Nathan Kitchen
in a different way though. On Wed, Oct 27, 2010 at 9:10 AM, Keean Schupke wrote: > Hi Nathan, > > On 27 October 2010 08:58, Nathan Kitchen wrote: > >> The most obvious problem was that it was tied so tightly to SQLite (which >> I think everyone would be amazed if MS started

Re: Replacing WebSQL with a Relational Data Model.

2010-10-27 Thread Nathan Kitchen
ve to wait x-years until the spec is further developed before this functionality could be added. Thanks. Nathan On Tue, Oct 26, 2010 at 7:03 PM, Nathan wrote: > Jonas Sicking wrote: > >> On Mon, Oct 25, 2010 at 10:24 AM, Keean Schupke wrote: >> >>> We (www.fry-it.com) produ

Re: XHR responseArrayBuffer attribute: suggestion to replace "asBlob" with "responseType"

2010-10-26 Thread Nathan
s - the only way to handle this optimally (that I can see) would be by executing a callback, or by passing a map structure containing preferences for each content type. Best, Nathan

Re: Replacing WebSQL with a Relational Data Model.

2010-10-26 Thread Nathan
ly, or can be emulated by an implementation on top of IndexedDB where necessary. Sounds good, certainly having the API and an implementation there will have countless benefits for us all. Best, Nathan [1] http://www.w3.org/DesignIssues/CloudStorage.html [2] http://www.ics.uci.ed

Re: Replacing WebSQL with a Relational Data Model.

2010-10-26 Thread Nathan
from javascript, and wrap in other APIs, that way any optimizations made will benefit everybody - regardless of their preferred interface, data model & query style. Best, Nathan

Re: XML base after redirection

2010-10-26 Thread Nathan
Nathan wrote: Tim Berners-Lee wrote: Looking at my action item to characterize the deductions made from HTTP responses in the tabulator library, I found these related questions: 1) If A redirects 301 "Moved" to B, what should be the XML base which is used to parse the representatio

Re: [CORS] HTTP error codes in preflight response

2010-09-21 Thread Nathan
t on another URL? Best, Nathan

Re: A URL API

2010-09-17 Thread Nathan
ype of value at all times is better than the benefit of being able to omit "[0]" from parts of your code. +1 in every way, and if somebody wanted to miss the [0] they could make a simple get function which returned array or single element based on array.length, in userland. regards, nathan

Re: A URL API

2010-09-17 Thread Nathan
tp://ex.org/a/b/c/d'); u.resolveReference('../.././n?x=y'); -> 'http://ex.org/a/n?x=y' ps: I'll happily implement this interface Javascript whenever as I've already got something similar: http://github.com/webr3/URI Best, Nathan

Re: Widgets - WARP, Widgets Updates and Digital Signatures

2010-09-16 Thread Nathan
Marcos Caceres wrote: On 9/16/10 6:10 PM, Nathan wrote: Marcos Caceres wrote: As above. I thought that was what we (Web Apps WG - Widgets) have been doing for the last 5 years? Maybe I've missed part of the specifications - are you telling me that I can package up an HTML,CSS,JS

Re: Widgets - WARP, Widgets Updates and Digital Signatures

2010-09-16 Thread Nathan
Marcos Caceres wrote: On Fri, Sep 3, 2010 at 7:52 PM, Nathan wrote: Hi All, Simply wondering why WARP, Widgets Updates and Digital Signatures aren't used to deploy js applications which run in the main browser context? I guess because they all have counterparts on the Web stack: WA

Re: Widgets - WARP, Widgets Updates and Digital Signatures

2010-09-16 Thread Nathan
Marcos Caceres wrote: On Thu, Sep 16, 2010 at 1:42 PM, Nathan wrote: cc: public-webapps Hi Claes, Nilsson, Claes1 wrote: Hi Nathan, Thanks for clarifying your proposal. I interpret you so that you are proposing standardization of a general concept of "packaged and installe

Re: Widgets - WARP, Widgets Updates and Digital Signatures

2010-09-16 Thread Nathan
cc: public-webapps Hi Claes, Nilsson, Claes1 wrote: Hi Nathan, Thanks for clarifying your proposal. I interpret you so that you are proposing standardization of a general concept of "packaged and installed web applications". Something like http://code.google.com/chrome/apps/docs/

WebIDL types and xsd types

2010-09-14 Thread Nathan
Hi, Just wondering if there is a mapping between xsd types and Web IDL types? would seem to make sense to align, mirror and give common mappings. Best, Nathan

Re: XHR2 proposal: support for informational responses

2010-09-10 Thread Nathan
Nathan wrote: Julian Reschke wrote: Hi, it might be cool (and not too complicated) to (optionally) expose 1xx responses to the caller (see <http://greenbytes.de/tech/webdav/rfc2616.html#status.1xx>). This could be done through an opt-in, such as specifying a callback function to be

Re: XHR2 proposal: support for informational responses

2010-09-10 Thread Nathan
as I recall, got experimental support in Chromium. Sounds like a good idea, + is this not needed to allow servers to tell clients to Upgrade to HTTP+TLS or WebSockets? Best, Nathan

Re: [WebSQL/IndexedDB] Privacy issues in the wild

2010-09-08 Thread Nathan Kitchen
ning about the spec and encourage them take up their complaint with the vendors instead. Cheers. On Wed, Sep 8, 2010 at 10:51 AM, Jeremy Orlow wrote: > On Tue, Sep 7, 2010 at 7:51 PM, Nathan Kitchen wrote: > >> Hi all. >> >> Stumbled across this article on Ars Technica re

Re: ArrayBuffer and ByteArray questions

2010-09-07 Thread Nathan
/ w3c land? seems to complement the other base types used in webidl etc rather well + my gut reaction was why isn't this standardized within w3c? Best, Nathan

[WebSQL/IndexedDB] Privacy issues in the wild

2010-09-07 Thread Nathan Kitchen
nform some aspects of the spec. Article: *Advertisers get hands stuck inside HTML5 database cookie jar* ( http://arstechnica.com/apple/news/2010/09/rldguid-tracking-cookies-in-safari-database-form.ars ) Thanks. Nathan

Re: Web DOM Core

2010-09-06 Thread Nathan
DOM Core updated - however the word "alternative" in there worries me somewhat, is the end goal to effectively replace DOM Level 3 Core with DOM Core, or to try and split in to two versions of DOM Core (one HTML focussed adn one XML focussed), or other? Best, Nathan

File API exception codes

2010-09-06 Thread Nathan
Hi, Just noticed that File API specifies NOT_READABLE_ERR as code 24, whereas 24 is already used for DATA_CLONE_ERR http://dev.w3.org/html5/spec/common-dom-interfaces.html#data_clone_err Not sure if this is an issue or not, but a heads up regardless. Best, Nathan

Widgets - WARP, Widgets Updates and Digital Signatures

2010-09-03 Thread Nathan
cover the other half of CORS which is informing and protecting the user. Perhaps one of the vendors has already implemented in the main context? Best, Nathan

[IndexedDB] Full text indexing

2010-08-23 Thread Nathan Kitchen
Hi. Just wondering if anyone could take a few moments to provide an update on the state of full-text indexing in IndexedDB? A quick google indicated that the question had been raised before, Jeremy Orlow suggesting support for inverted indexes (back in February) and there was a reference to ongoi

Re: Implementations

2010-08-19 Thread Nathan
Arthur Barstow wrote: On 8/19/10 8:07 AM, ext Nathan wrote: I was wondering if there's a list of which major user agents support (even partially) which APIs One source of data is: http://wiki.whatwg.org/wiki/Implementations_in_Web_browsers thanks :) If folks would provide implement

Implementations

2010-08-19 Thread Nathan
Hi, I was wondering if there's a list of which major user agents support (even partially) which APIs? Best, Nathan

Re: [XHR] Redirects

2010-08-13 Thread Nathan
Julian Reschke wrote: On 13.08.2010 00:03, Anne van Kesteren wrote: ... For instance, a redirectCount property, default value would be something like Infinity (the user agent could then cap the maximum amount of redirects), and setting it to 0 would prevent any redirect, and setting to somethin

[IndexedDB] Full text indexing

2010-07-21 Thread Nathan Kitchen
ge : inherits IRange - DOMString Match Sure you can think of something more appropriate, but that explains what I'd like to accomplish. Is this something that can already be achieved via the IndexedDB spec? If not, could it be included without too much effort? Appreciate all your hard work. Nathan

Re: [cors] Unrestricted access

2010-07-14 Thread Nathan
Tyler, a big fat +1 from me and every other developer I know. Best, Nathan

Re: [IndexedDB] Existence checking

2010-07-05 Thread Nathan Kitchen
That would do the trick, yes. Thanks for pointing it out, all my w3 spec reading skills are belong to you. On Mon, Jul 5, 2010 at 4:44 PM, Shawn Wilsher wrote: >  On 7/5/2010 3:19 AM, Nathan Kitchen wrote: >> >> There are a couple of ways to do this: > > I think you missed

[IndexedDB] Existence checking

2010-07-05 Thread Nathan Kitchen
which doesn't depend on exception handling to imply the state of the database. I've not contributed here before, so please be nice if this suggestion is stupid for reasons I don't know : ) Thanks. Nathan

Re: Transferring File* to WebApps - redux

2010-06-16 Thread Nathan
ey please - this isn't a pipe dream, and everything needed already exists - it just needs pieced together and for you guys to adopt + promote. Apologies for the length of the mail, but you know.. had to say it.. Best, Nathan SULLIVAN, BRYAN L (ATTCINW) wrote: Arun, The basic concern I h

Re: ISSUE-90: Exposing more (~infinite) response headers [CORS]

2010-06-15 Thread Nathan
Anne van Kesteren wrote: On Tue, 16 Jun 2009 16:18:25 +0200, Web Applications Working Group Issue Tracker wrote: In http://lists.w3.org/Archives/Public/public-webapps/2009AprJun/0967.html Mark Nottingham comments on the asymmetry of exposing the body of the response but only a tiny subset

Re: JS crypto pointer

2010-06-09 Thread Nathan
Robin Berjon wrote: Hi, since some people were asking about JS crypto here not long ago, I thought I'd point this one out: http://bitwiseshiftleft.github.com/sjcl/ Thanks Robin! will come in handy :)

Re: Updates to File API

2010-05-20 Thread Nathan
, close the issue, and save the developer community from years of further confusion (or should i say conflated understanding of what a URL is), and benefit the entire web by saving us from yet another (predominantly unneeded) URN namespace or URL scheme. Best & leave this in your capable hands. Nathan

Widgets support

2010-05-15 Thread Nathan
e main browser window, or other? Additionally, under what security model would it run, would CORS/UMP etc still apply as this seems to be at odds with the Widget Access Request Policy [2]. [1] http://dev.w3.org/2006/waf/widgets-land/#introduction [2] http://dev.w3.org/2006/waf/widgets-access/ Best, Nathan

Re: JS crypto?

2010-05-13 Thread Nathan
Vivek Khurana wrote: On Wed, May 12, 2010 at 10:24 PM, Marcin Hanclik wrote: Hi Nathan, This seems to be the current related standardization effort: http://bondidev.omtp.org/1.5/crypto.html = http://bondi01.obe.access-company.com/1_5_5602_145/crypto.html I think the OP request is much

Re: UMP / CORS: Implementor Interest

2010-05-13 Thread Nathan
Maciej Stachowiak wrote: On May 13, 2010, at 3:05 AM, Julian Reschke wrote: On 12.05.2010 22:39, Nathan wrote: Devdatta wrote: As for the "should CORS exist" discussion, I'll bow out of those until we're starting to move towards officially adopting a WG decision on

Re: UMP / CORS: Implementor Interest

2010-05-12 Thread Nathan
//dev.w3.org/2006/waf/UMP/#response-header-filtering Best, Nathan

Re: UMP / CORS: Implementor Interest

2010-05-12 Thread Nathan
ve that up to you guys to decide what's best ;) "all" defines that the UA should process the XHR request as a normal client HTTP request leaving all information + headers intact. Best, Nathan

Re: CORS Header Filtering?

2010-05-12 Thread Nathan
Tyler Close wrote: On Wed, May 12, 2010 at 1:05 PM, Nathan wrote: Tyler Close wrote: On Wed, May 12, 2010 at 12:33 PM, Nathan wrote: Yes, The simplest argument I can give is that we (server admins) are trusted to set the CORS headers, but not to remove any headers we don't want a

Re: CORS Header Filtering?

2010-05-12 Thread Nathan
Tyler Close wrote: On Wed, May 12, 2010 at 12:33 PM, Nathan wrote: Yes, The simplest argument I can give is that we (server admins) are trusted to set the CORS headers, but not to remove any headers we don't want an XHR request to see - this is frankly ridiculous. The problem is there

Re: CORS Header Filtering?

2010-05-12 Thread Nathan
y created Entry Resource. You can't seriously block REST, the design of the web - this is ridiculous. Nathan Devdatta wrote: IIRC HTTP-WG has asked this WG to change this behavior from a whitelist to a blacklist. There was a huge discussion about this a while back -- maybe this could be an exampl

CORS Header Filtering?

2010-05-12 Thread Nathan
he MS-Author-via header. In short there are a whole host of reasons why many different headers are needed (including many not listed here). Nathan

Re: Chromium's support for CORS and UMP

2010-05-12 Thread Nathan
Anne van Kesteren wrote: On Tue, 11 May 2010 07:10:59 +0200, Nathan wrote: exactly, but the current set up stops xhr from getting resources that the could be retrieved from site A with wget - with an inverted model all the issues would disappear, leaving only one issue; namely informing sys

Re: JS crypto?

2010-05-12 Thread Nathan
hing! [1] http://lists.w3.org/Archives/Public/public-web-security/ Best, Nathan Jeremy Orlow wrote: This came up not too long ago in the context of persistent storage. The verdict (IIRC) was that we're not interested in adding crypto just to the persistent storage APIs, but that we migh

JS crypto?

2010-05-12 Thread Nathan
browser. Best & thanks in advance for any response, ps: aware of window.crypto in firefox/gecko Nathan

Re: Chromium's support for CORS and UMP

2010-05-11 Thread Nathan
Boris Zbarsky wrote: On 5/11/10 1:10 AM, Nathan wrote: [!snip] Boris, all, I honestly don't have the solutions (as you can easily see) - what I can see is that with CORS as it stands, and with same origin rules, then the web is about as safe as it can get from xss, which is crucial.

Re: Chromium's support for CORS and UMP

2010-05-10 Thread Nathan
Boris Zbarsky wrote: On 5/11/10 12:27 AM, Nathan wrote: This leaves us in a scenario where it is the norm to download, install and trust an application that runs in the browser Perhaps. The difference is that it's much harder to do a drive-by app install. agree~ish, imho it'

Re: Chromium's support for CORS and UMP

2010-05-10 Thread Nathan
ml replies to specifics below, but they are pretty much obsolete given the above. Boris Zbarsky wrote: On 5/10/10 11:14 PM, Nathan wrote: 2: Implement a user UI confirmation screen to allow JS applications xhr access to other origin resources. (Similar to the allow desktop notifications scena

Re: Chromium's support for CORS and UMP

2010-05-10 Thread Nathan
Boris Zbarsky wrote: On 5/10/10 10:21 PM, Nathan wrote: 2: Implement a user UI confirmation screen to allow JS applications xhr access to other origin resources. (Similar to the allow desktop notifications scenario in chromium) Under what conditions would the typical user be able to make an

Re: Chromium's support for CORS and UMP

2010-05-10 Thread Nathan
Jonas Sicking wrote: On Mon, May 10, 2010 at 6:38 PM, Bjoern Hoehrmann wrote: * Nathan wrote: If you do not depend on a user's special standing with a third party site, you can configure your server as proxy between your user and the third party site. That's more difficult for you,

Re: Chromium's support for CORS and UMP

2010-05-10 Thread Nathan
Bjoern Hoehrmann wrote: * Nathan wrote: Personally, I don't follow why JS running in a user agent should have completely different access rules to the rest of the web, primarily because a few site admin's feel it's a good idea to expose sensitive data via IP-based auth on int

Re: Chromium's support for CORS and UMP

2010-05-10 Thread Nathan
I'm just one little voice that will have ~0 impact on such a huge issue - and am probably wasting char's. Best, Nathan 3) UMP appears to be nearly a subset of CORS, and does have a lot of nice properties for security and simplicity. We support UMP and would like to see the syntax c

CORS Questions

2010-05-10 Thread Nathan
ntranet.corp.example/sensitive.json'; document.body.appendChild(script); } Best, Nathan