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

Unified Diff: LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-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-style-item.js
diff --git a/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-style-item.js b/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-style-item.js
index 34267a2293c6df7a1f4746f21b94d18efc891d83..29b3784139a2633c75b4e0879e7bd846f66cb74f 100644
--- a/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-style-item.js
+++ b/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-style-item.js
@@ -7,7 +7,7 @@ var style = element.style;
shouldEvaluateTo('style.length', 1);
shouldBeEqualToString('style[0]', 'color');
-shouldBeUndefined('style[1]');
+shouldBeEqualToString('style[1]', '');
shouldBeUndefined('style[-1]')
document.documentElement.removeChild(element);

Powered by Google App Engine
This is Rietveld 408576698