Expand description
Messages send from the ScriptThread to the Constellation.
Structs§
- Auxiliary
WebView Creation Request - Specifies the information required to load an auxiliary browsing context.
- Auxiliary
WebView Creation Response - Constellation’s response to auxiliary browsing context creation requests.
- DOMMessage
- Message that gets passed to service worker scope on postMessage
- IFrame
Load Info - Specifies the information required to load an iframe.
- IFrame
Load Info With Data - Specifies the information required to load a URL in an iframe.
- IFrame
Size Msg - An iframe sizing operation.
- Job
- https://w3c.github.io/ServiceWorker/#dfn-job
- Load
Data - can be passed to
LoadUrl
to load a page with GET/POST parameters or headers - SWManager
Senders - Channels to allow service worker manager to communicate with constellation and resource thread
- Scope
Things - Entities required to spawn service workers
- Script
ToConstellation Chan - A Script to Constellation channel.
- Worker
Global Scope Init - Resources required by workerglobalscopes
- Worker
Script Load Origin - Common entities representing a network load origin
Enums§
- Document
State - Used to determine if a script has any pending asynchronous activity.
- IFrame
Sandbox State - 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.
- JobResult
Value - Jobs are resolved with the help of various values.
- JobType
- https://w3c.github.io/ServiceWorker/#dfn-job-type
- JsEval
Result - The result of evaluating a javascript scheme url.
- Load
Origin - The origin where a given load was initiated. Useful for origin checks, for example before evaluation a JS URL.
- Navigation
History Behavior - https://html.spec.whatwg.org/multipage/#navigation-supporting-concepts:navigationhistorybehavior
- SWManager
Msg - Messages outgoing from the Service Worker Manager thread to constellation
- Script
ToConstellation Message - Messages from the script to the constellation.
- Service
Worker Msg - Messages sent to Service Worker Manager thread
Traits§
- Service
Worker Manager Factory - This trait allows creating a
ServiceWorkerManager
without depending on thescript
crate.