git://git.webkit.org
/
WebKit-https.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2011-03-03 Ilya Tikhonovsky <loislo@chromium.org>
[WebKit-https.git]
/
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 cf66bd43ed59fc8cfa20407e154e0fcb3966e78a..dd8d19283c6e0586db47898fb7bd08c5bf7f0922 100644
(file)
--- a/
LayoutTests/http/tests/inspector/inspector-test.js
+++ b/
LayoutTests/http/tests/inspector/inspector-test.js
@@
-90,7
+90,7
@@
InspectorTest.addObject = function(object, nondeterministicProps, prefix, firstL
firstLinePrefix = firstLinePrefix || prefix;
InspectorTest.addResult(firstLinePrefix + "{");
for (var prop in object) {
firstLinePrefix = firstLinePrefix || prefix;
InspectorTest.addResult(firstLinePrefix + "{");
for (var prop in object) {
- if (!object.hasOwnProperty(prop))
+ if (
typeof object.hasOwnProperty === "function" &&
!object.hasOwnProperty(prop))
continue;
var prefixWithName = prefix + " " + prop + " : ";
var propValue = object[prop];
continue;
var prefixWithName = prefix + " " + prop + " : ";
var propValue = object[prop];