Re: CfC: Mixed Content to PR; deadline July 6th.

On Thu, Jul 30, 2015 at 10:43 AM, Mike West <mkwst@google.com> wrote:
> Doesn't the set of `window` checks and associated copy behavior that we
> discussed prevent this? That is, `fetch(e.request)` works because it copies
> the window object rather than setting `no-window`. This code would set
> `no-window`, and would therefore fail.
>
> Have I misunderstood the algorithm in Fetch?

You haven't. My bad. But if a document had previous requested
unsafe.example/x and put it in the cache, and the service worker would
reply with that, you'd have something similar that would work.


-- 
https://annevankesteren.nl/

Received on Thursday, 30 July 2015 09:43:30 UTC