W3C home > Mailing lists > Public > public-webappsec@w3.org > July 2014

Re: [REFERRER] Where does "Determine request’s Referrer" get its URL from?

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 30 Jul 2014 09:40:06 +0200
Message-ID: <CADnb78j-mVX17d1_eOyotTjPh=jXGqG06Ba3+kOCpyQgmKuJFA@mail.gmail.com>
To: Ian Hickson <ian@hixie.ch>
Cc: WebAppSec WG <public-webappsec@w3.org>
On Tue, Jul 29, 2014 at 8:27 PM, Ian Hickson <ian@hixie.ch> wrote:
> On Tue, 29 Jul 2014, Anne van Kesteren wrote:
>> It's the thing SW uses to talk back to the environment the fetch
>> originated from.
>
> I don't understand what this means. Can you elaborate?

Say a worker invokes importScripts(). That invokes the service worker.
In the service worker a field named "client" is exposed in either the
event or the Request object associated with the event. That "client"
holds a message channel for the worker.

It's equivalent in a document environment with an <img> or a
background-image in an associated style sheet.


-- 
http://annevankesteren.nl/
Received on Wednesday, 30 July 2014 07:40:34 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:54:06 UTC