Index: LayoutTests/fast/dom/custom/entered-left-document.html |
diff --git a/LayoutTests/fast/dom/custom/entered-left-document.html b/LayoutTests/fast/dom/custom/entered-left-document.html |
index dc13fce72a759c2ccde93ea99e4b2e35df31fbc7..362661ad84f82327ef9c88968c81a091ac5573e5 100644 |
--- a/LayoutTests/fast/dom/custom/entered-left-document.html |
+++ b/LayoutTests/fast/dom/custom/entered-left-document.html |
@@ -21,12 +21,12 @@ withFrame(t.step_func(function (frame) { |
var proto = Object.create(frame.contentWindow.HTMLElement.prototype); |
proto.createdCallback = log('created'); |
proto.attributeChangedCallback = log('attribute changed'); |
- proto.enteredViewCallback = log('entered'); |
- proto.leftViewCallback = log('left'); |
+ proto.attachedCallback = log('entered'); |
+ proto.detachedCallback = log('left'); |
// Created, owned by a document without a view |
- var A = docB.register('x-a', {prototype: proto}); |
+ var A = docB.registerElement('x-a', {prototype: proto}); |
var a = new A(); |
assert_equals(a.ownerDocument, docB, |
'new instance should be owned by the document the ' + |