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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=12715

Henri Sivonen <hsivonen@iki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsivonen@iki.fi

--- Comment #11 from Henri Sivonen <hsivonen@iki.fi> 2012-01-05 08:13:47 UTC ---
(In reply to comment #10)
> why is XMLHttpRequest not sufficient?
> 
> 1) it only works over HTTP. other URL schemes aren't supported.

Incorrect. XMLHttpRequest in neither restricted to XML nor HTTP.

> what happens if you want to run the content from a non-http url scheme (file://) ?

In Firefox, if the file:// URL is considered to be same-origin with the
document that uses XHR, XHR is allowed to GET the file:// URL.

-- 
Configure bugmail: https://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 Thursday, 5 January 2012 08:14:06 UTC