Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(699)

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

Issue 124643003: Remove Attr.isId and Attr.ownerElement. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Bump unused use counter slot number due to conflict. Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 b120d26ef36d5f4b166a88f3f39f7d388cb1742e..6dc85c773c7c8b2a978bf3c24cce7d3b879855f2 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
@@ -23,7 +23,6 @@ shouldBe("attributes.getNamedItem('a')", "attributes.item(0)");
shouldBe("attributes.item(0).name", "'a'");
shouldBe("attributes.item(0).value", "'b'");
-shouldBe("attributes.item(0).ownerElement.tagName", "'P'");
attributes.item(0).value = 'c';
@@ -42,7 +41,6 @@ gc();
shouldBe("attr.name", "'a'");
shouldBe("attr.value", "'b'");
-shouldBe("attr.ownerElement.tagName", "'P'");
attr.value = 'c';

Powered by Google App Engine
This is Rietveld 408576698