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

Unified Diff: LayoutTests/fast/dom/custom/isolated-world.html

Issue 23717043: Implement Custom Elements 'extends' option. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 months 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/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');
« no previous file with comments | « LayoutTests/fast/dom/custom/element-upgrade.html ('k') | LayoutTests/fast/dom/custom/lifecycle-created-creation-api.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698