Index: third_party/WebKit/LayoutTests/http/tests/inspector/resources/extension-main.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/resources/extension-main.js b/third_party/WebKit/LayoutTests/http/tests/inspector/resources/extension-main.js |
index b331e20786d58a9729c8d0e69e4cf3a8feb85d6b..5bd6c2e0b5cffd5a87575315c98718cb53975ef5 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/resources/extension-main.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/resources/extension-main.js |
@@ -12,7 +12,9 @@ function dumpObject(object, nondeterministicProps, prefix, firstLinePrefix) |
prefix = prefix || ""; |
firstLinePrefix = firstLinePrefix || prefix; |
output(firstLinePrefix + "{"); |
- var propertyNames = Object.keys(object); |
+ var propertyNames = []; |
+ for (var property in object) |
+ propertyNames.push(property); |
propertyNames.sort(); |
for (var i = 0; i < propertyNames.length; ++i) { |