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

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: 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..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();
}
}
-
« 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