diff options
author | bors-servo <servo-ops@mozilla.com> | 2021-07-13 07:49:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-13 07:49:47 -0400 |
commit | c5ed0430bbb6beef8e560af6175504d54d2d21ff (patch) | |
tree | f072bfe4124e9e71382278e5fab3ebe2392bc037 /components/script/dom/windowproxy.rs | |
parent | 4181962504cbdec05232c53f9ab2bab17d045530 (diff) | |
parent | 52c60e0bf52a7ae915ccd7800286d1ef9198132d (diff) | |
download | servo-c5ed0430bbb6beef8e560af6175504d54d2d21ff.tar.gz servo-c5ed0430bbb6beef8e560af6175504d54d2d21ff.zip |
Auto merge of #28542 - yvt:fix-dedicated-worker-environment-origin, r=jdm
Set `DedicatedWorkerGlobalScope`'s origin correctly
<https://html.spec.whatwg.org/multipage/workers.html#script-settings-for-workers>
> To **set up a worker environment settings object**, given a JavaScript execution context *execution context* and environment settings object *outside settings*: [...]
>
> 4. Let *settings object* be a new environment settings object whose algorithms are defined as follows:
>
> **The origin** Return a unique opaque origin if *worker global scope*'s url's scheme is "data", and *inherited origin* otherwise.
---
- [x] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)
---
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because ___
Diffstat (limited to 'components/script/dom/windowproxy.rs')
0 files changed, 0 insertions, 0 deletions