diff --git a/test/ecmascript/assert/URL.html b/test/ecmascript/assert/URL.html
index 7244b80cd..c77fd2ce1 100644
--- a/test/ecmascript/assert/URL.html
+++ b/test/ecmascript/assert/URL.html
@@ -4,5 +4,5 @@ var url = new URL('https://www.example.com/cats');
console.assert(url.pathname === '/cats', url.pathname);
console.assert(url.protocol === 'https:', url.protocol);
console.assert(url.hostname === 'www.example.com', url.hostname);
-console.exit(0);
+console.exit();
diff --git a/test/ecmascript/assert/console.assert.html b/test/ecmascript/assert/console.assert.html
index d8d09d788..bfd0db3f4 100644
--- a/test/ecmascript/assert/console.assert.html
+++ b/test/ecmascript/assert/console.assert.html
@@ -2,5 +2,5 @@
console.error("console.assert.html");
console.assert(0 % 2 === 0, "O is not even");
console.assert(1 % 2 === 0, "1 is not even");
-console.exit(0);
+console.exit();
diff --git a/test/ecmascript/assert/customEvent.html b/test/ecmascript/assert/customEvent.html
index bede856ba..1fd3d6a82 100644
--- a/test/ecmascript/assert/customEvent.html
+++ b/test/ecmascript/assert/customEvent.html
@@ -8,5 +8,5 @@ e.preventDefault();
console.assert(e.defaultPrevented, 'defaultPrevented true');
console.assert(e.type === 'message', 'message');
console.assert(e.detail.name === 'cat', 'cat');
-console.exit(0);
+console.exit();
diff --git a/test/ecmascript/assert/doctype.publicId.html b/test/ecmascript/assert/doctype.publicId.html
index 6875eb79c..3caee055c 100644
--- a/test/ecmascript/assert/doctype.publicId.html
+++ b/test/ecmascript/assert/doctype.publicId.html
@@ -17,7 +17,7 @@ function myFunction() {
}
console.error("doctype.publicId.html");
myFunction();
-console.exit(0);
+console.exit();