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

Unified Diff: LayoutTests/fast/dom/custom/entered-left-document.html

Issue 117313008: Update Custom Elements API to new names. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update for forgotten tests. Created 7 years 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/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 ' +
« no previous file with comments | « LayoutTests/fast/dom/custom/element-upgrade.html ('k') | LayoutTests/fast/dom/custom/frameElement-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698