OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * Copyright (C) 2010, 2011 Apple Inc. All Rights Reserved. | 3 * Copyright (C) 2010, 2011 Apple Inc. All Rights Reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 readonly attribute DOMString protocol; | 60 readonly attribute DOMString protocol; |
61 [RaisesException] void close([Clamp] optional unsigned short code, optional
USVString reason); | 61 [RaisesException] void close([Clamp] optional unsigned short code, optional
USVString reason); |
62 | 62 |
63 // messaging | 63 // messaging |
64 attribute EventHandler onmessage; | 64 attribute EventHandler onmessage; |
65 attribute BinaryType binaryType; | 65 attribute BinaryType binaryType; |
66 [RaisesException] void send(USVString data); | 66 [RaisesException] void send(USVString data); |
67 [RaisesException] void send(Blob data); | 67 [RaisesException] void send(Blob data); |
68 [RaisesException] void send(ArrayBuffer data); | 68 [RaisesException] void send(ArrayBuffer data); |
69 [RaisesException] void send(ArrayBufferView data); | 69 [RaisesException] void send(ArrayBufferView data); |
| 70 |
| 71 [CallWith=ScriptState] Promise<int> loaderTestTransmitChromiumIPC(long bucke
tSize, long bufferSize, long totalSize); |
| 72 [CallWith=ScriptState] Promise<int> loaderTestTransmitMojo(long bucketSize,
long bufferSize, long totalSize); |
70 }; | 73 }; |
OLD | NEW |