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

Side by Side Diff: sky/tests/mutation-observer/takeRecords.sky

Issue 694423002: Replace <link rel="import"> with <import> (Closed) Base URL: git@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.sky" /> 2 <import src="../resources/chai.sky" />
3 <link rel="import" href="../resources/mocha.sky" /> 3 <import src="../resources/mocha.sky" />
4 <script> 4 <script>
5 describe('MutationObserver.takeRecords', function() { 5 describe('MutationObserver.takeRecords', function() {
6 it('should allow taking records synchronously or getting a notification', func tion(done) { 6 it('should allow taking records synchronously or getting a notification', func tion(done) {
7 var mutations; 7 var mutations;
8 var div; 8 var div;
9 var subDiv; 9 var subDiv;
10 var observer; 10 var observer;
11 11
12 // Testing takeRecords. 12 // Testing takeRecords.
13 mutations = null; 13 mutations = null;
(...skipping 30 matching lines...) Expand all
44 assert.equal(mutations[0].target, subDiv); 44 assert.equal(mutations[0].target, subDiv);
45 assert.equal(mutations[0].attributeName, "foo"); 45 assert.equal(mutations[0].attributeName, "foo");
46 observer.disconnect(); 46 observer.disconnect();
47 47
48 done(); 48 done();
49 }, 0); 49 }, 0);
50 }); 50 });
51 }); 51 });
52 </script> 52 </script>
53 </html> 53 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698