Re: [whatwg] Inconsistent behavior for empty-string URLs

2009-12-18 Thread Simon Pieters

On Fri, 18 Dec 2009 01:51:44 +0100, Simon Pieters sim...@opera.com wrote:

On Thu, 17 Dec 2009 22:58:03 +0100, Simon Pieters sim...@opera.com  
wrote:


I asked Philip to provide some data about pages using empty attributes  
for these:


Philip` zcorpan: http://philip.html5.org/data/empty-url-attributes.txt
Philip` zcorpan:  
http://philip.html5.org/data/empty-url-link-attributes.txt



I have not looked at these yet,


(and still haven't, just made the data slightly more digestible)


I've now looked at a selection of random URLs.

Conclusion: None of these seem to need a request to be made. img should  
fire an error event. iframe and frame should use about:blank.



but it would probably be good to do so before changing things, so we  
have an idea what the compat impact is.


http://simon.html5.org/dump/empty-url-attributes.xml

img src, 3221 occurrences


Some pages use these as spacers.

http://10-0-1-1.category.datapicks.com/.html has:

img alt=!  Advanced Applet Suite  
onerror=this.src='http://www.datapicks.com/icon.gif'; src=  
align=left border=0 vspace=3 hspace=5 width=32 height=32


...which suggests that we need to fire an error event (the page works as  
intended in Chrome and but has broken image boxes in Opera and Firefox).


Similarly  
http://dailysofts.com/program/366/5247/MacDrive_6_for_Windows.html has:


img alt=Stamp It onerror=this.src='/icon.gif'; src= align=left  
border=0 height=32 width=32



http://album.cando360.com/photo/personal_2453.html has:

img src=  id=GlobalUserLogined_MyHeaderImg /

...which seems like something that is filled in when the user is logged  
in, maybe with script.


Similarly  
http://managedhealthcareexecutive.modernmedicine.com/mhe/article/articleDetail.jsp?id=367917sk=date=%0A%09%09%09pageID=2  
has:


img id=randomImage src= alt=Word Verification Image Loading, please  
wait.../




script src, 248 occurrences


These seem to be mostly not-filled-in boiletplate.



iframe src, 1862 occurrences


These seem to just want to get an about:blank iframe for various reasons.



video src, 0 occurrences
video poster, 0 occurrences
audio src, 0 occurrences
object data, 0 occurrences
embed src, 74 occurrences


These seem to be not-filled-in object/embed plugin boilerplates. Not sure  
if they need to invoke the plugin (from type or other) or not.




source src, 0 occurrences
input src, 55 occurrences


Not sure what to make of these. Some are not type=image, some seem to be  
invisible submit buttons...




command icon, 0 occurrences
html manifest, 0 occurrences
applet code, 0 occurrences
frame src, 53 occurrences


Mostly a blank main frame getting filled in with script or by clicking a  
link in another frame.




body background, 1665 occurrences


Pages with no background image...



http://simon.html5.org/dump/empty-url-link-attributes.xml

link rel=icon, 243 occurrences


Not-filled-in boilerplate.



link rel=prefetch, 0 occurrences
link rel=stylesheet, 115 occurrences


Not-filled-in boilerplate.

--
Simon Pieters
Opera Software


Re: [whatwg] Cross Origin Workers

2009-12-18 Thread Anne van Kesteren
On Fri, 18 Dec 2009 11:28:28 +0100, JOSE MANUEL CANTERA FONSECA  
j...@tid.es wrote:
I was wondering if with HTML5 Workers is possible to have the same  
functionality on Cross Origin Workers as in Google Gears [1].


Any help would be appreciated

[1]  
http://code.google.com/intl/es-ES/apis/gears/gears_faq.html#crossOriginWorker


FYI: They're not HTML5 Workers, just Web Workers. And no, they do not have  
cross-origin functionality currently.



--
Anne van Kesteren
http://annevankesteren.nl/


Re: [whatwg] Cross Origin Workers

2009-12-18 Thread JOSE MANUEL CANTERA FONSECA
thanks for the clarification. 

Any plans for adding such a functionality or alternatively are there other 
mechanisms proposed or foreseen? 

Best R. 

-Mensaje original-
De: Anne van Kesteren [mailto:ann...@opera.com] 
Enviado el: viernes, 18 de diciembre de 2009 12:18
Para: JOSE MANUEL CANTERA FONSECA; whatwg@lists.whatwg.org
Asunto: Re: [whatwg] Cross Origin Workers

On Fri, 18 Dec 2009 11:28:28 +0100, JOSE MANUEL CANTERA FONSECA  
j...@tid.es wrote:
 I was wondering if with HTML5 Workers is possible to have the same  
 functionality on Cross Origin Workers as in Google Gears [1].

 Any help would be appreciated

 [1]  
 http://code.google.com/intl/es-ES/apis/gears/gears_faq.html#crossOriginWorker

FYI: They're not HTML5 Workers, just Web Workers. And no, they do not have  
cross-origin functionality currently.


-- 
Anne van Kesteren
http://annevankesteren.nl/


Re: [whatwg] Cross Origin Workers

2009-12-18 Thread Anne van Kesteren
On Fri, 18 Dec 2009 13:00:51 +0100, JOSE MANUEL CANTERA FONSECA  
j...@tid.es wrote:

thanks for the clarification.

Any plans for adding such a functionality or alternatively are there  
other mechanisms proposed or foreseen?


Pretty sure we'll add it in due course. You can use postMessage() and  
iframe or XMLHttpRequest (not everywhere yet) for cross-origin  
communication if that is your main use case.



--
Anne van Kesteren
http://annevankesteren.nl/


Re: [whatwg] Appcache feedback

2009-12-18 Thread Anne van Kesteren

On Thu, 17 Dec 2009 22:44:01 +0100, Ian Hickson i...@hixie.ch wrote:

We could delay the application cache download process so that it doesn't
start until after the 'load' event has fired. Does anyone have an opinion
on this?


I believe we (Opera) found this is what at least some implementations are  
doing now and we do this as well. What Michael suggested makes sense and I  
suppose as the effects are indistinguishable in the end that (delaying  
either the events or the download process) should be fine.



--
Anne van Kesteren
http://annevankesteren.nl/