Index: LayoutTests/fast/dom/Window/resources/window-property-collector.js |
diff --git a/LayoutTests/fast/dom/Window/resources/window-property-collector.js b/LayoutTests/fast/dom/Window/resources/window-property-collector.js |
index 3b07a4e1220fa525e4b25ad4b6380695aa31c0c0..42f915549be90be1a19c9f22ede6d51ec8d844e8 100644 |
--- a/LayoutTests/fast/dom/Window/resources/window-property-collector.js |
+++ b/LayoutTests/fast/dom/Window/resources/window-property-collector.js |
@@ -62,7 +62,13 @@ function collectPropertiesHelper(object, path) |
{ |
if (path.length > 20) |
throw 'Error: probably looping'; |
+ |
for (var property in object) { |
+ // Skip the properties which are hard to expect a stable result. |
+ // As for 'accessibilityController', we can hardly estimate the states |
+ // of the cached WebAXObjects. |
+ if (property == 'accessibilityController') |
+ continue; |
if (!object[property]) |
continue; |
path.push(property); |
@@ -85,4 +91,3 @@ function collectPropertiesHelper(object, path) |
path.pop(); |
} |
} |
- |