X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=LayoutTests%2Ffast%2Fjs%2Fwindow-properties.html;h=b2cda41140e403e9bf5818991fd234ab87655133;hp=5e500118c345c3a61865de8233504c94ecb695b2;hb=44aa27a35bddfe494b637b3aeec9e9a88f3f2b1e;hpb=8810d07b27b2251f9d2d306a2d9ddb4aabe1dcfd diff --git a/LayoutTests/fast/js/window-properties.html b/LayoutTests/fast/js/window-properties.html index 5e500118c345..b2cda41140e4 100644 --- a/LayoutTests/fast/js/window-properties.html +++ b/LayoutTests/fast/js/window-properties.html @@ -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') {