mirror of
https://github.com/servo/servo.git
synced 2025-09-12 07:58:20 +01:00
Update web-platform-tests to revision 86e157b387e63ba586d8ad51d2fcd5690626f5ad
This commit is contained in:
parent
bc82521eb7
commit
b642b70974
54 changed files with 728 additions and 480 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue