summaryrefslogtreecommitdiffstats
path: root/dom/bindings/test/TestInterfaceJS.sys.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'dom/bindings/test/TestInterfaceJS.sys.mjs')
-rw-r--r--dom/bindings/test/TestInterfaceJS.sys.mjs8
1 files changed, 4 insertions, 4 deletions
diff --git a/dom/bindings/test/TestInterfaceJS.sys.mjs b/dom/bindings/test/TestInterfaceJS.sys.mjs
index 53ce9d107d..ea229eda49 100644
--- a/dom/bindings/test/TestInterfaceJS.sys.mjs
+++ b/dom/bindings/test/TestInterfaceJS.sys.mjs
@@ -93,12 +93,12 @@ TestInterfaceJS.prototype = {
pingPongNullableUnion(x) {
return x;
},
- returnBadUnion(x) {
+ returnBadUnion() {
return 3;
},
- testSequenceOverload(arg) {},
- testSequenceUnion(arg) {},
+ testSequenceOverload() {},
+ testSequenceUnion() {},
testThrowError() {
throw new this._win.Error("We are an Error");
@@ -121,7 +121,7 @@ TestInterfaceJS.prototype = {
throw Cr.NS_BINDING_ABORTED;
},
- testThrowNsresultFromNative(x) {
+ testThrowNsresultFromNative() {
// We want to throw an exception that we generate from an nsresult thrown
// by a C++ component.
Services.io.notImplemented();