W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2009

[whatwg] In AppCache web apps, images from unpredictable domains won't load

From: Aaron Whyte <awhyte@google.com>
Date: Mon, 6 Jul 2009 11:46:57 -0700
Message-ID: <a8329d140907061146o20af3ae6n1f5f55d3670675ca@mail.gmail.com>
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
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/168e1b5d/attachment-0001.htm>
Received on Monday, 6 July 2009 11:46:57 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:14 UTC