Re: [MIX] Require HTTPS scripts to be able to anything HTTP scripts can do.

On Mon, Jan 5, 2015 at 11:24 AM, Tim Berners-Lee <timbl@w3.org> wrote:
> You are right of course.    I guess the requirement needs to be rewritten
> more like:
>
>> No script which works when served as http: within an http: web page should
>> fail when instead served from https: within a https: web page

Why are scripts special? Why do you think

  x = new XMLHttpRequest
  x.open("GET", "http://example/test")
  x.send()

should succeed whereas

  <script src=http://example/test>

should fail? (Assuming TLS for the surrounding context.) Both pose the
same problem.


-- 
https://annevankesteren.nl/

Received on Monday, 5 January 2015 10:35:26 UTC