Index: LayoutTests/fast/dom/custom/isolated-world.html |
diff --git a/LayoutTests/fast/dom/custom/isolated-world.html b/LayoutTests/fast/dom/custom/isolated-world.html |
index 2c0ee3aa5010e103ed576fc5bdb18f1fe5bd82bc..b9f0737535c19111802a043b6695bcd9215b5099 100644 |
--- a/LayoutTests/fast/dom/custom/isolated-world.html |
+++ b/LayoutTests/fast/dom/custom/isolated-world.html |
@@ -28,7 +28,7 @@ result = testRunner.evaluateScriptInIsolatedWorldAndReturnValue( |
' console.log(this.id + " entered (isolated)"); ' + |
' }; ' + |
' try { ' + |
- ' document.register("x-a", {prototype: proto}); ' + |
+ ' document.register("x-a", {extends: "span", prototype: proto}); ' + |
' return "register succeeded"; ' + |
' } catch (e) { ' + |
' return e.code; ' + |
@@ -50,7 +50,7 @@ invocations = []; |
proto.enteredDocumentCallback = function () { |
invocations.push(this.id + ' entered (main)'); |
}; |
-document.register('x-a', {prototype: proto}); |
+document.register('x-a', {extends: 'span', prototype: proto}); |
shouldBe('invocations', '["y entered (main)"]', |
'only the element in the document should generate entered events'); |