Update web-platform-tests to revision 86e157b387e63ba586d8ad51d2fcd5690626f5ad

This commit is contained in:
WPT Sync Bot 2018-08-14 21:27:05 -04:00
parent bc82521eb7
commit b642b70974
54 changed files with 728 additions and 480 deletions

View file

@ -604,7 +604,7 @@ test(function() {
test(function() {
var el = document.createElement("div");
var other = document.createElement("div");
attr = document.createAttribute("foo");
var attr = document.createAttribute("foo");
assert_equals(el.setAttributeNode(attr), null);
assert_equals(attr.ownerElement, el);
assert_throws("INUSE_ATTRIBUTE_ERR",
@ -614,7 +614,7 @@ test(function() {
test(function() {
var el = document.createElement("div");
attr = document.createAttribute("foo");
var attr = document.createAttribute("foo");
assert_equals(el.setAttributeNode(attr), null);
el.setAttribute("bar", "qux");
assert_equals(el.setAttributeNode(attr), attr);