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

Unified Diff: LayoutTests/fast/dom/custom/registration-context-delete-during-callback-recursion.html

Issue 23009004: Process Custom Elements in post-order. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing. Created 7 years, 4 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/custom/registration-context-delete-during-callback-recursion.html
diff --git a/LayoutTests/fast/dom/custom/registration-context-delete-during-callback-recursion.html b/LayoutTests/fast/dom/custom/registration-context-delete-during-callback-recursion.html
index 356855884645d45f653344700098e928666b30d9..d25464553fc9cdd3a42872a78bcbcd3397d72a8b 100644
--- a/LayoutTests/fast/dom/custom/registration-context-delete-during-callback-recursion.html
+++ b/LayoutTests/fast/dom/custom/registration-context-delete-during-callback-recursion.html
@@ -17,11 +17,11 @@ if (fork()) {
var proto = Object.create(HTMLElement.prototype);
proto.createdCallback = function () {
if (n++ == 2)
- this.nextSibling.setAttribute('tick', '...');
+ this.previousSibling.setAttribute('tick', '...');
};
proto.attributeChangedCallback = function (name) {
if (name == 'tick')
- this.nextSibling.setAttribute('boom', 'tsk');
+ this.previousSibling.setAttribute('boom', 'tsk');
if (name == 'boom')
destroyContext();
};

Powered by Google App Engine
This is Rietveld 408576698