mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Add Clamp and EnforceRange support for webidl arguments.
This commit is contained in:
parent
0888e1acac
commit
7f152b665d
5 changed files with 153 additions and 57 deletions
|
@ -21,8 +21,7 @@ interface WebSocket : EventTarget {
|
|||
attribute EventHandler onclose;
|
||||
//readonly attribute DOMString extensions;
|
||||
//readonly attribute DOMString protocol;
|
||||
//[Throws] void close([Clamp] optional unsigned short code, optional USVString reason); //Clamp doesn't work
|
||||
[Throws] void close(optional unsigned short code, optional USVString reason); //No clamp version - works
|
||||
[Throws] void close([Clamp] optional unsigned short code, optional USVString reason);
|
||||
|
||||
//messaging
|
||||
//attribute EventHandler onmessage;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue