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

Unified Diff: LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-computed-style-item.js

Issue 13933014: Gen index getter by unified way instead of using several helper function in some special cases. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: removed debug printf Created 7 years, 8 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
Index: LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-computed-style-item.js
diff --git a/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-computed-style-item.js b/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-computed-style-item.js
index ef3ed8fcb1412de3b9abc28a60b3655da956d89d..9a0b14561fbdb985e5b29a8062c1aae9c3d25b91 100644
--- a/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-computed-style-item.js
+++ b/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-computed-style-item.js
@@ -6,7 +6,7 @@ document.documentElement.appendChild(element);
var computedStyle = window.getComputedStyle(element, null);
shouldBeEqualToString('typeof computedStyle.length', 'number');
-shouldBeUndefined('computedStyle[computedStyle.length]');
+shouldBeEqualToString('computedStyle[computedStyle.length]', '');
shouldBeUndefined('computedStyle[-1]')
document.documentElement.removeChild(element);

Powered by Google App Engine
This is Rietveld 408576698