[whatwg] In AppCache web apps, images from unpredictable domains won't load
Michael Nordman
michaeln at google.com
Mon Jul 6 12:05:09 PDT 2009
Yup... the source of grief is...
6.9.7 Changes to the networking model 5: Fail the resource load.
The intent behind this was "making the testing of offline application
easier". Given the unintended consequence Aaron brought up, we should
probably revisit this.
Maybe only fail to load the resource if its from the same-origin as the
manifest, otherwise load as usual.
On Mon, Jul 6, 2009 at 11:46 AM, Aaron Whyte <awhyte at google.com> wrote:
> When a page is loaded from an AppCache, even when online, external
> resources such as images will not be loaded at all.
> If foo.com has an image <img src="http://bar.com/img.png" />, then
> according to the steps in
>
> http://www.whatwg.org/specs/web-apps/current-work/multipage/offline.html#changesToNetworkingModel
> it will fail the load for the resource.
> For example, someone with an Offline Gmail client would never be able to
> see cross-domain images in emails, even when completely online.
>
> There's no workaround in the current spec. For user-defined img tags, like
> those in webmail apps, the set of external domains is practically infinite.
> The NETWORK namespace, which requires a known domain for the
> domain-matching check, won't help. The FALLBACK namespace has to have a
> known domain, that has to be the same as the manifest's domain, so it also
> can't help.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090706/bcce2828/attachment.htm>
More information about the whatwg
mailing list