Index: LayoutTests/fast/dom/Attr/script-tests/access-after-element-destruction.js |
diff --git a/LayoutTests/fast/dom/Attr/script-tests/access-after-element-destruction.js b/LayoutTests/fast/dom/Attr/script-tests/access-after-element-destruction.js |
index d36a03ff40925a317fad33432106fbcefcfe6626..dd14eedff35b5a59c1353fcb13dd480330d0793c 100644 |
--- a/LayoutTests/fast/dom/Attr/script-tests/access-after-element-destruction.js |
+++ b/LayoutTests/fast/dom/Attr/script-tests/access-after-element-destruction.js |
@@ -15,6 +15,7 @@ asyncGC(function() { |
shouldBe("attributes.item(0).name", "'a'"); |
shouldBe("attributes.item(0).value", "'b'"); |
+ shouldBe("attributes.item(0).ownerElement.tagName", "'P'"); |
attributes.item(0).value = 'c'; |
@@ -33,6 +34,7 @@ asyncGC(function() { |
shouldBe("attr.name", "'a'"); |
shouldBe("attr.value", "'b'"); |
+ shouldBe("attr.ownerElement.tagName", "'P'"); |
attr.value = 'c'; |