[whatwg] AppCache and javascript url question?

Ian Hickson ian at hixie.ch
Tue Jun 30 21:29:49 PDT 2009


On Thu, 4 Jun 2009, Michael Nordman wrote:
>
> What appcache (if any) should the resulting iframes be associated with? I
> think per the spec, the answer is none. Is that the correct answer?
> 
> <html manifest='myManifestFile'>
> <body>
> <script language="JavaScript">
>   function frameContents1()
>   {
>     var doc = frame1.document;
>     doc.open();
>     doc.write('<img src=image.png>');
>     doc.close();
>     return;
>   }
> 
>   function frameContents2()
>   {
>     return "hello";
>   }
> </script>
> 
> <iframe name="frame1" src="javascript:parent.frameContents1()">
> <iframe name="frame2" src="javascript:parent.frameContents2()">
> </body>
> </html>

If there's no manifest="", there's no application cache selected, as far 
as I can tell.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list