From e36b8f657997ffca3d1cc1fe1a7130854d247262 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 16 Nov 2012 15:29:53 +0000 Subject: safely deal with NULL strings --- test/js/dom-node-enumerate.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/js') diff --git a/test/js/dom-node-enumerate.html b/test/js/dom-node-enumerate.html index 6cbff2438..261d68020 100644 --- a/test/js/dom-node-enumerate.html +++ b/test/js/dom-node-enumerate.html @@ -15,6 +15,12 @@ function output(x,y) { } for(var key in Node){ output(key, Node[key]); +} + + document.body.appendChild(document.createElement('hr')); + +for(var key in document.body){ +output(key, document.body[key]); } -- cgit v1.2.3