1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:17:36 +00:00

LibWeb: Add facilities to serialize EnvironmentSettingsObjects

This will be used to transfer information about the parent context to
DedicatedWorkers and future out-of-process Worker/Worklet
implementations for fetching purposes. In order to properly check
same-origin and other policies, we need to know more about the outside
settings than we were previously passing to the WebWorker process.
This commit is contained in:
Andrew Kaster 2024-03-05 09:29:14 -07:00 committed by Andreas Kling
parent c79bac70f4
commit 4d22358e05
11 changed files with 198 additions and 5 deletions

View file

@ -133,10 +133,12 @@ source_set("HTML") {
"NavigatorBeacon.cpp",
"NavigatorID.cpp",
"Numbers.cpp",
"Origin.cpp",
"PageTransitionEvent.cpp",
"Path2D.cpp",
"Plugin.cpp",
"PluginArray.cpp",
"PolicyContainers.cpp",
"PotentialCORSRequest.cpp",
"PromiseRejectionEvent.cpp",
"SelectItem.cpp",

View file

@ -9,6 +9,7 @@ source_set("Scripting") {
"ModuleMap.cpp",
"ModuleScript.cpp",
"Script.cpp",
"SerializedEnvironmentSettingsObject.cpp",
"TemporaryExecutionContext.cpp",
"WindowEnvironmentSettingsObject.cpp",
"WorkerEnvironmentSettingsObject.cpp",