mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Migrate to new constructor operation syntax
This commit is contained in:
parent
9706cd497d
commit
9ce82ea1ae
103 changed files with 659 additions and 413 deletions
|
@ -9,8 +9,9 @@ interface mixin AbstractWorker {
|
|||
};
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#worker
|
||||
[Constructor(USVString scriptURL, optional WorkerOptions options = {}), Exposed=(Window,Worker)]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface Worker : EventTarget {
|
||||
[Throws] constructor(USVString scriptURL, optional WorkerOptions options = {});
|
||||
void terminate();
|
||||
|
||||
[Throws] void postMessage(any message/*, sequence<object> transfer*/);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue