blob: f3ad33fb2ad58ef798d7b30185d4cb0bbf20d1a1 [file] [log] [blame]
This is a testharness.js-based test.
Found 185 tests; 183 PASS, 2 FAIL, 0 TIMEOUT, 0 NOTRUN.
PASS Interfaces and attributes in ServiceWorkerGlobalScope
PASS test setup (cache creation)
FAIL Event constructors assert_equals: FetchEvent.isReload should not exist expected (undefined) undefined but got (boolean) false
PASS xhr is not exposed
PASS URL.createObjectURL is not exposed
PASS ServiceWorker includes AbstractWorker: member names are unique
PASS WorkerGlobalScope includes WindowOrWorkerGlobalScope: member names are unique
PASS ServiceWorker interface: existence and properties of interface object
PASS ServiceWorker interface object length
PASS ServiceWorker interface object name
PASS ServiceWorker interface: existence and properties of interface prototype object
PASS ServiceWorker interface: existence and properties of interface prototype object's "constructor" property
PASS ServiceWorker interface: existence and properties of interface prototype object's @@unscopables property
PASS ServiceWorker interface: attribute scriptURL
PASS ServiceWorker interface: attribute state
PASS ServiceWorker interface: operation postMessage(any, sequence<object>)
PASS ServiceWorker interface: operation postMessage(any, optional PostMessageOptions)
PASS ServiceWorker interface: attribute onstatechange
PASS ServiceWorkerRegistration interface: existence and properties of interface object
PASS ServiceWorkerRegistration interface object length
PASS ServiceWorkerRegistration interface object name
PASS ServiceWorkerRegistration interface: existence and properties of interface prototype object
PASS ServiceWorkerRegistration interface: existence and properties of interface prototype object's "constructor" property
PASS ServiceWorkerRegistration interface: existence and properties of interface prototype object's @@unscopables property
PASS ServiceWorkerRegistration interface: attribute installing
PASS ServiceWorkerRegistration interface: attribute waiting
PASS ServiceWorkerRegistration interface: attribute active
PASS ServiceWorkerRegistration interface: attribute navigationPreload
PASS ServiceWorkerRegistration interface: attribute scope
PASS ServiceWorkerRegistration interface: attribute updateViaCache
PASS ServiceWorkerRegistration interface: operation update()
PASS ServiceWorkerRegistration interface: operation unregister()
PASS ServiceWorkerRegistration interface: attribute onupdatefound
PASS ServiceWorkerRegistration must be primary interface of self.registration
PASS Stringification of self.registration
PASS ServiceWorkerRegistration interface: self.registration must inherit property "installing" with the proper type
PASS ServiceWorkerRegistration interface: self.registration must inherit property "waiting" with the proper type
PASS ServiceWorkerRegistration interface: self.registration must inherit property "active" with the proper type
PASS ServiceWorkerRegistration interface: self.registration must inherit property "navigationPreload" with the proper type
PASS ServiceWorkerRegistration interface: self.registration must inherit property "scope" with the proper type
PASS ServiceWorkerRegistration interface: self.registration must inherit property "updateViaCache" with the proper type
PASS ServiceWorkerRegistration interface: self.registration must inherit property "update()" with the proper type
PASS ServiceWorkerRegistration interface: self.registration must inherit property "unregister()" with the proper type
PASS ServiceWorkerRegistration interface: self.registration must inherit property "onupdatefound" with the proper type
PASS NavigationPreloadManager interface: existence and properties of interface object
PASS NavigationPreloadManager interface object length
PASS NavigationPreloadManager interface object name
PASS NavigationPreloadManager interface: existence and properties of interface prototype object
PASS NavigationPreloadManager interface: existence and properties of interface prototype object's "constructor" property
PASS NavigationPreloadManager interface: existence and properties of interface prototype object's @@unscopables property
PASS NavigationPreloadManager interface: operation enable()
PASS NavigationPreloadManager interface: operation disable()
PASS NavigationPreloadManager interface: operation setHeaderValue(ByteString)
PASS NavigationPreloadManager interface: operation getState()
PASS ServiceWorkerGlobalScope interface: existence and properties of interface object
PASS ServiceWorkerGlobalScope interface object length
PASS ServiceWorkerGlobalScope interface object name
PASS ServiceWorkerGlobalScope interface: existence and properties of interface prototype object
PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of interface prototype object - setting to a new value via Object.setPrototypeOf should throw a TypeError
PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of interface prototype object - setting to a new value via __proto__ should throw a TypeError
PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of interface prototype object - setting to a new value via Reflect.setPrototypeOf should return false
PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of interface prototype object - setting to its original value via Object.setPrototypeOf should not throw
PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of interface prototype object - setting to its original value via __proto__ should not throw
PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of interface prototype object - setting to its original value via Reflect.setPrototypeOf should return true
PASS ServiceWorkerGlobalScope interface: existence and properties of interface prototype object's "constructor" property
PASS ServiceWorkerGlobalScope interface: existence and properties of interface prototype object's @@unscopables property
PASS ServiceWorkerGlobalScope interface: attribute clients
PASS ServiceWorkerGlobalScope interface: attribute registration
PASS ServiceWorkerGlobalScope interface: attribute serviceWorker
PASS ServiceWorkerGlobalScope interface: operation skipWaiting()
PASS ServiceWorkerGlobalScope interface: attribute oninstall
PASS ServiceWorkerGlobalScope interface: attribute onactivate
PASS ServiceWorkerGlobalScope interface: attribute onfetch
PASS ServiceWorkerGlobalScope interface: attribute onmessage
PASS ServiceWorkerGlobalScope interface: attribute onmessageerror
PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of global platform object - setting to a new value via Object.setPrototypeOf should throw a TypeError
PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of global platform object - setting to a new value via __proto__ should throw a TypeError
PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of global platform object - setting to a new value via Reflect.setPrototypeOf should return false
PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of global platform object - setting to its original value via Object.setPrototypeOf should not throw
PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of global platform object - setting to its original value via __proto__ should not throw
PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of global platform object - setting to its original value via Reflect.setPrototypeOf should return true
PASS ServiceWorkerGlobalScope must be primary interface of self
PASS Stringification of self
PASS ServiceWorkerGlobalScope interface: self must inherit property "clients" with the proper type
PASS ServiceWorkerGlobalScope interface: self must inherit property "registration" with the proper type
PASS ServiceWorkerGlobalScope interface: self must inherit property "serviceWorker" with the proper type
PASS ServiceWorkerGlobalScope interface: self must inherit property "skipWaiting()" with the proper type
PASS ServiceWorkerGlobalScope interface: self must inherit property "oninstall" with the proper type
PASS ServiceWorkerGlobalScope interface: self must inherit property "onactivate" with the proper type
PASS ServiceWorkerGlobalScope interface: self must inherit property "onfetch" with the proper type
PASS ServiceWorkerGlobalScope interface: self must inherit property "onmessage" with the proper type
PASS ServiceWorkerGlobalScope interface: self must inherit property "onmessageerror" with the proper type
PASS Client interface: existence and properties of interface object
PASS Client interface object length
PASS Client interface object name
PASS Client interface: existence and properties of interface prototype object
PASS Client interface: existence and properties of interface prototype object's "constructor" property
PASS Client interface: existence and properties of interface prototype object's @@unscopables property
PASS Client interface: attribute url
PASS Client interface: attribute frameType
PASS Client interface: attribute id
PASS Client interface: attribute type
PASS Client interface: operation postMessage(any, sequence<object>)
PASS Client interface: operation postMessage(any, optional PostMessageOptions)
PASS WindowClient interface: existence and properties of interface object
PASS WindowClient interface object length
PASS WindowClient interface object name
PASS WindowClient interface: existence and properties of interface prototype object
PASS WindowClient interface: existence and properties of interface prototype object's "constructor" property
PASS WindowClient interface: existence and properties of interface prototype object's @@unscopables property
PASS WindowClient interface: attribute visibilityState
PASS WindowClient interface: attribute focused
FAIL WindowClient interface: attribute ancestorOrigins assert_true: The prototype object must have a property "ancestorOrigins" expected true got false
PASS WindowClient interface: operation focus()
PASS WindowClient interface: operation navigate(USVString)
PASS Clients interface: existence and properties of interface object
PASS Clients interface object length
PASS Clients interface object name
PASS Clients interface: existence and properties of interface prototype object
PASS Clients interface: existence and properties of interface prototype object's "constructor" property
PASS Clients interface: existence and properties of interface prototype object's @@unscopables property
PASS Clients interface: operation get(DOMString)
PASS Clients interface: operation matchAll(optional ClientQueryOptions)
PASS Clients interface: operation openWindow(USVString)
PASS Clients interface: operation claim()
PASS Clients must be primary interface of self.clients
PASS Stringification of self.clients
PASS Clients interface: self.clients must inherit property "get(DOMString)" with the proper type
PASS Clients interface: calling get(DOMString) on self.clients with too few arguments must throw TypeError
PASS Clients interface: self.clients must inherit property "matchAll(optional ClientQueryOptions)" with the proper type
PASS Clients interface: calling matchAll(optional ClientQueryOptions) on self.clients with too few arguments must throw TypeError
PASS Clients interface: self.clients must inherit property "openWindow(USVString)" with the proper type
PASS Clients interface: calling openWindow(USVString) on self.clients with too few arguments must throw TypeError
PASS Clients interface: self.clients must inherit property "claim()" with the proper type
PASS Cache interface: existence and properties of interface object
PASS Cache interface object length
PASS Cache interface object name
PASS Cache interface: existence and properties of interface prototype object
PASS Cache interface: existence and properties of interface prototype object's "constructor" property
PASS Cache interface: existence and properties of interface prototype object's @@unscopables property
PASS Cache interface: operation match(RequestInfo, optional CacheQueryOptions)
PASS Cache interface: operation matchAll(optional RequestInfo, optional CacheQueryOptions)
PASS Cache interface: operation add(RequestInfo)
PASS Cache interface: operation addAll(sequence<RequestInfo>)
PASS Cache interface: operation put(RequestInfo, Response)
PASS Cache interface: operation delete(RequestInfo, optional CacheQueryOptions)
PASS Cache interface: operation keys(optional RequestInfo, optional CacheQueryOptions)
PASS Cache must be primary interface of self.cacheInstance
PASS Stringification of self.cacheInstance
PASS Cache interface: self.cacheInstance must inherit property "match(RequestInfo, optional CacheQueryOptions)" with the proper type
PASS Cache interface: calling match(RequestInfo, optional CacheQueryOptions) on self.cacheInstance with too few arguments must throw TypeError
PASS Cache interface: self.cacheInstance must inherit property "matchAll(optional RequestInfo, optional CacheQueryOptions)" with the proper type
PASS Cache interface: calling matchAll(optional RequestInfo, optional CacheQueryOptions) on self.cacheInstance with too few arguments must throw TypeError
PASS Cache interface: self.cacheInstance must inherit property "add(RequestInfo)" with the proper type
PASS Cache interface: calling add(RequestInfo) on self.cacheInstance with too few arguments must throw TypeError
PASS Cache interface: self.cacheInstance must inherit property "addAll(sequence<RequestInfo>)" with the proper type
PASS Cache interface: calling addAll(sequence<RequestInfo>) on self.cacheInstance with too few arguments must throw TypeError
PASS Cache interface: self.cacheInstance must inherit property "put(RequestInfo, Response)" with the proper type
PASS Cache interface: calling put(RequestInfo, Response) on self.cacheInstance with too few arguments must throw TypeError
PASS Cache interface: self.cacheInstance must inherit property "delete(RequestInfo, optional CacheQueryOptions)" with the proper type
PASS Cache interface: calling delete(RequestInfo, optional CacheQueryOptions) on self.cacheInstance with too few arguments must throw TypeError
PASS Cache interface: self.cacheInstance must inherit property "keys(optional RequestInfo, optional CacheQueryOptions)" with the proper type
PASS Cache interface: calling keys(optional RequestInfo, optional CacheQueryOptions) on self.cacheInstance with too few arguments must throw TypeError
PASS CacheStorage interface: existence and properties of interface object
PASS CacheStorage interface object length
PASS CacheStorage interface object name
PASS CacheStorage interface: existence and properties of interface prototype object
PASS CacheStorage interface: existence and properties of interface prototype object's "constructor" property
PASS CacheStorage interface: existence and properties of interface prototype object's @@unscopables property
PASS CacheStorage interface: operation match(RequestInfo, optional MultiCacheQueryOptions)
PASS CacheStorage interface: operation has(DOMString)
PASS CacheStorage interface: operation open(DOMString)
PASS CacheStorage interface: operation delete(DOMString)
PASS CacheStorage interface: operation keys()
PASS CacheStorage must be primary interface of self.caches
PASS Stringification of self.caches
PASS CacheStorage interface: self.caches must inherit property "match(RequestInfo, optional MultiCacheQueryOptions)" with the proper type
PASS CacheStorage interface: calling match(RequestInfo, optional MultiCacheQueryOptions) on self.caches with too few arguments must throw TypeError
PASS CacheStorage interface: self.caches must inherit property "has(DOMString)" with the proper type
PASS CacheStorage interface: calling has(DOMString) on self.caches with too few arguments must throw TypeError
PASS CacheStorage interface: self.caches must inherit property "open(DOMString)" with the proper type
PASS CacheStorage interface: calling open(DOMString) on self.caches with too few arguments must throw TypeError
PASS CacheStorage interface: self.caches must inherit property "delete(DOMString)" with the proper type
PASS CacheStorage interface: calling delete(DOMString) on self.caches with too few arguments must throw TypeError
PASS CacheStorage interface: self.caches must inherit property "keys()" with the proper type
Harness: the test ran to completion.