Index: LayoutTests/http/tests/inspector/inspector-test.js |
diff --git a/LayoutTests/http/tests/inspector/inspector-test.js b/LayoutTests/http/tests/inspector/inspector-test.js |
index 5a23464a3f7960df04e2e916dd3ba553dfd59b12..d31f7830df701adfe3235021fa907af05667d376 100644 |
--- a/LayoutTests/http/tests/inspector/inspector-test.js |
+++ b/LayoutTests/http/tests/inspector/inspector-test.js |
@@ -189,7 +189,7 @@ InspectorTest.addObject = function(object, customFormatters, prefix, firstLinePr |
propertyNames.sort(); |
for (var i = 0; i < propertyNames.length; ++i) { |
var prop = propertyNames[i]; |
- if (typeof object.hasOwnProperty === "function" && !object.hasOwnProperty(prop)) |
+ if (!object.hasOwnProperty(prop)) |
continue; |
var prefixWithName = " " + prefix + prop + " : "; |
var propValue = object[prop]; |