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

Side by Side Diff: sky/tests/inspector/dom-mutation.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="/sky/framework/inspector/dom-agent.sky" as="DOMAgent" / > 3 <import src="/sky/framework/inspector/dom-agent.sky" as="DOMAgent" />
4 <div><div></div></div> 4 <div><div></div></div>
5 <script> 5 <script>
6 // setTimeout to flush pending DOM modifications and measure 6 // setTimeout to flush pending DOM modifications and measure
7 // only the changes we want to. 7 // only the changes we want to.
8 var expectedMessages = [ 8 var expectedMessages = [
9 'DOM.childNodeRemoved', 9 'DOM.childNodeRemoved',
10 'DOM.childNodeInserted', 10 'DOM.childNodeInserted',
11 ]; 11 ];
12 var actualMessages = []; 12 var actualMessages = [];
13 13
(...skipping 13 matching lines...) Expand all
27 container.appendChild(document.createElement('adding')); 27 container.appendChild(document.createElement('adding'));
28 28
29 setTimeout(function() { 29 setTimeout(function() {
30 assert.equal(JSON.stringify(expectedMessages), 30 assert.equal(JSON.stringify(expectedMessages),
31 JSON.stringify(actualMessages)); 31 JSON.stringify(actualMessages));
32 internals.notifyTestComplete("Done!"); 32 internals.notifyTestComplete("Done!");
33 }); 33 });
34 }); 34 });
35 </script> 35 </script>
36 </html> 36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698