W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > November 2011

[Bug 12715] When used to include data blocks (as opposed to scripts), the data must be embedded inline

From: <bugzilla@jessica.w3.org>
Date: Fri, 04 Nov 2011 06:32:15 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1RMDK3-0002b2-Ec@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12715

Simon Pieters <simonp@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WORKSFORME                  |NEEDSINFO

--- Comment #5 from Simon Pieters <simonp@opera.com> 2011-11-04 06:32:15 UTC ---
Oh wait. "data block" needs the data embedded inline. Having it external with
src="" won't work since the script isn't fetched if type is not supported.
IIRC, browsers converged on not fetching such scripts for perf reasons.
However, I guess a new attribute could be minted to explicitly enable fetching
external (but same-origin) data blocks and making them available to scripts for
reading, as an alternative to XHR.

Why is XHR not good enough?

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 4 November 2011 06:43:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 4 November 2011 06:43:11 GMT