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

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

Issue 2341723002: binding: Indexed property returns undefined if out-of-range. (Closed)
Patch Set: Updated layout test expectations. Created 4 years, 3 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: third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-computed-style-item.js
diff --git a/third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-computed-style-item.js b/third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-computed-style-item.js
index 9a0b14561fbdb985e5b29a8062c1aae9c3d25b91..6f3e7593300e7e156d557e927672918f2db95470 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-computed-style-item.js
+++ b/third_party/WebKit/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');
-shouldBeEqualToString('computedStyle[computedStyle.length]', '');
+shouldBeUndefined('computedStyle[computedStyle.length]', '');
shouldBeUndefined('computedStyle[-1]')
document.documentElement.removeChild(element);

Powered by Google App Engine
This is Rietveld 408576698