aboutsummaryrefslogtreecommitdiffstats
path: root/tests/reproducers/simple/JSObjectWithoutToString/resources/JSObjectWithoutToString.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reproducers/simple/JSObjectWithoutToString/resources/JSObjectWithoutToString.js')
-rw-r--r--tests/reproducers/simple/JSObjectWithoutToString/resources/JSObjectWithoutToString.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/reproducers/simple/JSObjectWithoutToString/resources/JSObjectWithoutToString.js b/tests/reproducers/simple/JSObjectWithoutToString/resources/JSObjectWithoutToString.js
new file mode 100644
index 0000000..47d7d97
--- /dev/null
+++ b/tests/reproducers/simple/JSObjectWithoutToString/resources/JSObjectWithoutToString.js
@@ -0,0 +1,8 @@
+function doToStringTest(){
+ var applet = document.getElementById('jswithouttostring');
+
+ var null_obj = Object.create(null);
+
+ applet.callJSToString(null_obj);
+}
+