Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the background-fetch directory with an IDL Harness test #5094

Merged
merged 1 commit into from Mar 30, 2017

Conversation

beverloo
Copy link
Member

@beverloo beverloo commented Mar 8, 2017

This is based on the Background Fetch API that @jakearchibald has proposed in the WICG:
http://wicg.github.io/background-fetch/

The tests are ran both in a document and in a Service Worker.

@w3c-bots
Copy link

w3c-bots commented Mar 8, 2017

View the complete job log.

Firefox (nightly channel)

Testing web-platform-tests at revision 22ed4d4
Using browser at version BuildID 20170306110339; SourceStamp 966464a68a2cb3ca1125808e34abb5c1d34e3797
Starting 10 test iterations
All results were stable

All results

2 tests ran
/background-fetch/interfaces-worker.https.html
Subtest Results Messages
OK
Service Worker-scoped tests. PASS
Exposed interfaces in a Service Worker. PASS {}
ServiceWorkerRegistration interface: existence and properties of interface object FAIL assert_false: expected false got true
ServiceWorkerGlobalScope interface: attribute onbackgroundfetched FAIL assert_true: The prototype object must have a property "onbackgroundfetched" expected true got false
ServiceWorkerGlobalScope interface: attribute onbackgroundfetchfail FAIL assert_true: The prototype object must have a property "onbackgroundfetchfail" expected true got false
ServiceWorkerGlobalScope interface: attribute onbackgroundfetchabort FAIL assert_true: The prototype object must have a property "onbackgroundfetchabort" expected true got false
ServiceWorkerGlobalScope interface: attribute onbackgroundfetchclick FAIL assert_true: The prototype object must have a property "onbackgroundfetchclick" expected true got false
BackgroundFetchManager interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface: operation fetch(DOMString,[object Object],[object Object],BackgroundFetchOptions) FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface: operation get(DOMString) FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface: operation getTags() FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchRegistration interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: attribute tag FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: attribute icons FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: attribute totalDownloadSize FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: attribute title FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: attribute fetches FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: operation abort() FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchFetches interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
BackgroundFetchFetches interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
BackgroundFetchFetches interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
BackgroundFetchFetches interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
BackgroundFetchFetches interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
BackgroundFetchFetches interface: attribute request FAIL assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
BackgroundFetchActiveFetches interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
BackgroundFetchActiveFetches interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
BackgroundFetchActiveFetches interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
BackgroundFetchActiveFetches interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
BackgroundFetchActiveFetches interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
BackgroundFetchActiveFetches interface: attribute responseReady FAIL assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
BackgroundFetchEvent interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchEvent" expected property "BackgroundFetchEvent" missing
BackgroundFetchEvent interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchEvent" expected property "BackgroundFetchEvent" missing
BackgroundFetchEvent interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchEvent" expected property "BackgroundFetchEvent" missing
BackgroundFetchEvent interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchEvent" expected property "BackgroundFetchEvent" missing
BackgroundFetchEvent interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchEvent" expected property "BackgroundFetchEvent" missing
BackgroundFetchEvent interface: attribute tag FAIL assert_own_property: self does not have own property "BackgroundFetchEvent" expected property "BackgroundFetchEvent" missing
BackgroundFetchEndEvent interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchEndEvent" expected property "BackgroundFetchEndEvent" missing
BackgroundFetchEndEvent interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchEndEvent" expected property "BackgroundFetchEndEvent" missing
BackgroundFetchEndEvent interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchEndEvent" expected property "BackgroundFetchEndEvent" missing
BackgroundFetchEndEvent interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchEndEvent" expected property "BackgroundFetchEndEvent" missing
BackgroundFetchEndEvent interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchEndEvent" expected property "BackgroundFetchEndEvent" missing
BackgroundFetchEndEvent interface: attribute completeFetches FAIL assert_own_property: self does not have own property "BackgroundFetchEndEvent" expected property "BackgroundFetchEndEvent" missing
BackgroundFetchEndEvent interface: operation updateUI(DOMString) FAIL assert_own_property: self does not have own property "BackgroundFetchEndEvent" expected property "BackgroundFetchEndEvent" missing
BackgroundFetchSettledFetches interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchSettledFetches" expected property "BackgroundFetchSettledFetches" missing
BackgroundFetchSettledFetches interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchSettledFetches" expected property "BackgroundFetchSettledFetches" missing
BackgroundFetchSettledFetches interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchSettledFetches" expected property "BackgroundFetchSettledFetches" missing
BackgroundFetchSettledFetches interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchSettledFetches" expected property "BackgroundFetchSettledFetches" missing
BackgroundFetchSettledFetches interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchSettledFetches" expected property "BackgroundFetchSettledFetches" missing
BackgroundFetchSettledFetches interface: attribute response FAIL assert_own_property: self does not have own property "BackgroundFetchSettledFetches" expected property "BackgroundFetchSettledFetches" missing
BackgroundFetchFailEvent interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchFailEvent" expected property "BackgroundFetchFailEvent" missing
BackgroundFetchFailEvent interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchFailEvent" expected property "BackgroundFetchFailEvent" missing
BackgroundFetchFailEvent interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchFailEvent" expected property "BackgroundFetchFailEvent" missing
BackgroundFetchFailEvent interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchFailEvent" expected property "BackgroundFetchFailEvent" missing
BackgroundFetchFailEvent interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchFailEvent" expected property "BackgroundFetchFailEvent" missing
BackgroundFetchFailEvent interface: attribute failedFetches FAIL assert_own_property: self does not have own property "BackgroundFetchFailEvent" expected property "BackgroundFetchFailEvent" missing
BackgroundFetchClickEvent interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchClickEvent" expected property "BackgroundFetchClickEvent" missing
BackgroundFetchClickEvent interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchClickEvent" expected property "BackgroundFetchClickEvent" missing
BackgroundFetchClickEvent interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchClickEvent" expected property "BackgroundFetchClickEvent" missing
BackgroundFetchClickEvent interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchClickEvent" expected property "BackgroundFetchClickEvent" missing
BackgroundFetchClickEvent interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchClickEvent" expected property "BackgroundFetchClickEvent" missing
BackgroundFetchClickEvent interface: attribute state FAIL assert_own_property: self does not have own property "BackgroundFetchClickEvent" expected property "BackgroundFetchClickEvent" missing
/background-fetch/interfaces.html
Subtest Results Messages
OK
Exposed interfaces in a Document. PASS
ServiceWorkerRegistration interface: attribute backgroundFetch FAIL assert_true: The prototype object must have a property "backgroundFetch" expected true got false
ServiceWorkerGlobalScope interface: existence and properties of interface object PASS
BackgroundFetchManager interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface: operation fetch(DOMString,[object Object],[object Object],BackgroundFetchOptions) FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface: operation get(DOMString) FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface: operation getTags() FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchRegistration interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: attribute tag FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: attribute icons FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: attribute totalDownloadSize FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: attribute title FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: attribute fetches FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: operation abort() FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchFetches interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
BackgroundFetchFetches interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
BackgroundFetchFetches interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
BackgroundFetchFetches interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
BackgroundFetchFetches interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
BackgroundFetchFetches interface: attribute request FAIL assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
BackgroundFetchActiveFetches interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
BackgroundFetchActiveFetches interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
BackgroundFetchActiveFetches interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
BackgroundFetchActiveFetches interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
BackgroundFetchActiveFetches interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
BackgroundFetchActiveFetches interface: attribute responseReady FAIL assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
BackgroundFetchEvent interface: existence and properties of interface object PASS
BackgroundFetchEndEvent interface: existence and properties of interface object PASS
BackgroundFetchSettledFetches interface: existence and properties of interface object PASS
BackgroundFetchFailEvent interface: existence and properties of interface object PASS
BackgroundFetchClickEvent interface: existence and properties of interface object PASS

