3
do_browser_test node.1 -javascript {
4
return Node.ELEMENT_NODE
7
do_browser_test node.2 -javascript {
12
# This test does not work. Firefox allows the Node.ELEMENT_NODE
13
# constant to be overwritten, whereas Hv3 throws an exception.
15
# ::browsertest::do_test node.3 -timeout 10000000 -javascript {
16
# Node.ELEMENT_NODE = "hello"
17
# return Node.ELEMENT_NODE
20
do_browser_test node.3 -javascript {
22
document.body.nodeType = 10
29
do_browser_test node.4 -html {<body>} -javascript {
30
return "" + document.body.ELEMENT_NODE