Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/interfaces-sw.https-expected.txt

Issue 2933913002: Upstream service worker prototype test to WPT
Patch Set: Migrate test for immutable prototype Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 This is a testharness.js-based test.
2 PASS Interfaces and attributes in ServiceWorkerGlobalScope
3 PASS test setup (cache creation)
4 PASS Event constructors
5 PASS ServiceWorkerGlobalScope interface: existence and properties of interface o bject
6 PASS ServiceWorkerGlobalScope interface object length
7 PASS ServiceWorkerGlobalScope interface object name
8 PASS ServiceWorkerGlobalScope interface: existence and properties of interface p rototype object
9 PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of g lobal platform object - setting to a new value via Object.setPrototypeOf should throw a TypeError
10 PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of g lobal platform object - setting to a new value via __proto__ should throw a Type Error
11 PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of g lobal platform object - setting to a new value via Reflect.setPrototypeOf should return false
12 PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of g lobal platform object - setting to its original value via Object.setPrototypeOf should not throw
13 PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of g lobal platform object - setting to its original value via __proto__ should not t hrow
14 PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of g lobal platform object - setting to its original value via Reflect.setPrototypeOf should return true
15 PASS ServiceWorkerGlobalScope interface: existence and properties of interface p rototype object's "constructor" property
16 PASS ServiceWorkerGlobalScope interface: attribute clients
17 PASS ServiceWorkerGlobalScope interface: attribute registration
18 PASS ServiceWorkerGlobalScope interface: operation skipWaiting()
19 PASS ServiceWorkerGlobalScope interface: attribute oninstall
20 PASS ServiceWorkerGlobalScope interface: attribute onactivate
21 PASS ServiceWorkerGlobalScope interface: attribute onfetch
22 PASS ServiceWorkerGlobalScope interface: attribute onforeignfetch
23 PASS ServiceWorkerGlobalScope interface: attribute onmessage
24 FAIL ServiceWorkerGlobalScope interface: attribute onmessageerror assert_own_pro perty: The global object must have a property "onmessageerror" expected property "onmessageerror" missing
25 PASS ServiceWorkerGlobalScope interface: self must inherit property "clients" wi th the proper type (0)
26 PASS ServiceWorkerGlobalScope interface: self must inherit property "registratio n" with the proper type (1)
27 PASS ServiceWorkerGlobalScope interface: self must inherit property "skipWaiting " with the proper type (2)
28 PASS ServiceWorkerGlobalScope interface: self must inherit property "oninstall" with the proper type (3)
29 PASS ServiceWorkerGlobalScope interface: self must inherit property "onactivate" with the proper type (4)
30 PASS ServiceWorkerGlobalScope interface: self must inherit property "onfetch" wi th the proper type (5)
31 PASS ServiceWorkerGlobalScope interface: self must inherit property "onforeignfe tch" with the proper type (6)
32 PASS ServiceWorkerGlobalScope interface: self must inherit property "onmessage" with the proper type (7)
33 FAIL ServiceWorkerGlobalScope interface: self must inherit property "onmessageer ror" with the proper type (8) assert_own_property: expected property "onmessagee rror" missing
34 PASS Client interface: existence and properties of interface object
35 PASS Client interface object length
36 PASS Client interface object name
37 PASS Client interface: existence and properties of interface prototype object
38 PASS Client interface: existence and properties of interface prototype object's "constructor" property
39 PASS Client interface: attribute url
40 PASS Client interface: attribute id
41 PASS Client interface: attribute type
42 FAIL Client interface: attribute reserved assert_true: The prototype object must have a property "reserved" expected true got false
43 PASS Client interface: operation postMessage(any,[object Object])
44 PASS WindowClient interface: existence and properties of interface object
45 PASS WindowClient interface object length
46 PASS WindowClient interface object name
47 PASS WindowClient interface: existence and properties of interface prototype obj ect
48 PASS WindowClient interface: existence and properties of interface prototype obj ect's "constructor" property
49 PASS WindowClient interface: attribute visibilityState
50 PASS WindowClient interface: attribute focused
51 FAIL WindowClient interface: attribute ancestorOrigins assert_true: The prototyp e object must have a property "ancestorOrigins" expected true got false
52 PASS WindowClient interface: operation focus()
53 PASS WindowClient interface: operation navigate(USVString)
54 PASS Clients interface: existence and properties of interface object
55 PASS Clients interface object length
56 PASS Clients interface object name
57 PASS Clients interface: existence and properties of interface prototype object
58 PASS Clients interface: existence and properties of interface prototype object's "constructor" property
59 PASS Clients interface: operation get(DOMString)
60 PASS Clients interface: operation matchAll(ClientQueryOptions)
61 PASS Clients interface: operation openWindow(USVString)
62 PASS Clients interface: operation claim()
63 PASS Clients interface: self.clients must inherit property "get" with the proper type (0)
64 PASS Clients interface: calling get(DOMString) on self.clients with too few argu ments must throw TypeError
65 PASS Clients interface: self.clients must inherit property "matchAll" with the p roper type (1)
66 PASS Clients interface: calling matchAll(ClientQueryOptions) on self.clients wit h too few arguments must throw TypeError
67 PASS Clients interface: self.clients must inherit property "openWindow" with the proper type (2)
68 PASS Clients interface: calling openWindow(USVString) on self.clients with too f ew arguments must throw TypeError
69 PASS Clients interface: self.clients must inherit property "claim" with the prop er type (3)
70 FAIL ServiceWorker interface: existence and properties of interface object asser t_own_property: self does not have own property "ServiceWorker" expected propert y "ServiceWorker" missing
71 FAIL ServiceWorker interface object length assert_own_property: self does not ha ve own property "ServiceWorker" expected property "ServiceWorker" missing
72 FAIL ServiceWorker interface object name assert_own_property: self does not have own property "ServiceWorker" expected property "ServiceWorker" missing
73 FAIL ServiceWorker interface: existence and properties of interface prototype ob ject assert_own_property: self does not have own property "ServiceWorker" expect ed property "ServiceWorker" missing
74 FAIL ServiceWorker interface: existence and properties of interface prototype ob ject's "constructor" property assert_own_property: self does not have own proper ty "ServiceWorker" expected property "ServiceWorker" missing
75 FAIL ServiceWorker interface: attribute scriptURL assert_own_property: self does not have own property "ServiceWorker" expected property "ServiceWorker" missing
76 FAIL ServiceWorker interface: attribute state assert_own_property: self does not have own property "ServiceWorker" expected property "ServiceWorker" missing
77 FAIL ServiceWorker interface: operation postMessage(any,[object Object]) assert_ own_property: self does not have own property "ServiceWorker" expected property "ServiceWorker" missing
78 FAIL ServiceWorker interface: attribute onstatechange assert_own_property: self does not have own property "ServiceWorker" expected property "ServiceWorker" mis sing
79 PASS ServiceWorkerRegistration interface: existence and properties of interface object
80 PASS ServiceWorkerRegistration interface object length
81 PASS ServiceWorkerRegistration interface object name
82 PASS ServiceWorkerRegistration interface: existence and properties of interface prototype object
83 PASS ServiceWorkerRegistration interface: existence and properties of interface prototype object's "constructor" property
84 PASS ServiceWorkerRegistration interface: attribute installing
85 PASS ServiceWorkerRegistration interface: attribute waiting
86 PASS ServiceWorkerRegistration interface: attribute active
87 PASS ServiceWorkerRegistration interface: attribute navigationPreload
88 PASS ServiceWorkerRegistration interface: attribute scope
89 FAIL ServiceWorkerRegistration interface: attribute updateViaCache assert_true: The prototype object must have a property "updateViaCache" expected true got fal se
90 PASS ServiceWorkerRegistration interface: operation update()
91 PASS ServiceWorkerRegistration interface: operation unregister()
92 PASS ServiceWorkerRegistration interface: attribute onupdatefound
93 PASS ServiceWorkerRegistration interface: self.registration must inherit propert y "installing" with the proper type (0)
94 PASS ServiceWorkerRegistration interface: self.registration must inherit propert y "waiting" with the proper type (1)
95 PASS ServiceWorkerRegistration interface: self.registration must inherit propert y "active" with the proper type (2)
96 PASS ServiceWorkerRegistration interface: self.registration must inherit propert y "navigationPreload" with the proper type (3)
97 PASS ServiceWorkerRegistration interface: self.registration must inherit propert y "scope" with the proper type (4)
98 FAIL ServiceWorkerRegistration interface: self.registration must inherit propert y "updateViaCache" with the proper type (5) assert_inherits: property "updateVia Cache" not found in prototype chain
99 PASS ServiceWorkerRegistration interface: self.registration must inherit propert y "update" with the proper type (6)
100 PASS ServiceWorkerRegistration interface: self.registration must inherit propert y "unregister" with the proper type (7)
101 PASS ServiceWorkerRegistration interface: self.registration must inherit propert y "onupdatefound" with the proper type (8)
102 PASS EventTarget interface: self.registration must inherit property "addEventLis tener" with the proper type (0)
103 PASS EventTarget interface: calling addEventListener(DOMString,EventListener,[ob ject Object],[object Object]) on self.registration with too few arguments must t hrow TypeError
104 PASS EventTarget interface: self.registration must inherit property "removeEvent Listener" with the proper type (1)
105 PASS EventTarget interface: calling removeEventListener(DOMString,EventListener, [object Object],[object Object]) on self.registration with too few arguments mus t throw TypeError
106 PASS EventTarget interface: self.registration must inherit property "dispatchEve nt" with the proper type (2)
107 PASS EventTarget interface: calling dispatchEvent(Event) on self.registration wi th too few arguments must throw TypeError
108 PASS EventTarget interface: existence and properties of interface object
109 PASS EventTarget interface object length
110 PASS EventTarget interface object name
111 PASS EventTarget interface: existence and properties of interface prototype obje ct
112 PASS EventTarget interface: existence and properties of interface prototype obje ct's "constructor" property
113 PASS EventTarget interface: operation addEventListener(DOMString,EventListener,[ object Object],[object Object])
114 PASS EventTarget interface: operation removeEventListener(DOMString,EventListene r,[object Object],[object Object])
115 PASS EventTarget interface: operation dispatchEvent(Event)
116 PASS NavigationPreloadManager interface: existence and properties of interface o bject
117 PASS NavigationPreloadManager interface object length
118 PASS NavigationPreloadManager interface object name
119 PASS NavigationPreloadManager interface: existence and properties of interface p rototype object
120 PASS NavigationPreloadManager interface: existence and properties of interface p rototype object's "constructor" property
121 PASS NavigationPreloadManager interface: operation enable()
122 PASS NavigationPreloadManager interface: operation disable()
123 PASS NavigationPreloadManager interface: operation setHeaderValue(ByteString)
124 PASS NavigationPreloadManager interface: operation getState()
125 PASS Cache interface: existence and properties of interface object
126 PASS Cache interface object length
127 PASS Cache interface object name
128 PASS Cache interface: existence and properties of interface prototype object
129 PASS Cache interface: existence and properties of interface prototype object's " constructor" property
130 PASS Cache interface: operation match(RequestInfo,CacheQueryOptions)
131 PASS Cache interface: operation matchAll(RequestInfo,CacheQueryOptions)
132 PASS Cache interface: operation add(RequestInfo)
133 PASS Cache interface: operation addAll([object Object])
134 PASS Cache interface: operation put(RequestInfo,Response)
135 PASS Cache interface: operation delete(RequestInfo,CacheQueryOptions)
136 PASS Cache interface: operation keys(RequestInfo,CacheQueryOptions)
137 PASS Cache interface: self.cacheInstance must inherit property "match" with the proper type (0)
138 PASS Cache interface: calling match(RequestInfo,CacheQueryOptions) on self.cache Instance with too few arguments must throw TypeError
139 PASS Cache interface: self.cacheInstance must inherit property "matchAll" with t he proper type (1)
140 PASS Cache interface: calling matchAll(RequestInfo,CacheQueryOptions) on self.ca cheInstance with too few arguments must throw TypeError
141 PASS Cache interface: self.cacheInstance must inherit property "add" with the pr oper type (2)
142 PASS Cache interface: calling add(RequestInfo) on self.cacheInstance with too fe w arguments must throw TypeError
143 PASS Cache interface: self.cacheInstance must inherit property "addAll" with the proper type (3)
144 PASS Cache interface: calling addAll([object Object]) on self.cacheInstance with too few arguments must throw TypeError
145 PASS Cache interface: self.cacheInstance must inherit property "put" with the pr oper type (4)
146 PASS Cache interface: calling put(RequestInfo,Response) on self.cacheInstance wi th too few arguments must throw TypeError
147 PASS Cache interface: self.cacheInstance must inherit property "delete" with the proper type (5)
148 PASS Cache interface: calling delete(RequestInfo,CacheQueryOptions) on self.cach eInstance with too few arguments must throw TypeError
149 PASS Cache interface: self.cacheInstance must inherit property "keys" with the p roper type (6)
150 PASS Cache interface: calling keys(RequestInfo,CacheQueryOptions) on self.cacheI nstance with too few arguments must throw TypeError
151 PASS CacheStorage interface: existence and properties of interface object
152 PASS CacheStorage interface object length
153 PASS CacheStorage interface object name
154 PASS CacheStorage interface: existence and properties of interface prototype obj ect
155 PASS CacheStorage interface: existence and properties of interface prototype obj ect's "constructor" property
156 PASS CacheStorage interface: operation match(RequestInfo,CacheQueryOptions)
157 PASS CacheStorage interface: operation has(DOMString)
158 PASS CacheStorage interface: operation open(DOMString)
159 PASS CacheStorage interface: operation delete(DOMString)
160 PASS CacheStorage interface: operation keys()
161 PASS CacheStorage interface: self.caches must inherit property "match" with the proper type (0)
162 PASS CacheStorage interface: calling match(RequestInfo,CacheQueryOptions) on sel f.caches with too few arguments must throw TypeError
163 PASS CacheStorage interface: self.caches must inherit property "has" with the pr oper type (1)
164 PASS CacheStorage interface: calling has(DOMString) on self.caches with too few arguments must throw TypeError
165 PASS CacheStorage interface: self.caches must inherit property "open" with the p roper type (2)
166 PASS CacheStorage interface: calling open(DOMString) on self.caches with too few arguments must throw TypeError
167 PASS CacheStorage interface: self.caches must inherit property "delete" with the proper type (3)
168 PASS CacheStorage interface: calling delete(DOMString) on self.caches with too f ew arguments must throw TypeError
169 PASS CacheStorage interface: self.caches must inherit property "keys" with the p roper type (4)
170 Harness: the test ran to completion.
171
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698