Chromium Code Reviews

Unified Diff: LayoutTests/fast/dom/Attr/script-tests/access-after-element-destruction.js

Issue 746433002: Revive tests for Attr.ownerElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « LayoutTests/fast/dom/Attr/access-after-element-destruction-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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';
« no previous file with comments | « LayoutTests/fast/dom/Attr/access-after-element-destruction-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine