summaryrefslogtreecommitdiff
path: root/js/src/jsapi-tests/testXDR.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jsapi-tests/testXDR.cpp')
-rw-r--r--js/src/jsapi-tests/testXDR.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jsapi-tests/testXDR.cpp b/js/src/jsapi-tests/testXDR.cpp
index 5d5fca1a99..3787f596ca 100644
--- a/js/src/jsapi-tests/testXDR.cpp
+++ b/js/src/jsapi-tests/testXDR.cpp
@@ -115,7 +115,7 @@ BEGIN_TEST(testXDR_source)
CHECK(script);
script = FreezeThaw(cx, script);
CHECK(script);
- JSString* out = JS_DecompileScript(cx, script, "testing", 0);
+ JSString* out = JS_DecompileScript(cx, script);
CHECK(out);
bool equal;
CHECK(JS_StringEqualsAscii(cx, out, *s, &equal));