mirror of
https://github.com/servo/servo.git
synced 2025-10-02 01:29:15 +01:00
Auto merge of #9688 - KiChjang:worker-terminate, r=jdm
Implement Worker#terminate() (fixes #4427). Adds support for terminating DOM workers. A closing flag was added to WorkerGlobalScope per the spec. Rebased #6652, with some comments addressed. Fixes #4427. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9688) <!-- Reviewable:end -->
This commit is contained in:
commit
c0aa049b0a
13 changed files with 216 additions and 47 deletions
|
@ -7458,9 +7458,6 @@
|
|||
[SharedWorkerGlobalScope interface: attribute onconnect]
|
||||
expected: FAIL
|
||||
|
||||
[Worker interface: operation terminate()]
|
||||
expected: FAIL
|
||||
|
||||
[SharedWorker interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[Worker_terminate_event_queue.htm]
|
||||
type: testharness
|
||||
disabled: too much output
|
|
@ -1,5 +0,0 @@
|
|||
[terminate.html]
|
||||
type: testharness
|
||||
[terminate()]
|
||||
expected: FAIL
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[nested_worker.worker]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Nested worker]
|
||||
expected: FAIL
|
||||
|
||||
[Checking contents for text file]
|
||||
expected: FAIL
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue