mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 07:41:01 +00:00
LibWeb: Create separate DedicatedWorkerGlobalScope class
This is how it's supposed to have been from the beginning, we were just lazy :).
This commit is contained in:
parent
f99c7ad85d
commit
40a2bb32c3
Notes:
sideshowbarker
2024-07-17 02:08:15 +09:00
Author: https://github.com/ADKaster
Commit: 40a2bb32c3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/543
13 changed files with 179 additions and 43 deletions
|
@ -428,6 +428,12 @@ static ErrorOr<ExposedTo> parse_exposure_set(IDL::Interface& interface)
|
|||
return ExposedTo::Window;
|
||||
if (exposed == "Worker"sv)
|
||||
return ExposedTo::AllWorkers;
|
||||
if (exposed == "DedicatedWorker"sv)
|
||||
return ExposedTo::DedicatedWorker;
|
||||
if (exposed == "SharedWorker"sv)
|
||||
return ExposedTo::SharedWorker;
|
||||
if (exposed == "ServiceWorker"sv)
|
||||
return ExposedTo::ServiceWorker;
|
||||
if (exposed == "AudioWorklet"sv)
|
||||
return ExposedTo::AudioWorklet;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue