Index: bindings/tests/idls/TestInterfaceNamedConstructor2.idl |
diff --git a/modules/crypto/KeyPair.idl b/bindings/tests/idls/TestInterfaceNamedConstructor2.idl |
similarity index 90% |
rename from modules/crypto/KeyPair.idl |
rename to bindings/tests/idls/TestInterfaceNamedConstructor2.idl |
index a27de45fae4a9bd1eb5510e94f230c5b7018d470..1494ffddc21c6cfcf94dfe48a4e45253b0363910 100644 |
--- a/modules/crypto/KeyPair.idl |
+++ b/bindings/tests/idls/TestInterfaceNamedConstructor2.idl |
@@ -28,10 +28,8 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// "Number of arguments" check varies if [RaisesException=Constructor] or not |
[ |
- WillBeGarbageCollected, |
- NoInterfaceObject |
-] interface KeyPair { |
- readonly attribute Key publicKey; |
- readonly attribute Key privateKey; |
+ NamedConstructor=Audio(DOMString stringArg), |
+] interface TestInterfaceNamedConstructor2 { |
}; |