Module from_script_message

Source
Expand description

Messages send from the ScriptThread to the Constellation.

Structs§

AuxiliaryWebViewCreationRequest
Specifies the information required to load an auxiliary browsing context.
AuxiliaryWebViewCreationResponse
Constellation’s response to auxiliary browsing context creation requests.
DOMMessage
Message that gets passed to service worker scope on postMessage
IFrameLoadInfo
Specifies the information required to load an iframe.
IFrameLoadInfoWithData
Specifies the information required to load a URL in an iframe.
IFrameSizeMsg
An iframe sizing operation.
Job
https://w3c.github.io/ServiceWorker/#dfn-job
LoadData
can be passed to LoadUrl to load a page with GET/POST parameters or headers
SWManagerSenders
Channels to allow service worker manager to communicate with constellation and resource thread
ScopeThings
Entities required to spawn service workers
ScriptToConstellationChan
A Script to Constellation channel.
WorkerGlobalScopeInit
Resources required by workerglobalscopes
WorkerScriptLoadOrigin
Common entities representing a network load origin

Enums§

DocumentState
Used to determine if a script has any pending asynchronous activity.
IFrameSandboxState
Whether the sandbox attribute is present for an iframe element
JobError
The kind of error the job promise should be rejected with.
JobResult
Messages sent from Job algorithms steps running in the SW manager, in order to resolve or reject the job promise.
JobResultValue
Jobs are resolved with the help of various values.
JobType
https://w3c.github.io/ServiceWorker/#dfn-job-type
JsEvalResult
The result of evaluating a javascript scheme url.
LoadOrigin
The origin where a given load was initiated. Useful for origin checks, for example before evaluation a JS URL.
NavigationHistoryBehavior
https://html.spec.whatwg.org/multipage/#navigation-supporting-concepts:navigationhistorybehavior
SWManagerMsg
Messages outgoing from the Service Worker Manager thread to constellation
ScriptToConstellationMessage
Messages from the script to the constellation.
ServiceWorkerMsg
Messages sent to Service Worker Manager thread

Traits§

ServiceWorkerManagerFactory
This trait allows creating a ServiceWorkerManager without depending on the script crate.