mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +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
|
@ -64,7 +64,7 @@
|
|||
void cancelAnimationFrame(unsigned long handle);
|
||||
|
||||
[Throws]
|
||||
void postMessage(any message, USVString targetOrigin, optional sequence<object> transfer /*= []*/);
|
||||
void postMessage(any message, USVString targetOrigin, optional sequence<object> transfer = []);
|
||||
[Throws]
|
||||
void postMessage(any message, optional WindowPostMessageOptions options = {});
|
||||
|
||||
|
@ -175,7 +175,6 @@ partial interface Window {
|
|||
readonly attribute unsigned long runningAnimationCount;
|
||||
};
|
||||
|
||||
dictionary WindowPostMessageOptions {
|
||||
dictionary WindowPostMessageOptions : PostMessageOptions {
|
||||
USVString targetOrigin = "/";
|
||||
sequence<object> transfer;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue