W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2014

Re: Fwd: Data uri origin inheritance

From: João Eiras <joao.eiras@gmail.com>
Date: Wed, 15 Jan 2014 23:29:07 +0100
Message-ID: <CAJ+sA06tfwwkC95SNerRFgLXAGTUtR7hhodjs7Gmjo4MF5bcpA@mail.gmail.com>
Cc: www-dom@w3.org
> The origin that's used is the origin of the innermost stack frame,
> basically.  What the spec is calling the "incumbent script".  That's
> what usually gets used whenever you need to derive an origin from what
> scripts are active...
> Or is the question why the origin depends on the script at all?  What
> other origin would you use?  Don't forget the case of windows opened
> with window.open, not just subframes.
> -Boris

Why does the origin depend on the script (instead of just inheriting
from the parent document) ? What is the use case ? Is there any browsr
that implements that behavior ?
Received on Wednesday, 15 January 2014 22:30:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:22 UTC