aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2025-02-02 17:02:09 +0100
committerbptato <nincsnevem662@gmail.com>2025-02-02 18:34:44 +0100
commit50d013362893f3f3a0f2a1d232f73508e3933fe0 (patch)
tree23cf7f67bb1196f17e296bb275190badd698e4e9 /test
parent20eb8b870b4062e50e473e959d2af964c33f4e6a (diff)
downloadchawan-50d013362893f3f3a0f2a1d232f73508e3933fe0.tar.gz
javascript: derive ctor functions from parent ctor functions
no idea why JS_NewCFunction3 is not public...
Diffstat (limited to 'test')
-rw-r--r--test/js/text.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/js/text.html b/test/js/text.html
index c2688bfb..020b1c1c 100644
--- a/test/js/text.html
+++ b/test/js/text.html
@@ -3,5 +3,6 @@
<script src=asserts.js></script>
<script>
assertEquals(new Text("data").ownerDocument, document);
+assertEquals(Text.__proto__, CharacterData);
document.getElementById("x").textContent = "Success";
</script>