webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
WorkerGlobalScope Interface Reference

import"WorkerGlobalScopeConstructors.idl";

Inheritance diagram for WorkerGlobalScope:
EventTarget DedicatedWorkerGlobalScope

Public Member Functions

Promise< Responsefetch (any input, optional RequestInit init)
 
Promise< ResponsefetchRequest (FetchRequest request)
 
void close ()
 
void importScripts (USVString... urls)
 
- Public Member Functions inherited from EventTarget
void addEventListener ([AtomicString] DOMString type, EventListener? callback, optional(AddEventListenerOptions or boolean) options=false)
 
void removeEventListener ([AtomicString] DOMString type, EventListener? callback, optional(EventListenerOptions or boolean) options=false)
 
boolean dispatchEvent (Event event)
 

Public Attributes

attribute FetchHeadersConstructor Headers
 
attribute FetchRequestConstructor Request
 
attribute FetchResponseConstructor Response
 
attribute ByteLengthQueuingStrategyConstructor ByteLengthQueuingStrategy
 
attribute CountQueuingStrategyConstructor CountQueuingStrategy
 
attribute ReadableStreamConstructor ReadableStream
 
attribute WebSocketConstructor WebSocket
 
attribute CryptoKeyConstructor CryptoKey
 
attribute SubtleCryptoConstructor SubtleCrypto
 
attribute DOMCoreExceptionConstructor DOMException
 
attribute DOMPointConstructor DOMPoint
 
attribute DOMPointReadOnlyConstructor DOMPointReadOnly
 
attribute DOMRectConstructor DOMRect
 
attribute DOMRectReadOnlyConstructor DOMRectReadOnly
 
attribute ErrorEventConstructor ErrorEvent
 
attribute EventConstructor Event
 
attribute EventTargetConstructor EventTarget
 
attribute MessageChannelConstructor MessageChannel
 
attribute MessageEventConstructor MessageEvent
 
attribute MessagePortConstructor MessagePort
 
attribute ProgressEventConstructor ProgressEvent
 
attribute TextDecoderConstructor TextDecoder
 
attribute TextEncoderConstructor TextEncoder
 
attribute BlobConstructor Blob
 
attribute FileReaderConstructor FileReader
 
attribute FileReaderSyncConstructor FileReaderSync
 
attribute DOMURLConstructor URL
 
attribute ImageDataConstructor ImageData
 
attribute URLSearchParamsConstructor URLSearchParams
 
attribute CryptoConstructor Crypto
 
attribute EventSourceConstructor EventSource
 
attribute PerformanceConstructor Performance
 
attribute PerformanceEntryConstructor PerformanceEntry
 
attribute PerformanceMarkConstructor PerformanceMark
 
attribute PerformanceMeasureConstructor PerformanceMeasure
 
attribute PerformanceObserverConstructor PerformanceObserver
 
attribute PerformanceObserverEntryListConstructor PerformanceObserverEntryList
 
attribute PerformanceResourceTimingConstructor PerformanceResourceTiming
 
attribute WorkerNavigatorConstructor WorkerNavigator
 
attribute WorkerGlobalScopeConstructor WorkerGlobalScope
 
attribute WorkerLocationConstructor WorkerLocation
 
attribute XMLHttpRequestConstructor XMLHttpRequest
 
attribute XMLHttpRequestEventTargetConstructor XMLHttpRequestEventTarget
 
readonly attribute IDBFactory indexedDB
 
readonly attribute WorkerGlobalScope self
 
readonly attribute WorkerLocation location
 
attribute EventHandler onerror
 
attribute EventHandler onoffline
 
attribute EventHandler ononline
 
readonly attribute WorkerNavigator navigator
 
attribute DOMURLConstructor webkitURL
 
attribute IDBCursorConstructor IDBCursor
 
attribute IDBCursorWithValueConstructor IDBCursorWithValue
 
