| Index: LayoutTests/fast/dom/custom/processing-stack-recursion.html
|
| diff --git a/LayoutTests/fast/dom/custom/processing-stack-recursion.html b/LayoutTests/fast/dom/custom/processing-stack-recursion.html
|
| index 6cc840f10760aef13a37f24f07d438f22a1ab7dd..27fcf5829225cab35f8e57113a5721fb65c96d04 100644
|
| --- a/LayoutTests/fast/dom/custom/processing-stack-recursion.html
|
| +++ b/LayoutTests/fast/dom/custom/processing-stack-recursion.html
|
| @@ -91,7 +91,7 @@ test(function () {
|
|
|
| var protoA = Object.create(HTMLElement.prototype);
|
| var n = 0;
|
| - protoA.enteredViewCallback = function () {
|
| + protoA.attachedCallback = function () {
|
| log('A entered');
|
| n++;
|
| if (n < 3) {
|
| @@ -100,7 +100,7 @@ test(function () {
|
| unindent();
|
| }
|
| };
|
| - protoA.leftViewCallback = function () {
|
| + protoA.detachedCallback = function () {
|
| log('A left');
|
| indented('A inserting parent node');
|
| document.body.appendChild(this.parentNode);
|
| @@ -109,11 +109,11 @@ test(function () {
|
| protoA.attributeChangedCallback = function (name, oldValue, newValue) {
|
| log('A@' + name + ' ' + oldValue + '->' + newValue);
|
| };
|
| - var A = document.register('x-a', {prototype: protoA});
|
| + var A = document.registerElement('x-a', {prototype: protoA});
|
|
|
| var protoB = Object.create(HTMLElement.prototype);
|
| var m = 0;
|
| - protoB.enteredViewCallback = function () {
|
| + protoB.attachedCallback = function () {
|
| log('B entered');
|
| m++;
|
| if (m == 2) {
|
| @@ -122,7 +122,7 @@ test(function () {
|
| unindent();
|
| }
|
| };
|
| - protoB.leftViewCallback = function () {
|
| + protoB.detachedCallback = function () {
|
| log('B left');
|
| };
|
| protoB.attributeChangedCallback = function (name, oldValue, newValue) {
|
| @@ -131,13 +131,13 @@ test(function () {
|
| this.parentNode.querySelector('x-a').setAttribute('by', 'b');
|
| unindent();
|
| };
|
| - var B = document.register('x-b', {prototype: protoB});
|
| + var B = document.registerElement('x-b', {prototype: protoB});
|
|
|
| var protoC = Object.create(HTMLElement.prototype);
|
| - protoC.enteredViewCallback = function () {
|
| + protoC.attachedCallback = function () {
|
| log('C entered');
|
| };
|
| - protoC.leftViewCallback = function () {
|
| + protoC.detachedCallback = function () {
|
| log('C left');
|
| };
|
| protoC.attributeChangedCallback = function (name, oldValue, newValue) {
|
| @@ -146,7 +146,7 @@ test(function () {
|
| this.parentNode.querySelector('x-b').setAttribute('by', 'c');
|
| unindent();
|
| };
|
| - var C = document.register('x-c', {prototype: protoC});
|
| + var C = document.registerElement('x-c', {prototype: protoC});
|
|
|
| var div = document.createElement('div');
|
| div.innerHTML = '<div><x-a></x-a><x-b></x-b><x-c></x-c></div>';
|
|
|