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

Side by Side Diff: sky/tests/mutation-observer/observe-subtree.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <link rel="import" href="../resources/chai.sky" /> 3 <import src="../resources/chai.sky" />
4 <link rel="import" href="../resources/mocha.sky" /> 4 <import src="../resources/mocha.sky" />
5 <script> 5 <script>
6 describe('MutationObserver.observe on a subtree', function() { 6 describe('MutationObserver.observe on a subtree', function() {
7 it('should handle basic aspects of subtree observation', function(done) { 7 it('should handle basic aspects of subtree observation', function(done) {
8 var observer; 8 var observer;
9 var subDiv; 9 var subDiv;
10 var mutations; 10 var mutations;
11 11
12 function start() { 12 function start() {
13 var div = document.createElement('div'); 13 var div = document.createElement('div');
14 subDiv = div.appendChild(document.createElement('div')); 14 subDiv = div.appendChild(document.createElement('div'));
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 assert.equal(mutations[5].attributeName, "g"); 258 assert.equal(mutations[5].attributeName, "g");
259 259
260 observer.disconnect(); 260 observer.disconnect();
261 done(); 261 done();
262 } 262 }
263 start(); 263 start();
264 }); 264 });
265 }); 265 });
266 </script> 266 </script>
267 </html> 267 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698