attribute IDBDatabaseConstructor IDBDatabase
 
attribute IDBFactoryConstructor IDBFactory
 
attribute IDBIndexConstructor IDBIndex
 
attribute IDBKeyRangeConstructor IDBKeyRange
 
attribute IDBObjectStoreConstructor IDBObjectStore
 
attribute IDBOpenDBRequestConstructor IDBOpenDBRequest
 
attribute IDBRequestConstructor IDBRequest
 
attribute IDBTransactionConstructor IDBTransaction
 
attribute IDBVersionChangeEventConstructor IDBVersionChangeEvent
 

Member Function Documentation

◆ close()

void WorkerGlobalScope::close ( )

◆ fetch()

Promise<Response> WorkerGlobalScope::fetch ( any  input,
optional RequestInit  init 
)

◆ fetchRequest()

Promise<Response> WorkerGlobalScope::fetchRequest ( FetchRequest  request)

◆ importScripts()

void WorkerGlobalScope::importScripts ( USVString...  urls)

Member Data Documentation

◆ Blob

attribute BlobConstructor WorkerGlobalScope::Blob

◆ ByteLengthQueuingStrategy

attribute ByteLengthQueuingStrategyConstructor WorkerGlobalScope::ByteLengthQueuingStrategy

◆ CountQueuingStrategy

attribute CountQueuingStrategyConstructor WorkerGlobalScope::CountQueuingStrategy

◆ Crypto

attribute CryptoConstructor WorkerGlobalScope::Crypto

◆ CryptoKey

attribute CryptoKeyConstructor WorkerGlobalScope::CryptoKey

◆ DOMException

attribute DOMCoreExceptionConstructor WorkerGlobalScope::DOMException

◆ DOMPoint

attribute DOMPointConstructor WorkerGlobalScope::DOMPoint

◆ DOMPointReadOnly

attribute DOMPointReadOnlyConstructor WorkerGlobalScope::DOMPointReadOnly

◆ DOMRect

attribute DOMRectConstructor WorkerGlobalScope::DOMRect

◆ DOMRectReadOnly

attribute DOMRectReadOnlyConstructor WorkerGlobalScope::DOMRectReadOnly

◆ ErrorEvent

attribute ErrorEventConstructor WorkerGlobalScope::ErrorEvent

◆ Event

attribute EventConstructor WorkerGlobalScope::Event

◆ EventSource

attribute EventSourceConstructor WorkerGlobalScope::EventSource

◆ EventTarget

attribute EventTargetConstructor WorkerGlobalScope::EventTarget

◆ FileReader

attribute FileReaderConstructor WorkerGlobalScope::FileReader

◆ FileReaderSync

attribute FileReaderSyncConstructor WorkerGlobalScope::FileReaderSync

◆ Headers

attribute FetchHeadersConstructor WorkerGlobalScope::Headers

◆ IDBCursor

attribute IDBCursorConstructor WorkerGlobalScope::IDBCursor

◆ IDBCursorWithValue

attribute IDBCursorWithValueConstructor WorkerGlobalScope::IDBCursorWithValue

◆ IDBDatabase

attribute IDBDatabaseConstructor WorkerGlobalScope::IDBDatabase

◆ IDBFactory

attribute IDBFactoryConstructor WorkerGlobalScope::IDBFactory

◆ IDBIndex

attribute IDBIndexConstructor WorkerGlobalScope::IDBIndex

◆ IDBKeyRange

attribute IDBKeyRangeConstructor WorkerGlobalScope::IDBKeyRange

◆ IDBObjectStore

attribute IDBObjectStoreConstructor WorkerGlobalScope::IDBObjectStore

◆ IDBOpenDBRequest

attribute IDBOpenDBRequestConstructor WorkerGlobalScope::IDBOpenDBRequest

◆ IDBRequest

attribute IDBRequestConstructor WorkerGlobalScope::IDBRequest

