mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Use IDL sequence default value
This commit is contained in:
parent
4ad08fff04
commit
01e0b2cb5e
13 changed files with 40 additions and 65 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
[Exposed=(Window,Worker)]
|
||||
interface MessagePort : EventTarget {
|
||||
[Throws] void postMessage(any message, sequence<object> transfer /*= []*/);
|
||||
[Throws] void postMessage(any message, sequence<object> transfer);
|
||||
[Throws] void postMessage(any message, optional PostMessageOptions options = {});
|
||||
void start();
|
||||
void close();
|
||||
|
@ -19,5 +19,5 @@ interface MessagePort : EventTarget {
|
|||
};
|
||||
|
||||
dictionary PostMessageOptions {
|
||||
sequence<object> transfer;
|
||||
sequence<object> transfer = [];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue