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 95eea472e1964b3eabfe90b787fc25e11aa39699..851be730d90232b411e321e1f45e39a58fd7e4fc 100644 |
--- a/LayoutTests/fast/dom/custom/lifecycle-created-paste.html |
+++ b/LayoutTests/fast/dom/custom/lifecycle-created-paste.html |
@@ -6,7 +6,7 @@ |
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", { prototype: Object.create(HTMLDivElement.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); } } }) }); |
</script> |
</head> |
<body> |