This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24519 - Why do workers use document as their referrer source when they do not seem to need document for anything else? Seems more logical if the worker's location was used as the referrer.
Summary: Why do workers use document as their referrer source when they do not seem to...
Status: RESOLVED INVALID
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard: blocked awaiting response from annevk...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-05 14:37 UTC by contributor
Modified: 2015-08-28 07:48 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2014-02-05 14:37:34 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html
Multipage: http://www.whatwg.org/C#worker-processing-model-top
Complete: http://www.whatwg.org/c#worker-processing-model-top
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
Why do workers use document as their referrer source when they do not seem to
need document for anything else? Seems more logical if the worker's location
was used as the referrer.

Posted from: 82.130.78.175 by annevk@annevk.nl
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:30.0) Gecko/20100101 Firefox/30.0
Comment 1 Ian 'Hixie' Hickson 2014-02-21 19:28:57 UTC
I'm confused. The API referrer source for a worker settings object is the script's URL. Are you talking about the referrer source for the worker script itself?
Comment 2 Anne 2014-03-17 15:00:58 UTC
Yes I am, sorry for the confusion.
Comment 3 Anne 2015-08-28 07:48:46 UTC
The document is where the URL originates so it actually makes total sense.