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

Side by Side Diff: sky/tests/custom-elements/lifecycle-created-parser-script.sky

Issue 920343002: Delete Sky tests that we're not going to run with Dart (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 <html>
2 <import src="../resources/dump-as-text.sky" />
3 <import src="../resources/chai.sky" />
4 <body>
5 This test ensures that the lifecycle callback of a parser-made element is visibl e in following script block.
6 <script>
7 var proto = Object.create(HTMLElement.prototype, { createdCallback: { value: fun ction() { window.callbacksCalled = true; } } });
8 document.registerElement("x-foo", { prototype: proto });
9 </script>
10 <x-foo></x-foo>
11 <script>
12 assert.ok("window.callbacksCalled");
13 </script>
14 </body>
15 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698