ServiceWorkerGlobalScope prototype chain should be immutable
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Dec 2017 04:47:00 +0000 (04:47 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Dec 2017 04:47:00 +0000 (04:47 +0000)
commit152ce932b7be8b03ab2c21dc2c7cdec0e1cdb068
treeaa4942776389daa4d8202ce82608758db36762aa
parent9fafe775ee4a95a72d5e5df7ae04fa892491c9b7
ServiceWorkerGlobalScope prototype chain should be immutable
https://bugs.webkit.org/show_bug.cgi?id=180450

Reviewed by Youenn Fablet.

LayoutTests/imported/w3c:

Rebaseline test that no longer times out.

* web-platform-tests/service-workers/service-worker/interfaces-sw.https-expected.txt:

Source/WebCore:

ServiceWorkerGlobalScope prototype chain should be immutable, similarly
to what we do for DOMWindow. This is covered by a web-platform-test
which was timing out because it was successfuly overwriting the
ServiceWorkerGlobalScope prototype.

No new tests, rebaselined existing test.

* workers/DedicatedWorkerGlobalScope.idl:
* workers/WorkerGlobalScope.idl:
* workers/service/ServiceWorkerGlobalScope.idl:

LayoutTests:

* TestExpectations:
Unskip test that no longer times out.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225566 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/TestExpectations
LayoutTests/fast/workers/DedicatedWorkerGlobalScope-immutable-prototype-expected.txt [new file with mode: 0644]
LayoutTests/fast/workers/DedicatedWorkerGlobalScope-immutable-prototype.html [new file with mode: 0644]
LayoutTests/imported/w3c/ChangeLog
LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/interfaces-sw.https-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/workers/DedicatedWorkerGlobalScope.idl
Source/WebCore/workers/WorkerGlobalScope.idl
Source/WebCore/workers/service/ServiceWorkerGlobalScope.idl