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

Unified Diff: sky/tests/custom-elements/constructor-calls-created-synchronously.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
« no previous file with comments | « sky/tests/TestExpectations ('k') | sky/tests/custom-elements/constructor-calls-created-synchronously.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/custom-elements/constructor-calls-created-synchronously.html
diff --git a/sky/tests/custom-elements/constructor-calls-created-synchronously.html b/sky/tests/custom-elements/constructor-calls-created-synchronously.html
deleted file mode 100644
index 067ada414354e84d226c1f6905db8b5f969e8827..0000000000000000000000000000000000000000
--- a/sky/tests/custom-elements/constructor-calls-created-synchronously.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<html>
-<link rel="import" href="../resources/chai.html" />
-<link rel="import" href="../resources/mocha.html" />
-<body>
-<div id="container"></div>
-<script>
-describe('Custom element constructors', function() {
- it('should run the createdCallback synchronously', function() {
- var proto = Object.create(HTMLElement.prototype);
- var ncallbacks = 0;
- proto.createdCallback = function () {
- ncallbacks++;
- };
- var A = document.registerElement('x-a', {prototype: proto});
- var x = new A();
- assert.equal(ncallbacks, 1);
- });
-});
-</script>
-</body>
-</html>
« no previous file with comments | « sky/tests/TestExpectations ('k') | sky/tests/custom-elements/constructor-calls-created-synchronously.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698