summaryrefslogtreecommitdiff
path: root/test/js/dom-node-enumerate.html
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2012-11-17 16:11:37 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2012-11-17 16:11:37 +0000
commite310dac092797fa34008fea203a07291f5838ba1 (patch)
tree399fe5905cebb555df23696194592e9959a8420c /test/js/dom-node-enumerate.html
parent78e460e4bdfdfb1daed9a9549381f3e742ba4786 (diff)
parent6589c7cc196863d0d0694d6bd14c39386b27ae81 (diff)
downloadnetsurf-e310dac092797fa34008fea203a07291f5838ba1.tar.gz
netsurf-e310dac092797fa34008fea203a07291f5838ba1.tar.bz2
Merge branch 'master' of git://git.netsurf-browser.org/netsurf into chris/frame-scroll
Diffstat (limited to 'test/js/dom-node-enumerate.html')
-rw-r--r--test/js/dom-node-enumerate.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/js/dom-node-enumerate.html b/test/js/dom-node-enumerate.html
index 6cbff2438..573e27b4e 100644
--- a/test/js/dom-node-enumerate.html
+++ b/test/js/dom-node-enumerate.html
@@ -9,7 +9,11 @@
<script>
function output(x,y) {
document.body.appendChild(document.createTextNode(x));
- document.body.appendChild(document.createTextNode(" = "));
+ document.body.appendChild(document.createTextNode("("));
+ if (y != undefined) {
+document.body.appendChild(document.createTextNode(y.length));
+}
+ document.body.appendChild(document.createTextNode(") = "));
document.body.appendChild(document.createTextNode(y));
document.body.appendChild(document.createElement('br'));
}