summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/Proxy/revoke-no-name.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/non262/Proxy/revoke-no-name.js')
-rw-r--r--js/src/tests/non262/Proxy/revoke-no-name.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/src/tests/non262/Proxy/revoke-no-name.js b/js/src/tests/non262/Proxy/revoke-no-name.js
new file mode 100644
index 0000000000..59ea80bd5d
--- /dev/null
+++ b/js/src/tests/non262/Proxy/revoke-no-name.js
@@ -0,0 +1,2 @@
+var revocationFunction = Proxy.revocable({}, {}).revoke;
+reportCompare(revocationFunction.name, "");