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> |