Chromium Code Reviews| 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..35dda709a9c9b455d8683d1a5c6d334c7afbae82 100644 |
| --- a/LayoutTests/fast/dom/Window/resources/window-property-collector.js |
| +++ b/LayoutTests/fast/dom/Window/resources/window-property-collector.js |
| @@ -62,7 +62,11 @@ 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. |
|
haraken
2014/03/05 05:49:26
Let's mention why this is unstable.
hajimehoshi
2014/03/05 05:53:56
Done.
|
| + if (property == 'accessibilityController') |
| + continue; |
| if (!object[property]) |
| continue; |
| path.push(property); |
| @@ -85,4 +89,3 @@ function collectPropertiesHelper(object, path) |
| path.pop(); |
| } |
| } |
| - |