diff options
author | bptato <nincsnevem662@gmail.com> | 2025-01-05 14:19:31 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2025-01-05 14:19:31 +0100 |
commit | 68b44345037d2aa78a69e4da560e07a9a5fe8e9c (patch) | |
tree | c8e0151c5226343de0974ca107e283930d3c277a /test/js/document.html | |
parent | f34d87bffdb1567fdf67bf8d828d018768eacafd (diff) | |
download | chawan-68b44345037d2aa78a69e4da560e07a9a5fe8e9c.tar.gz |
dom: add form length, fix document.getElementsByName("")
Diffstat (limited to 'test/js/document.html')
-rw-r--r-- | test/js/document.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/js/document.html b/test/js/document.html index 8f15ab81..0bcfb7ad 100644 --- a/test/js/document.html +++ b/test/js/document.html @@ -13,6 +13,7 @@ document.toString.remove(); document.testtest = "hi"; assertEquals(document.ELEMENT_NODE, 1); assertEquals(Document.ELEMENT_NODE, 1); +assertEquals(document.getElementsByName("").length, 0); assertEquals(Object.getOwnPropertyNames(document).toString(), "testtest,location,img2,img3,asdf"); /* * Note: the spec says Document == HTMLDocument, but in other browsers |