◆ IDBTransaction

attribute IDBTransactionConstructor WorkerGlobalScope::IDBTransaction

◆ IDBVersionChangeEvent

attribute IDBVersionChangeEventConstructor WorkerGlobalScope::IDBVersionChangeEvent

◆ ImageData

attribute ImageDataConstructor WorkerGlobalScope::ImageData

◆ indexedDB

readonly attribute IDBFactory WorkerGlobalScope::indexedDB

◆ location

readonly attribute WorkerLocation WorkerGlobalScope::location

◆ MessageChannel

attribute MessageChannelConstructor WorkerGlobalScope::MessageChannel

◆ MessageEvent

attribute MessageEventConstructor WorkerGlobalScope::MessageEvent

◆ MessagePort

attribute MessagePortConstructor WorkerGlobalScope::MessagePort

◆ navigator

readonly attribute WorkerNavigator WorkerGlobalScope::navigator

◆ onerror

attribute EventHandler WorkerGlobalScope::onerror

◆ onoffline

attribute EventHandler WorkerGlobalScope::onoffline

◆ ononline

attribute EventHandler WorkerGlobalScope::ononline

◆ Performance

attribute PerformanceConstructor WorkerGlobalScope::Performance

◆ PerformanceEntry

attribute PerformanceEntryConstructor WorkerGlobalScope::PerformanceEntry

◆ PerformanceMark

attribute PerformanceMarkConstructor WorkerGlobalScope::PerformanceMark

◆ PerformanceMeasure

attribute PerformanceMeasureConstructor WorkerGlobalScope::PerformanceMeasure

◆ PerformanceObserver

attribute PerformanceObserverConstructor WorkerGlobalScope::PerformanceObserver

◆ PerformanceObserverEntryList

attribute PerformanceObserverEntryListConstructor WorkerGlobalScope::PerformanceObserverEntryList

◆ PerformanceResourceTiming

attribute PerformanceResourceTimingConstructor WorkerGlobalScope::PerformanceResourceTiming

◆ ProgressEvent

attribute ProgressEventConstructor WorkerGlobalScope::ProgressEvent

◆ ReadableStream

attribute ReadableStreamConstructor WorkerGlobalScope::ReadableStream

◆ Request

attribute FetchRequestConstructor WorkerGlobalScope::Request

◆ Response

attribute FetchResponseConstructor WorkerGlobalScope::Response

◆ self

readonly attribute WorkerGlobalScope WorkerGlobalScope::self

◆ SubtleCrypto

attribute SubtleCryptoConstructor WorkerGlobalScope::SubtleCrypto

◆ TextDecoder

attribute TextDecoderConstructor WorkerGlobalScope::TextDecoder

◆ TextEncoder

attribute TextEncoderConstructor WorkerGlobalScope::TextEncoder

◆ URL

attribute DOMURLConstructor WorkerGlobalScope::URL

◆ URLSearchParams

attribute URLSearchParamsConstructor WorkerGlobalScope::URLSearchParams

◆ webkitURL

attribute DOMURLConstructor WorkerGlobalScope::webkitURL

◆ WebSocket

attribute WebSocketConstructor WorkerGlobalScope::WebSocket

◆ WorkerGlobalScope

attribute WorkerGlobalScopeConstructor WorkerGlobalScope::WorkerGlobalScope

◆ WorkerLocation

attribute WorkerLocationConstructor WorkerGlobalScope::WorkerLocation

◆ WorkerNavigator

attribute WorkerNavigatorConstructor WorkerGlobalScope::WorkerNavigator

◆ XMLHttpRequest

attribute XMLHttpRequestConstructor WorkerGlobalScope::XMLHttpRequest

◆ XMLHttpRequestEventTarget

attribute XMLHttpRequestEventTargetConstructor WorkerGlobalScope::XMLHttpRequestEventTarget

The documentation for this interface was generated from the following files: