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

Side by Side Diff: sky/tests/mutation-observer/observe-attributes.sky

Issue 685623002: Move the tests from .html to .sky (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
1 <html> 1 <html>
2 <link rel="import" href="../resources/chai.html" /> 2 <link rel="import" href="../resources/chai.sky" />
3 <link rel="import" href="../resources/mocha.html" /> 3 <link rel="import" href="../resources/mocha.sky" />
4 <script> 4 <script>
5 describe('MutationObserver.observe on attributes', function() { 5 describe('MutationObserver.observe on attributes', function() {
6 it('should handle basic aspects of attribute observation', function(done) { 6 it('should handle basic aspects of attribute observation', function(done) {
7 var div; 7 var div;
8 var observer; 8 var observer;
9 var mutations; 9 var mutations;
10 10
11 function start() { 11 function start() {
12 div = document.createElement('div'); 12 div = document.createElement('div');
13 div.setAttribute('bar', 'foo'); 13 div.setAttribute('bar', 'foo');
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 observer.disconnect(); 592 observer.disconnect();
593 done(); 593 done();
594 } 594 }
595 595
596 start(); 596 start();
597 }); 597 });
598 }); 598 });
599 </script> 599 </script>
600 </body> 600 </body>
601 </html> 601 </html>
OLDNEW
« no previous file with comments | « sky/tests/mutation-observer/observe-attributes.html ('k') | sky/tests/mutation-observer/observe-characterdata.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698