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

Unified Diff: sky/tests/custom-elements/lifecycle-created-parser-script.html

Issue 685623002: Move the tests from .html to .sky (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 2 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: sky/tests/custom-elements/lifecycle-created-parser-script.html
diff --git a/sky/tests/custom-elements/lifecycle-created-parser-script.html b/sky/tests/custom-elements/lifecycle-created-parser-script.html
deleted file mode 100644
index 76f04d3ab80a92dae6349547651efcfde02d495f..0000000000000000000000000000000000000000
--- a/sky/tests/custom-elements/lifecycle-created-parser-script.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<html>
-<link rel="import" href="../resources/dump-as-text.html" />
-<link rel="import" href="../resources/chai.html" />
-<body>
-This test ensures that the lifecycle callback of a parser-made element is visible in following script block.
-<script>
-var proto = Object.create(HTMLElement.prototype, { createdCallback: { value: function() { window.callbacksCalled = true; } } });
-document.registerElement("x-foo", { prototype: proto });
-</script>
-<x-foo></x-foo>
-<script>
-assert.ok("window.callbacksCalled");
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698