@w3c-bots
Copy link

w3c-bots commented Mar 8, 2017

View the complete job log.

Chrome (unstable channel)

Testing web-platform-tests at revision 22ed4d4
Using browser at version 58.0.3029.6 dev
Starting 10 test iterations
All results were stable

All results

2 tests ran
/background-fetch/interfaces-worker.https.html
Subtest Results Messages
OK
Service Worker-scoped tests. PASS
Exposed interfaces in a Service Worker. PASS {}
ServiceWorkerRegistration interface: existence and properties of interface object FAIL assert_false: expected false got true
ServiceWorkerGlobalScope interface: attribute onbackgroundfetched FAIL assert_true: The prototype object must have a property "onbackgroundfetched" expected true got false
ServiceWorkerGlobalScope interface: attribute onbackgroundfetchfail FAIL assert_true: The prototype object must have a property "onbackgroundfetchfail" expected true got false
ServiceWorkerGlobalScope interface: attribute onbackgroundfetchabort FAIL assert_true: The prototype object must have a property "onbackgroundfetchabort" expected true got false
ServiceWorkerGlobalScope interface: attribute onbackgroundfetchclick FAIL assert_true: The prototype object must have a property "onbackgroundfetchclick" expected true got false
BackgroundFetchManager interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface: operation fetch(DOMString,[object Object],[object Object],BackgroundFetchOptions) FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface: operation get(DOMString) FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface: operation getTags() FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchRegistration interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: attribute tag FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: attribute icons FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: attribute totalDownloadSize FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: attribute title FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: attribute fetches FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: operation abort() FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchFetches interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
BackgroundFetchFetches interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
BackgroundFetchFetches interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
BackgroundFetchFetches interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
BackgroundFetchFetches interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
BackgroundFetchFetches interface: attribute request FAIL assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
BackgroundFetchActiveFetches interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
BackgroundFetchActiveFetches interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
BackgroundFetchActiveFetches interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
BackgroundFetchActiveFetches interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
BackgroundFetchActiveFetches interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
BackgroundFetchActiveFetches interface: attribute responseReady FAIL assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
BackgroundFetchEvent interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchEvent" expected property "BackgroundFetchEvent" missing
BackgroundFetchEvent interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchEvent" expected property "BackgroundFetchEvent" missing
BackgroundFetchEvent interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchEvent" expected property "BackgroundFetchEvent" missing
BackgroundFetchEvent interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchEvent" expected property "BackgroundFetchEvent" missing
BackgroundFetchEvent interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchEvent" expected property "BackgroundFetchEvent" missing
BackgroundFetchEvent interface: attribute tag FAIL assert_own_property: self does not have own property "BackgroundFetchEvent" expected property "BackgroundFetchEvent" missing
BackgroundFetchEndEvent interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchEndEvent" expected property "BackgroundFetchEndEvent" missing
BackgroundFetchEndEvent interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchEndEvent" expected property "BackgroundFetchEndEvent" missing
BackgroundFetchEndEvent interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchEndEvent" expected property "BackgroundFetchEndEvent" missing
BackgroundFetchEndEvent interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchEndEvent" expected property "BackgroundFetchEndEvent" missing
BackgroundFetchEndEvent interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchEndEvent" expected property "BackgroundFetchEndEvent" missing
BackgroundFetchEndEvent interface: attribute completeFetches FAIL assert_own_property: self does not have own property "BackgroundFetchEndEvent" expected property "BackgroundFetchEndEvent" missing
BackgroundFetchEndEvent interface: operation updateUI(DOMString) FAIL assert_own_property: self does not have own property "BackgroundFetchEndEvent" expected property "BackgroundFetchEndEvent" missing
BackgroundFetchSettledFetches interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchSettledFetches" expected property "BackgroundFetchSettledFetches" missing
BackgroundFetchSettledFetches interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchSettledFetches" expected property "BackgroundFetchSettledFetches" missing
BackgroundFetchSettledFetches interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchSettledFetches" expected property "BackgroundFetchSettledFetches" missing
BackgroundFetchSettledFetches interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchSettledFetches" expected property "BackgroundFetchSettledFetches" missing
BackgroundFetchSettledFetches interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchSettledFetches" expected property "BackgroundFetchSettledFetches" missing
BackgroundFetchSettledFetches interface: attribute response FAIL assert_own_property: self does not have own property "BackgroundFetchSettledFetches" expected property "BackgroundFetchSettledFetches" missing
BackgroundFetchFailEvent interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchFailEvent" expected property "BackgroundFetchFailEvent" missing
BackgroundFetchFailEvent interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchFailEvent" expected property "BackgroundFetchFailEvent" missing
BackgroundFetchFailEvent interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchFailEvent" expected property "BackgroundFetchFailEvent" missing
BackgroundFetchFailEvent interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchFailEvent" expected property "BackgroundFetchFailEvent" missing
BackgroundFetchFailEvent interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchFailEvent" expected property "BackgroundFetchFailEvent" missing
BackgroundFetchFailEvent interface: attribute failedFetches FAIL assert_own_property: self does not have own property "BackgroundFetchFailEvent" expected property "BackgroundFetchFailEvent" missing
BackgroundFetchClickEvent interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchClickEvent" expected property "BackgroundFetchClickEvent" missing
BackgroundFetchClickEvent interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchClickEvent" expected property "BackgroundFetchClickEvent" missing
BackgroundFetchClickEvent interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchClickEvent" expected property "BackgroundFetchClickEvent" missing
BackgroundFetchClickEvent interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchClickEvent" expected property "BackgroundFetchClickEvent" missing
BackgroundFetchClickEvent interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchClickEvent" expected property "BackgroundFetchClickEvent" missing
BackgroundFetchClickEvent interface: attribute state FAIL assert_own_property: self does not have own property "BackgroundFetchClickEvent" expected property "BackgroundFetchClickEvent" missing
/background-fetch/interfaces.html
Subtest Results Messages
OK
Exposed interfaces in a Document. PASS
ServiceWorkerRegistration interface: attribute backgroundFetch FAIL assert_true: The prototype object must have a property "backgroundFetch" expected true got false
ServiceWorkerGlobalScope interface: existence and properties of interface object PASS
BackgroundFetchManager interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface: operation fetch(DOMString,[object Object],[object Object],BackgroundFetchOptions) FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface: operation get(DOMString) FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchManager interface: operation getTags() FAIL assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
BackgroundFetchRegistration interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: attribute tag FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: attribute icons FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: attribute totalDownloadSize FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: attribute title FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: attribute fetches FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchRegistration interface: operation abort() FAIL assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
BackgroundFetchFetches interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
BackgroundFetchFetches interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
BackgroundFetchFetches interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
BackgroundFetchFetches interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
BackgroundFetchFetches interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
BackgroundFetchFetches interface: attribute request FAIL assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
BackgroundFetchActiveFetches interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
BackgroundFetchActiveFetches interface object length FAIL assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
BackgroundFetchActiveFetches interface object name FAIL assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
BackgroundFetchActiveFetches interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
BackgroundFetchActiveFetches interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
BackgroundFetchActiveFetches interface: attribute responseReady FAIL assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
BackgroundFetchEvent interface: existence and properties of interface object PASS
BackgroundFetchEndEvent interface: existence and properties of interface object PASS
BackgroundFetchSettledFetches interface: existence and properties of interface object PASS
BackgroundFetchFailEvent interface: existence and properties of interface object PASS
BackgroundFetchClickEvent interface: existence and properties of interface object PASS

