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

Unified Diff: LayoutTests/fast/dom/custom/frameElement-crash.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/frameElement-crash.html
diff --git a/LayoutTests/fast/dom/custom/frameElement-crash.html b/LayoutTests/fast/dom/custom/frameElement-crash.html
index a819e2541fa0ed78faaefffb4a04d05bc3591443..e24bf0f2e17e3247a2b03c75d9b3b994f63c8af2 100644
--- a/LayoutTests/fast/dom/custom/frameElement-crash.html
+++ b/LayoutTests/fast/dom/custom/frameElement-crash.html
@@ -14,7 +14,7 @@ window.jsTestIsAsync = true;
description('Test that accessing window.frameElement from a custom iframe does not crash.');
var proto = Object.create(HTMLIFrameElement.prototype);
-document.register('x-iframe', {prototype: proto, extends: 'iframe'});
+document.registerElement('x-iframe', {prototype: proto, extends: 'iframe'});
</script>
<iframe onload="test();" is="x-iframe" srcdoc="
<script>
« no previous file with comments | « LayoutTests/fast/dom/custom/entered-left-document.html ('k') | LayoutTests/fast/dom/custom/isolated-world.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698