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 27145 - I think it would be cleaner if the sole purpose we had responsible document for workers for was fact [...]
Summary: I think it would be cleaner if the sole purpose we had responsible document f...
Status: RESOLVED FIXED
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: https://html.spec.whatwg.org/#script-...
Whiteboard:
Keywords:
: 27035 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-10-23 15:58 UTC by contributor
Modified: 2014-11-19 23:35 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2014-10-23 15:58:16 UTC
Specification: https://html.spec.whatwg.org/multipage/workers.html
Multipage: https://html.spec.whatwg.org/multipage/#script-settings-for-workers
Complete: https://html.spec.whatwg.org/#script-settings-for-workers
Referrer: 

Comment:
I think it would be cleaner if the sole purpose we had responsible document
for workers for was factored out and it would just return null. We only need
it for the fetch of the script. If you disagree, please stipulate clearly the
reason why it exists and why it should not be used by other specifications.

Posted from: 46.127.136.57 by annevk@annevk.nl
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:36.0) Gecko/20100101 Firefox/36.0
Comment 1 Ian 'Hixie' Hickson 2014-10-23 17:30:20 UTC
This is just for workers.

Seems reasonable.
Comment 2 Ian 'Hixie' Hickson 2014-11-19 23:33:56 UTC
*** Bug 27035 has been marked as a duplicate of this bug. ***
Comment 3 contributor 2014-11-19 23:35:49 UTC
Checked in as WHATWG revision r8853.
Check-in comment: Drop the 'responsible document' concept. This also changes the referrer to use when launching a nested worker to be the URL of the outer worker instead of the URL of the outer Document, which made no sense really.
https://html5.org/tools/web-apps-tracker?from=8852&to=8853