MXEBot pushed a commit to mirror/chromium that referenced this pull request Mar 11, 2017
This CL introduces the BackgroundFetchManager object and exposes it on
the ServiceWorkerRegistration, as part of a new Background Fetch module.

More functionality and tests will be added iteratively.

Intent to Implement:
  https://groups.google.com/a/chromium.org/d/topic/blink-dev/Ia9_-CVrl1U/discussion

WPT directory addition + IDL harness tests:
  web-platform-tests/wpt#5094

Based on the following CL by awdf@:
  https://codereview.chromium.org/2739653002/

BUG=692534

Review-Url: https://codereview.chromium.org/2736143003
Cr-Commit-Position: refs/heads/master@{#456102}
MXEBot pushed a commit to mirror/chromium that referenced this pull request Mar 11, 2017
This CL implements the get() and fetch() methods for Background Fetch.
The BackgroundFetchRegistration interface and BackgroundFetchOptions
and IconDefinition dictionary types are added too.

The method has not been hooked up with the browser process yet, as the
Mojo interface has not been implemented yet.

Tests are provided, and will be moved to the WPT directory once it has
been approved upstream:
  web-platform-tests/wpt#5094

BUG=692534

Review-Url: https://codereview.chromium.org/2745543002
Cr-Commit-Position: refs/heads/master@{#456144}
@tobie
Copy link
Contributor

tobie commented Mar 30, 2017

LGTM

@tobie tobie merged commit 9cba588 into web-platform-tests:master Mar 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants