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> |