Changeset 225566 in webkit
- Timestamp:
- Dec 5, 2017 8:47:00 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r225562 r225566 1 2017-12-05 Chris Dumez <cdumez@apple.com> 2 3 ServiceWorkerGlobalScope prototype chain should be immutable 4 https://bugs.webkit.org/show_bug.cgi?id=180450 5 6 Reviewed by Youenn Fablet. 7 8 * TestExpectations: 9 Unskip test that no longer times out. 10 1 11 2017-12-05 Brent Fulgham <bfulgham@apple.com> 2 12 -
trunk/LayoutTests/TestExpectations
r225561 r225566 150 150 imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event-respond-with-partial-stream.https.html [ Skip ] 151 151 imported/w3c/web-platform-tests/service-workers/service-worker/http-to-https-redirect-and-register.https.html [ Skip ] 152 imported/w3c/web-platform-tests/service-workers/service-worker/interfaces-sw.https.html [ Skip ]153 152 imported/w3c/web-platform-tests/service-workers/service-worker/navigation-preload/broken-chunked-encoding.https.html [ Skip ] 154 153 imported/w3c/web-platform-tests/service-workers/service-worker/navigation-preload/chunked-encoding.https.html [ Skip ] -
trunk/LayoutTests/imported/w3c/ChangeLog
r225561 r225566 1 2017-12-05 Chris Dumez <cdumez@apple.com> 2 3 ServiceWorkerGlobalScope prototype chain should be immutable 4 https://bugs.webkit.org/show_bug.cgi?id=180450 5 6 Reviewed by Youenn Fablet. 7 8 Rebaseline test that no longer times out. 9 10 * web-platform-tests/service-workers/service-worker/interfaces-sw.https-expected.txt: 11 1 12 2017-12-05 Javier Fernandez <jfernandez@igalia.com> 2 13 -
trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/interfaces-sw.https-expected.txt
r225549 r225566 1 2 Harness Error (TIMEOUT), message = null3 1 4 2 PASS Interfaces and attributes in ServiceWorkerGlobalScope 5 TIMEOUT test setup (cache creation) Test timed out 3 PASS test setup (cache creation) 6 4 FAIL Event constructors assert_equals: Default FetchEvent.clientId should be null expected (object) null but got (string) "" 7 5 PASS xhr is not exposed … … 10 8 PASS ServiceWorkerGlobalScope interface object name 11 9 PASS ServiceWorkerGlobalScope interface: existence and properties of interface prototype object 12 TIMEOUT ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of interface prototype object - setting to a new value via Object.setPrototypeOf should throw a TypeError Test timed out 10 PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of interface prototype object - setting to a new value via Object.setPrototypeOf should throw a TypeError 11 PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of interface prototype object - setting to a new value via __proto__ should throw a TypeError 12 PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of interface prototype object - setting to a new value via Reflect.setPrototypeOf should return false 13 PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of interface prototype object - setting to its original value via Object.setPrototypeOf should not throw 14 PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of interface prototype object - setting to its original value via __proto__ should not throw 15 PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of interface prototype object - setting to its original value via Reflect.setPrototypeOf should return true 16 PASS ServiceWorkerGlobalScope interface: existence and properties of interface prototype object's "constructor" property 17 FAIL ServiceWorkerGlobalScope interface: attribute clients The ServiceWorkerGlobalScope.clients getter can only be used on instances of ServiceWorkerGlobalScope 18 FAIL ServiceWorkerGlobalScope interface: attribute registration The ServiceWorkerGlobalScope.registration getter can only be used on instances of ServiceWorkerGlobalScope 19 PASS ServiceWorkerGlobalScope interface: operation skipWaiting() 20 FAIL ServiceWorkerGlobalScope interface: attribute oninstall The ServiceWorkerGlobalScope.oninstall getter can only be used on instances of ServiceWorkerGlobalScope 21 FAIL ServiceWorkerGlobalScope interface: attribute onactivate The ServiceWorkerGlobalScope.onactivate getter can only be used on instances of ServiceWorkerGlobalScope 22 FAIL ServiceWorkerGlobalScope interface: attribute onfetch The ServiceWorkerGlobalScope.onfetch getter can only be used on instances of ServiceWorkerGlobalScope 23 FAIL ServiceWorkerGlobalScope interface: attribute onmessage The ServiceWorkerGlobalScope.onmessage getter can only be used on instances of ServiceWorkerGlobalScope 24 FAIL ServiceWorkerGlobalScope interface: attribute onmessageerror The ServiceWorkerGlobalScope.onmessageerror getter can only be used on instances of ServiceWorkerGlobalScope 25 PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of global platform object - setting to a new value via Object.setPrototypeOf should throw a TypeError 26 PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of global platform object - setting to a new value via __proto__ should throw a TypeError 27 PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of global platform object - setting to a new value via Reflect.setPrototypeOf should return false 28 PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of global platform object - setting to its original value via Object.setPrototypeOf should not throw 29 PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of global platform object - setting to its original value via __proto__ should not throw 30 PASS ServiceWorkerGlobalScope interface: internal [[SetPrototypeOf]] method of global platform object - setting to its original value via Reflect.setPrototypeOf should return true 31 PASS ServiceWorkerGlobalScope must be primary interface of self 32 PASS Stringification of self 33 PASS ServiceWorkerGlobalScope interface: self must inherit property "clients" with the proper type 34 PASS ServiceWorkerGlobalScope interface: self must inherit property "registration" with the proper type 35 PASS ServiceWorkerGlobalScope interface: self must inherit property "skipWaiting()" with the proper type 36 PASS ServiceWorkerGlobalScope interface: self must inherit property "oninstall" with the proper type 37 PASS ServiceWorkerGlobalScope interface: self must inherit property "onactivate" with the proper type 38 PASS ServiceWorkerGlobalScope interface: self must inherit property "onfetch" with the proper type 39 PASS ServiceWorkerGlobalScope interface: self must inherit property "onmessage" with the proper type 40 PASS ServiceWorkerGlobalScope interface: self must inherit property "onmessageerror" with the proper type 41 PASS Client interface: existence and properties of interface object 42 PASS Client interface object length 43 PASS Client interface object name 44 PASS Client interface: existence and properties of interface prototype object 45 PASS Client interface: existence and properties of interface prototype object's "constructor" property 46 PASS Client interface: attribute url 47 PASS Client interface: attribute id 48 PASS Client interface: attribute type 49 FAIL Client interface: attribute reserved assert_true: The prototype object must have a property "reserved" expected true got false 50 PASS Client interface: operation postMessage(any, [object Object]) 51 PASS WindowClient interface: existence and properties of interface object 52 PASS WindowClient interface object length 53 PASS WindowClient interface object name 54 PASS WindowClient interface: existence and properties of interface prototype object 55 PASS WindowClient interface: existence and properties of interface prototype object's "constructor" property 56 PASS WindowClient interface: attribute visibilityState 57 PASS WindowClient interface: attribute focused 58 FAIL WindowClient interface: attribute ancestorOrigins assert_true: The prototype object must have a property "ancestorOrigins" expected true got false 59 PASS WindowClient interface: operation focus() 60 PASS WindowClient interface: operation navigate(USVString) 61 PASS Clients interface: existence and properties of interface object 62 PASS Clients interface object length 63 PASS Clients interface object name 64 PASS Clients interface: existence and properties of interface prototype object 65 PASS Clients interface: existence and properties of interface prototype object's "constructor" property 66 PASS Clients interface: operation get(DOMString) 67 PASS Clients interface: operation matchAll(ClientQueryOptions) 68 PASS Clients interface: operation openWindow(USVString) 69 PASS Clients interface: operation claim() 70 PASS Clients must be primary interface of self.clients 71 PASS Stringification of self.clients 72 PASS Clients interface: self.clients must inherit property "get(DOMString)" with the proper type 73 PASS Clients interface: calling get(DOMString) on self.clients with too few arguments must throw TypeError 74 PASS Clients interface: self.clients must inherit property "matchAll(ClientQueryOptions)" with the proper type 75 PASS Clients interface: calling matchAll(ClientQueryOptions) on self.clients with too few arguments must throw TypeError 76 PASS Clients interface: self.clients must inherit property "openWindow(USVString)" with the proper type 77 PASS Clients interface: calling openWindow(USVString) on self.clients with too few arguments must throw TypeError 78 PASS Clients interface: self.clients must inherit property "claim()" with the proper type 79 PASS ServiceWorker interface: existence and properties of interface object 80 PASS ServiceWorker interface object length 81 PASS ServiceWorker interface object name 82 PASS ServiceWorker interface: existence and properties of interface prototype object 83 PASS ServiceWorker interface: existence and properties of interface prototype object's "constructor" property 84 PASS ServiceWorker interface: attribute scriptURL 85 PASS ServiceWorker interface: attribute state 86 PASS ServiceWorker interface: operation postMessage(any, [object Object]) 87 PASS ServiceWorker interface: attribute onstatechange 88 PASS ServiceWorkerRegistration interface: existence and properties of interface object 89 PASS ServiceWorkerRegistration interface object length 90 PASS ServiceWorkerRegistration interface object name 91 PASS ServiceWorkerRegistration interface: existence and properties of interface prototype object 92 PASS ServiceWorkerRegistration interface: existence and properties of interface prototype object's "constructor" property 93 PASS ServiceWorkerRegistration interface: attribute installing 94 PASS ServiceWorkerRegistration interface: attribute waiting 95 PASS ServiceWorkerRegistration interface: attribute active 96 FAIL ServiceWorkerRegistration interface: attribute navigationPreload assert_true: The prototype object must have a property "navigationPreload" expected true got false 97 PASS ServiceWorkerRegistration interface: attribute scope 98 PASS ServiceWorkerRegistration interface: attribute updateViaCache 99 PASS ServiceWorkerRegistration interface: operation update() 100 PASS ServiceWorkerRegistration interface: operation unregister() 101 PASS ServiceWorkerRegistration interface: attribute onupdatefound 102 PASS ServiceWorkerRegistration must be primary interface of self.registration 103 PASS Stringification of self.registration 104 PASS ServiceWorkerRegistration interface: self.registration must inherit property "installing" with the proper type 105 PASS ServiceWorkerRegistration interface: self.registration must inherit property "waiting" with the proper type 106 PASS ServiceWorkerRegistration interface: self.registration must inherit property "active" with the proper type 107 FAIL ServiceWorkerRegistration interface: self.registration must inherit property "navigationPreload" with the proper type assert_inherits: property "navigationPreload" not found in prototype chain 108 PASS ServiceWorkerRegistration interface: self.registration must inherit property "scope" with the proper type 109 PASS ServiceWorkerRegistration interface: self.registration must inherit property "updateViaCache" with the proper type 110 PASS ServiceWorkerRegistration interface: self.registration must inherit property "update()" with the proper type 111 PASS ServiceWorkerRegistration interface: self.registration must inherit property "unregister()" with the proper type 112 PASS ServiceWorkerRegistration interface: self.registration must inherit property "onupdatefound" with the proper type 113 PASS EventTarget interface: self.registration must inherit property "addEventListener(DOMString, EventListener, [object Object],[object Object])" with the proper type 114 PASS EventTarget interface: calling addEventListener(DOMString, EventListener, [object Object],[object Object]) on self.registration with too few arguments must throw TypeError 115 PASS EventTarget interface: self.registration must inherit property "removeEventListener(DOMString, EventListener, [object Object],[object Object])" with the proper type 116 PASS EventTarget interface: calling removeEventListener(DOMString, EventListener, [object Object],[object Object]) on self.registration with too few arguments must throw TypeError 117 PASS EventTarget interface: self.registration must inherit property "dispatchEvent(Event)" with the proper type 118 PASS EventTarget interface: calling dispatchEvent(Event) on self.registration with too few arguments must throw TypeError 119 PASS EventTarget interface: existence and properties of interface object 120 PASS EventTarget interface object length 121 PASS EventTarget interface object name 122 PASS EventTarget interface: existence and properties of interface prototype object 123 PASS EventTarget interface: existence and properties of interface prototype object's "constructor" property 124 PASS EventTarget interface: operation addEventListener(DOMString, EventListener, [object Object],[object Object]) 125 PASS EventTarget interface: operation removeEventListener(DOMString, EventListener, [object Object],[object Object]) 126 PASS EventTarget interface: operation dispatchEvent(Event) 127 FAIL NavigationPreloadManager interface: existence and properties of interface object assert_own_property: self does not have own property "NavigationPreloadManager" expected property "NavigationPreloadManager" missing 128 FAIL NavigationPreloadManager interface object length assert_own_property: self does not have own property "NavigationPreloadManager" expected property "NavigationPreloadManager" missing 129 FAIL NavigationPreloadManager interface object name assert_own_property: self does not have own property "NavigationPreloadManager" expected property "NavigationPreloadManager" missing 130 FAIL NavigationPreloadManager interface: existence and properties of interface prototype object assert_own_property: self does not have own property "NavigationPreloadManager" expected property "NavigationPreloadManager" missing 131 FAIL NavigationPreloadManager interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "NavigationPreloadManager" expected property "NavigationPreloadManager" missing 132 FAIL NavigationPreloadManager interface: operation enable() assert_own_property: self does not have own property "NavigationPreloadManager" expected property "NavigationPreloadManager" missing 133 FAIL NavigationPreloadManager interface: operation disable() assert_own_property: self does not have own property "NavigationPreloadManager" expected property "NavigationPreloadManager" missing 134 FAIL NavigationPreloadManager interface: operation setHeaderValue(ByteString) assert_own_property: self does not have own property "NavigationPreloadManager" expected property "NavigationPreloadManager" missing 135 FAIL NavigationPreloadManager interface: operation getState() assert_own_property: self does not have own property "NavigationPreloadManager" expected property "NavigationPreloadManager" missing 136 PASS Cache interface: existence and properties of interface object 137 PASS Cache interface object length 138 PASS Cache interface object name 139 PASS Cache interface: existence and properties of interface prototype object 140 PASS Cache interface: existence and properties of interface prototype object's "constructor" property 141 PASS Cache interface: operation match(RequestInfo, CacheQueryOptions) 142 PASS Cache interface: operation matchAll(RequestInfo, CacheQueryOptions) 143 PASS Cache interface: operation add(RequestInfo) 144 PASS Cache interface: operation addAll([object Object]) 145 PASS Cache interface: operation put(RequestInfo, Response) 146 PASS Cache interface: operation delete(RequestInfo, CacheQueryOptions) 147 PASS Cache interface: operation keys(RequestInfo, CacheQueryOptions) 148 PASS Cache must be primary interface of self.cacheInstance 149 PASS Stringification of self.cacheInstance 150 PASS Cache interface: self.cacheInstance must inherit property "match(RequestInfo, CacheQueryOptions)" with the proper type 151 PASS Cache interface: calling match(RequestInfo, CacheQueryOptions) on self.cacheInstance with too few arguments must throw TypeError 152 PASS Cache interface: self.cacheInstance must inherit property "matchAll(RequestInfo, CacheQueryOptions)" with the proper type 153 PASS Cache interface: calling matchAll(RequestInfo, CacheQueryOptions) on self.cacheInstance with too few arguments must throw TypeError 154 PASS Cache interface: self.cacheInstance must inherit property "add(RequestInfo)" with the proper type 155 PASS Cache interface: calling add(RequestInfo) on self.cacheInstance with too few arguments must throw TypeError 156 PASS Cache interface: self.cacheInstance must inherit property "addAll([object Object])" with the proper type 157 PASS Cache interface: calling addAll([object Object]) on self.cacheInstance with too few arguments must throw TypeError 158 PASS Cache interface: self.cacheInstance must inherit property "put(RequestInfo, Response)" with the proper type 159 PASS Cache interface: calling put(RequestInfo, Response) on self.cacheInstance with too few arguments must throw TypeError 160 PASS Cache interface: self.cacheInstance must inherit property "delete(RequestInfo, CacheQueryOptions)" with the proper type 161 PASS Cache interface: calling delete(RequestInfo, CacheQueryOptions) on self.cacheInstance with too few arguments must throw TypeError 162 PASS Cache interface: self.cacheInstance must inherit property "keys(RequestInfo, CacheQueryOptions)" with the proper type 163 PASS Cache interface: calling keys(RequestInfo, CacheQueryOptions) on self.cacheInstance with too few arguments must throw TypeError 164 PASS CacheStorage interface: existence and properties of interface object 165 PASS CacheStorage interface object length 166 PASS CacheStorage interface object name 167 PASS CacheStorage interface: existence and properties of interface prototype object 168 PASS CacheStorage interface: existence and properties of interface prototype object's "constructor" property 169 PASS CacheStorage interface: operation match(RequestInfo, CacheQueryOptions) 170 PASS CacheStorage interface: operation has(DOMString) 171 PASS CacheStorage interface: operation open(DOMString) 172 PASS CacheStorage interface: operation delete(DOMString) 173 PASS CacheStorage interface: operation keys() 174 PASS CacheStorage must be primary interface of self.caches 175 PASS Stringification of self.caches 176 PASS CacheStorage interface: self.caches must inherit property "match(RequestInfo, CacheQueryOptions)" with the proper type 177 PASS CacheStorage interface: calling match(RequestInfo, CacheQueryOptions) on self.caches with too few arguments must throw TypeError 178 PASS CacheStorage interface: self.caches must inherit property "has(DOMString)" with the proper type 179 PASS CacheStorage interface: calling has(DOMString) on self.caches with too few arguments must throw TypeError 180 PASS CacheStorage interface: self.caches must inherit property "open(DOMString)" with the proper type 181 PASS CacheStorage interface: calling open(DOMString) on self.caches with too few arguments must throw TypeError 182 PASS CacheStorage interface: self.caches must inherit property "delete(DOMString)" with the proper type 183 PASS CacheStorage interface: calling delete(DOMString) on self.caches with too few arguments must throw TypeError 184 PASS CacheStorage interface: self.caches must inherit property "keys()" with the proper type 13 185 -
trunk/Source/WebCore/ChangeLog
r225565 r225566 1 2017-12-05 Chris Dumez <cdumez@apple.com> 2 3 ServiceWorkerGlobalScope prototype chain should be immutable 4 https://bugs.webkit.org/show_bug.cgi?id=180450 5 6 Reviewed by Youenn Fablet. 7 8 ServiceWorkerGlobalScope prototype chain should be immutable, similarly 9 to what we do for DOMWindow. This is covered by a web-platform-test 10 which was timing out because it was successfuly overwriting the 11 ServiceWorkerGlobalScope prototype. 12 13 No new tests, rebaselined existing test. 14 15 * workers/DedicatedWorkerGlobalScope.idl: 16 * workers/WorkerGlobalScope.idl: 17 * workers/service/ServiceWorkerGlobalScope.idl: 18 1 19 2017-12-05 Basuke Suzuki <Basuke.Suzuki@sony.com> 2 20 -
trunk/Source/WebCore/workers/DedicatedWorkerGlobalScope.idl
r209303 r225566 34 34 Global=(Worker,DedicatedWorker), 35 35 JSGenerateToNativeObject, 36 IsImmutablePrototypeExoticObject, 37 IsImmutablePrototypeExoticObjectOnPrototype, 36 38 ] interface DedicatedWorkerGlobalScope : WorkerGlobalScope { 37 39 [CallWith=ScriptState, MayThrowException] void postMessage(any message, optional sequence<object> transfer = []); -
trunk/Source/WebCore/workers/WorkerGlobalScope.idl
r217181 r225566 29 29 JSCustomMarkFunction, 30 30 JSLegacyParent=JSWorkerGlobalScopeBase, 31 IsImmutablePrototypeExoticObject, 32 IsImmutablePrototypeExoticObjectOnPrototype, 31 33 ] interface WorkerGlobalScope : EventTarget { 32 34 -
trunk/Source/WebCore/workers/service/ServiceWorkerGlobalScope.idl
r225249 r225566 31 31 EnabledAtRuntime=ServiceWorker, 32 32 JSCustomMarkFunction, 33 IsImmutablePrototypeExoticObject, 34 IsImmutablePrototypeExoticObjectOnPrototype, 33 35 ] interface ServiceWorkerGlobalScope : WorkerGlobalScope { 34 36 [SameObject] readonly attribute ServiceWorkerClients clients;
Note: See TracChangeset
for help on using the changeset viewer.