From a61e36d7d769e60bdd1d1da7eb9762432d05760c Mon Sep 17 00:00:00 2001
From: Anne van Kesteren Origin
-header flagpicture
, set request's initiator to "imageset
".
⌛ Set request's same-origin data-URL flag.
-⌛ Set request's
referrer policy to the current state of
the element's referrerpolicy
attribute.
Set request's same-origin data-URL flag.
Set request's
referrer policy to the current state of
the element's referrerpolicy
attribute.
A SharedWorkerGlobalScope
object has an associated constructor url and constructor origin, constructor url, and name. They are initialized when the
SharedWorkerGlobalScope
object is created, in the run a worker
@@ -96762,6 +96764,11 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope {
If is shared is true, then:
Set worker global scope's constructor origin to + outside settings's origin.
Set worker global scope's constructor url to url.
Return UTF-8.
+Return UTF-8.
Return inherited origin.
+Return a unique opaque origin if worker
+ global scope's url's scheme is "data
", and inherited
+ origin otherwise.
Let worker URL be the resulting URL record.
-Any same-origin URL will do, including blob:
URLs.
Any same-origin URL (including blob:
URLs) can be used. data:
+ URLs can also be used, but they create a worker with an opaque origin.
Let worker be a new Worker
object.
Otherwise, let urlRecord be the resulting URL record.
-Any same-origin URL will do, including blob:
URLs.
Any same-origin URL (including blob:
URLs) can be used. data:
+ URLs can also be used, but they create a worker with an opaque origin.
Let worker be a new SharedWorker
object.
Let worker global scope be null.
If there exists a SharedWorkerGlobalScope
object whose closing flag is false, whose name is exactly equal to name,
- whose constructor url
- equals urlRecord, and whose relevant
- settings object's origin is
- same origin with outside settings's origin, then set worker global scope
- to that SharedWorkerGlobalScope
object.
If there exists a SharedWorkerGlobalScope
object whose closing flag is false, constructor origin is
+ same origin with outside settings's origin, constructor url equals urlRecord, and name is name, then set
+ worker global scope to that SharedWorkerGlobalScope
object.
data:
URLs create a worker with an opaque origin. Both the constructor origin and
+ constructor url are
+ compared so the same data:
URL can be used within an
+ origin to get to the same SharedWorkerGlobalScope
object, but cannot
+ be used to bypass the same origin restriction.
If worker global scope is not null, but the user agent has been