Index: LayoutTests/http/tests/inspector-protocol/resources/protocol-test.html |
diff --git a/LayoutTests/http/tests/inspector-protocol/resources/protocol-test.html b/LayoutTests/http/tests/inspector-protocol/resources/protocol-test.html |
index bfd6a990929a29193ad8f6bb3cd2b9b2f03506ea..4da04855457022b479e75911960bae632dc5717c 100644 |
--- a/LayoutTests/http/tests/inspector-protocol/resources/protocol-test.html |
+++ b/LayoutTests/http/tests/inspector-protocol/resources/protocol-test.html |
@@ -201,7 +201,7 @@ InspectorTest.logObject = function(object, title) |
propertyNames.sort(); |
for (var i = 0; i < propertyNames.length; ++i) { |
var name = propertyNames[i]; |
- if (typeof object.hasOwnProperty === "function" && !object.hasOwnProperty(name)) |
+ if (!object.hasOwnProperty(name)) |
continue; |
var prefixWithName = " " + prefix + name + " : "; |
dumpValue(object[name], " " + prefix, prefixWithName); |