| Index: LayoutTests/fast/dom/custom/lifecycle-created-paste.html
|
| diff --git a/LayoutTests/fast/dom/custom/lifecycle-created-paste.html b/LayoutTests/fast/dom/custom/lifecycle-created-paste.html
|
| index 7fefed97fe30cb640f1308eac0dbba9f0e4f5eef..d26706f891d2c7b7b16d8cb7d3cb2caa1b176ae3 100644
|
| --- a/LayoutTests/fast/dom/custom/lifecycle-created-paste.html
|
| +++ b/LayoutTests/fast/dom/custom/lifecycle-created-paste.html
|
| @@ -5,8 +5,8 @@
|
| <script>
|
| description("This test ensures that the lifecycle callbacks of editing-originated elements are visible in following script block.")
|
| window.callbacksCalled = [];
|
| -document.register("x-foo", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: function() { window.callbacksCalled.push(this.tagName); } } }) });
|
| -document.register("x-bar", { extends: "div", prototype: Object.create(HTMLDivElement.prototype, { createdCallback: { value: function() { window.callbacksCalled.push(this.tagName); } } }) });
|
| +document.registerElement("x-foo", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: function() { window.callbacksCalled.push(this.tagName); } } }) });
|
| +document.registerElement("x-bar", { extends: "div", prototype: Object.create(HTMLDivElement.prototype, { createdCallback: { value: function() { window.callbacksCalled.push(this.tagName); } } }) });
|
| </script>
|
| </head>
|
| <body>
|
|
|