mirror of
https://github.com/servo/servo.git
synced 2025-08-12 17:05:33 +01:00
Auto merge of #12501 - mephisto41:worker-close-impl, r=KiChjang
Implement DedicatedWorkerGlobalScope.close <!-- Please describe your changes on the following line: --> Implement DedicatedWorkerGlobalScope.close(). --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #12466 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12501) <!-- Reviewable:end -->
This commit is contained in:
commit
4e18c230d0
7 changed files with 29 additions and 19 deletions
|
@ -1,5 +0,0 @@
|
|||
[WorkerGlobalScope_close.htm]
|
||||
type: testharness
|
||||
[ WorkerGlobalScope close(): clear events queue ]
|
||||
expected: FAIL
|
||||
|
|
@ -21,9 +21,6 @@
|
|||
[DedicatedWorkerGlobalScope interface: attribute onmessage]
|
||||
expected: FAIL
|
||||
|
||||
[WorkerGlobalScope interface: self must inherit property "close" with the proper type (2)]
|
||||
expected: FAIL
|
||||
|
||||
[WorkerGlobalScope interface: self must inherit property "onerror" with the proper type (3)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
[sending-messages.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[close() and sending messages]
|
||||
expected: TIMEOUT
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue