mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Implement Trusted types worker sinks (#36811)
Part of #36258 Built on top of #36668 Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com> Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
This commit is contained in:
parent
c00e0aae61
commit
1e8896800a
10 changed files with 37 additions and 43 deletions
|
@ -11,7 +11,7 @@ interface mixin AbstractWorker {
|
|||
// https://html.spec.whatwg.org/multipage/#worker
|
||||
[Exposed=(Window,Worker)]
|
||||
interface Worker : EventTarget {
|
||||
[Throws] constructor(USVString scriptURL, optional WorkerOptions options = {});
|
||||
[Throws] constructor((TrustedScriptURL or USVString) scriptURL, optional WorkerOptions options = {});
|
||||
undefined terminate();
|
||||
|
||||
[Throws] undefined postMessage(any message, sequence<object> transfer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue