| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary formstrArg, with or without | 4 * Redistribution and use in source and binary formstrArg, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 // changes in its ouput. | 27 // changes in its ouput. |
| 28 module test { | 28 module test { |
| 29 interface [ | 29 interface [ |
| 30 Conditional=Condition1|Condition2, | 30 Conditional=Condition1|Condition2, |
| 31 Constructor(in DOMString hello, in SerializedScriptValue value), | 31 Constructor(in DOMString hello, in SerializedScriptValue value), |
| 32 Constructor(in DOMString hello, in [TransferList=transferList] Serialize
dScriptValue data, in [Optional=DefaultIsUndefined] Array transferList), | 32 Constructor(in DOMString hello, in [TransferList=transferList] Serialize
dScriptValue data, in [Optional=DefaultIsUndefined] Array transferList), |
| 33 ] TestSerializedScriptValueInterface { | 33 ] TestSerializedScriptValueInterface { |
| 34 attribute SerializedScriptValue value; | 34 attribute SerializedScriptValue value; |
| 35 readonly attribute SerializedScriptValue readonlyValue; | 35 readonly attribute SerializedScriptValue readonlyValue; |
| 36 attribute [CachedAttribute] SerializedScriptValue cachedValue; | 36 attribute [CachedAttribute] SerializedScriptValue cachedValue; |
| 37 readonly attribute MessagePortArray ports; |
| 37 readonly attribute [CachedAttribute] SerializedScriptValue cachedReadonl
yValue; | 38 readonly attribute [CachedAttribute] SerializedScriptValue cachedReadonl
yValue; |
| 38 void acceptTransferList(in [TransferList=transferList] SerializedScriptV
alue data, in [Optional] Array transferList); | 39 void acceptTransferList(in [TransferList=transferList] SerializedScriptV
alue data, in [Optional] Array transferList); |
| 39 void multiTransferList(in [Optional, TransferList=tx] SerializedScriptVa
lue first, in [Optional] Array tx, in [Optional, TransferList=txx] SerializedScr
iptValue second, in [Optional] Array txx); | 40 void multiTransferList(in [Optional, TransferList=tx] SerializedScriptVa
lue first, in [Optional] Array tx, in [Optional, TransferList=txx] SerializedScr
iptValue second, in [Optional] Array txx); |
| 40 }; | 41 }; |
| 41 } | 42 } |
| OLD | NEW |