Re: Tags and origins (was: Re: Web Notifications)

2012-06-21 Thread Charles McCathieNevile
On Wed, 20 Jun 2012 15:07:27 +0200, Anne van Kesteren ann...@annevk.nl  
wrote:



On Wed, Jun 20, 2012 at 3:03 PM, Charles McCathieNevile
cha...@opera.com wrote:

In the default case yes. Can you use something to change that (a la
from-origin)?


I don't really see how. Do you have an example where it makes sense?


Probably by adding something like analgous to CORS as an attribute. Seems  
like a feature creep that should be directed to some future version.


cheers

Chaal

--
Charles 'chaals' McCathieNevile  Opera Software, Standards Group
je parle français -- hablo español -- jeg kan noen norsk
http://my.opera.com/chaals   Try Opera: http://www.opera.com



Tags and origins (was: Re: Web Notifications)

2012-06-20 Thread Anne van Kesteren
On Wed, Jun 20, 2012 at 12:17 PM, Olli Pettay olli.pet...@helsinki.fi wrote:
 Seems like tags are global. I think they should be per origin.

Yes I believe they should be.

http://dvcs.w3.org/hg/notifications/rev/563e9af218b9

Thanks,


-- 
Anne — Opera Software
http://annevankesteren.nl/
http://www.opera.com/



Re: Tags and origins (was: Re: Web Notifications)

2012-06-20 Thread Charles McCathieNevile
On Wed, 20 Jun 2012 14:30:08 +0200, Anne van Kesteren ann...@annevk.nl  
wrote:


On Wed, Jun 20, 2012 at 12:17 PM, Olli Pettay olli.pet...@helsinki.fi  
wrote:

Seems like tags are global. I think they should be per origin.


Yes I believe they should be.

http://dvcs.w3.org/hg/notifications/rev/563e9af218b9


In the default case yes. Can you use something to change that (a la  
from-origin)?


cheers

--
Charles 'chaals' McCathieNevile  Opera Software, Standards Group
je parle français -- hablo español -- jeg kan noen norsk
http://my.opera.com/chaals   Try Opera: http://www.opera.com



Re: Tags and origins (was: Re: Web Notifications)

2012-06-20 Thread Anne van Kesteren
On Wed, Jun 20, 2012 at 3:03 PM, Charles McCathieNevile
cha...@opera.com wrote:
 In the default case yes. Can you use something to change that (a la
 from-origin)?

I don't really see how. Do you have an example where it makes sense?


-- 
Anne — Opera Software
http://annevankesteren.nl/
http://www.opera.com/



Re: Tags and origins (was: Re: Web Notifications)

2012-06-20 Thread John Gregg
On Wed, Jun 20, 2012 at 5:30 AM, Anne van Kesteren ann...@annevk.nl wrote:

 On Wed, Jun 20, 2012 at 12:17 PM, Olli Pettay olli.pet...@helsinki.fi
 wrote:
  Seems like tags are global. I think they should be per origin.

 Yes I believe they should be.

 http://dvcs.w3.org/hg/notifications/rev/563e9af218b9

 Thanks,


This seems like an odd way to restore per-origin tags.  Now tag means be
either a string or a tuple depending on context.

Can we either go back to the original language where in the showing
algorithm you compare both tag and origin (add origin to the model), or
rename the model context of tag to something more specific, perhaps even
replace ID?

 -John


Re: Tags and origins (was: Re: Web Notifications)

2012-06-20 Thread Anne van Kesteren
On Wed, Jun 20, 2012 at 3:25 PM, John Gregg john...@google.com wrote:
 Can we either go back to the original language where in the showing
 algorithm you compare both tag and origin (add origin to the model),

Sure.

http://dvcs.w3.org/hg/notifications/rev/93c6983ce465


-- 
Anne — Opera Software
http://annevankesteren.nl/
http://www.opera.com/