Reviewed by timothy.
[WebKit-https.git] / LayoutTests / fast / js / window-properties.html
index 5e500118c345c3a61865de8233504c94ecb695b2..b2cda41140e403e9bf5818991fd234ab87655133 100644 (file)
@@ -51,7 +51,7 @@ function printProperties(object, parentString) {
     }
     if (shouldSkipProperty(fullPropertyName, propertyValue))
       continue;
-    var type = typeof(propertyValue);
+    var type = (propertyValue === null ? 'null' : typeof(propertyValue));
     log(fullPropertyName + " : " + type);
     var previousPropertyName = '';
     if (propertyValue && type == 'object') {