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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/obsolete/requirements-for-implementations/other-elements-attributes-and-apis/script-IDL-event-htmlfor.html

Issue 1419013007: update-w3c-deps import using blink 83a52878976eaffc8753993a7689c9c178664fba: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/obsolete/requirements-for-implementations/other-elements-attributes-and-apis/script-IDL-event-htmlfor.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/obsolete/requirements-for-implementations/other-elements-attributes-and-apis/script-IDL-event-htmlfor.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/obsolete/requirements-for-implementations/other-elements-attributes-and-apis/script-IDL-event-htmlfor.html
index 65c2b9a297df7ed2f3d340e3537b9f605d140dda..6631c9a72faaf6fda4d9a86b4a8a7f232ecc1f4a 100644
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/obsolete/requirements-for-implementations/other-elements-attributes-and-apis/script-IDL-event-htmlfor.html
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/obsolete/requirements-for-implementations/other-elements-attributes-and-apis/script-IDL-event-htmlfor.html
@@ -16,8 +16,8 @@ test(function() {
var script = document.createElement("script");
script.setAttribute("event", "blah");
script.setAttribute("for", "blah");
- assert_equals(script.event, "");
- assert_equals(script.htmlFor, "");
+ assert_equals(script.event, "blah");
+ assert_equals(script.htmlFor, "blah");
assert_equals(script.getAttribute("event"), "blah");
assert_equals(script.getAttribute("for"), "blah");
})
@@ -27,10 +27,10 @@ test(function() {
script.setAttribute("for", "blah");
script.event = "foo";
script.htmlFor = "foo";
- assert_equals(script.event, "");
- assert_equals(script.htmlFor, "");
- assert_equals(script.getAttribute("event"), "blah");
- assert_equals(script.getAttribute("for"), "blah");
+ assert_equals(script.event, "foo");
+ assert_equals(script.htmlFor, "foo");
+ assert_equals(script.getAttribute("event"), "foo");
+ assert_equals(script.getAttribute("for"), "foo");
})
test(function() {
var script = document.createElement("script");
@@ -38,10 +38,10 @@ test(function() {
script.setAttribute("for", "blah");
script.event = null;
script.htmlFor = null;
- assert_equals(script.event, "");
- assert_equals(script.htmlFor, "");
- assert_equals(script.getAttribute("event"), "blah");
- assert_equals(script.getAttribute("for"), "blah");
+ assert_equals(script.event, "null");
+ assert_equals(script.htmlFor, "null");
+ assert_equals(script.getAttribute("event"), "null");
+ assert_equals(script.getAttribute("for"), "null");
})
test(function() {
var script = document.createElement("script");
@@ -49,9 +49,9 @@ test(function() {
script.setAttribute("for", "blah");
script.event = undefined;
script.htmlFor = undefined;
- assert_equals(script.event, "");
- assert_equals(script.htmlFor, "");
- assert_equals(script.getAttribute("event"), "blah");
- assert_equals(script.getAttribute("for"), "blah");
+ assert_equals(script.event, "undefined");
+ assert_equals(script.htmlFor, "undefined");
+ assert_equals(script.getAttribute("event"), "undefined");
+ assert_equals(script.getAttribute("for"), "undefined");
})
</script>

Powered by Google App Engine
This is Rietveld 408576698