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

Unified Diff: LayoutTests/webexposed/internal-properties-should-not-be-exposed.html

Issue 1274643002: CSSStyleDeclaraction returns empty string (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed changes from imported/csswg-test Created 5 years, 4 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/webexposed/internal-properties-should-not-be-exposed.html
diff --git a/LayoutTests/webexposed/internal-properties-should-not-be-exposed.html b/LayoutTests/webexposed/internal-properties-should-not-be-exposed.html
index a63b02c4f68d75987210843de1ab88bdeba4289a..c539ddb0a851ad5e1f9105afcd5395dc875200c4 100644
--- a/LayoutTests/webexposed/internal-properties-should-not-be-exposed.html
+++ b/LayoutTests/webexposed/internal-properties-should-not-be-exposed.html
@@ -13,8 +13,8 @@ for (var property in internalProperties) {
debug("Testing " + property);
element = document.createElement("foo");
document.body.appendChild(element);
- shouldBeNull("window.getComputedStyle(element).getPropertyValue(property)")
- shouldBeUndefined("element.style[property]")
+ shouldBeEqualToString("window.getComputedStyle(element).getPropertyValue(property)", "");
+ shouldBeUndefined("element.style[property]");
debug("Value after setting " + property + " to " + internalProperties[property]);
element.style.setProperty(property, internalProperties[property]);

Powered by Google App Engine
This is Rietveld 408576698