W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2009

Re: [widgets] Widgets URI scheme... it's baaaack!

From: Thomas Roessler <tlr@w3.org>
Date: Wed, 27 May 2009 11:03:31 +0200
To: timeless@gmail.com
Message-Id: <A9256AEB-EA4A-4F03-B76C-29C88D373CB0@w3.org>
Cc: Arve Bersvendsen <arveb@opera.com>, Jean-Claude Dufourd <jean-claude.dufourd@telecom-paristech.fr>, public-webapps <public-webapps@w3.org>, public-pkg-uri-scheme <public-pkg-uri-scheme@w3.org>
On 27 May 2009, at 10:58, timeless wrote:

> On Wed, May 27, 2009 at 10:44 AM, Thomas Roessler <tlr@w3.org> wrote:
>> 2. Where does the requirement for query strings suddenly come  
>> from?  I can't
>> find it in the current editor's draft, and (beyond a side  
>> discussion with
>> timeless) don't recall conversation about it.
>
> Basically web apps expect that window.location behave properly, if you
> use a scheme such as data:

Just to be clear...  The expectation you're talking about is that:

1. upon dereferencing, the query part is ignored
2. when present, it's propagated into window.location.query

Correct?

> data:text/html,<script>alert(window.location.query%20? 
> %20window.location.query%20:%20"query
> is not supported")</script>?%20Wouldn't%20it%20be%20nice?
>
> note that i can't do anything useful with this web app encoded as a
> data url because query is empty.
>
> Query based web apps are very common.
>
> ----
>
> Note: regrets for the next meeting, I'm traveling again.
>
Received on Wednesday, 27 May 2009 09:03:38 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:31 GMT