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

Side by Side Diff: sky/tests/inspector/page-agent-get-resource-tree.sky

Issue 881093003: Normalize import paths for Sky modules (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
1 <html> 1 <html>
2 <import src="/sky/tests/resources/chai.sky" /> 2 <import src="../resources/chai.sky" />
3 <import src="/sky/tests/resources/mocha.sky" /> 3 <import src="../resources/mocha.sky" />
4 <import src="/sky/framework/inspector/page-agent.sky" as="PageAgent" /> 4 <import src="/sky/framework/inspector/page-agent.sky" as="PageAgent" />
5 <img src='does_not_exist.jpg' /> 5 <img src='does_not_exist.jpg' />
6 <script> 6 <script>
7 describe('PageAgent.getResourceTree', function() { 7 describe('PageAgent.getResourceTree', function() {
8 it('should dump the current resource tree', function() { 8 it('should dump the current resource tree', function() {
9 var pageAgent = new PageAgent(); 9 var pageAgent = new PageAgent();
10 pageAgent.enable(); 10 pageAgent.enable();
11 var resourceTree = pageAgent.getResourceTree(); 11 var resourceTree = pageAgent.getResourceTree();
12 assert.deepEqual(resourceTree, { 12 assert.deepEqual(resourceTree, {
13 "frameTree": { 13 "frameTree": {
(...skipping 20 matching lines...) Expand all
34 "url": "http://127.0.0.1:8000/sky/tests/inspector/does_not_exist.jpg", 34 "url": "http://127.0.0.1:8000/sky/tests/inspector/does_not_exist.jpg",
35 "type": "Image", 35 "type": "Image",
36 "mimeType": "image/unknown" 36 "mimeType": "image/unknown"
37 }] 37 }]
38 } 38 }
39 }); 39 });
40 }); 40 });
41 }); 41 });
42 </script> 42 </script>
43 </html> 43 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698