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

Unified Diff: LayoutTests/fast/dom/ping-attribute-dom-binding.html

Issue 58493002: Remove TreatNullAs=NullString for HTMLAnchorElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix tests Created 7 years, 1 month 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/ping-attribute-dom-binding.html
diff --git a/LayoutTests/fast/dom/ping-attribute-dom-binding.html b/LayoutTests/fast/dom/ping-attribute-dom-binding.html
index c627ba0aae7dbb8ef5ed7cf5990119b44fc56f84..2e913482d065e3fff8ecb18d30be636622ac517c 100644
--- a/LayoutTests/fast/dom/ping-attribute-dom-binding.html
+++ b/LayoutTests/fast/dom/ping-attribute-dom-binding.html
@@ -15,8 +15,8 @@ shouldBeEqualToString('anchor.ping', 'p1');
anchor.ping = 'p2';
shouldBeEqualToString('anchor.getAttribute("ping")', 'p2');
anchor.ping = null;
-shouldBeFalse('anchor.hasAttribute("ping")');
-shouldBeEqualToString('anchor.ping', '');
+shouldBeEqualToString('anchor.getAttribute("ping")', 'null');
+shouldBeEqualToString('anchor.ping', 'null');
var area = document.createElement('area');
shouldBeEqualToString('area.ping', '');

Powered by Google App Engine
This is Rietveld 408576698