Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Unified Diff: LayoutTests/fast/dom/Window/resources/window-property-collector.js

Issue 184233004: Skip 'accessibilityController' property in the cached properties test (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: haraken's review Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
}
-
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698