This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Specification: https://html.spec.whatwg.org/multipage/workers.html Multipage: https://html.spec.whatwg.org/multipage/#workerglobalscope Complete: https://html.spec.whatwg.org/#workerglobalscope Referrer: https://html.spec.whatwg.org/multipage/ Comment: Expose a worker's origin as self.origin (similar to how we have document.origin). Posted from: 107.16.188.113 by annevk@annevk.nl User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:37.0) Gecko/20100101 Firefox/37.0
Oh, this is needed because we added data: URLs, I guess.
Yeah, I think that is the main case. But we also do not want to encourage location.origin I think because it's so fucked for documents.
*** This bug has been marked as a duplicate of bug 28801 ***