| OLD | NEW | 
|---|
| 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 <link rel="import" href="/mojo/public/sky/core.sky" as="core" /> | 4 <import src="/mojo/public/sky/core.sky" as="core" /> | 
| 5 <link rel="import" href="/mojo/public/sky/connection.sky" as="connection" /> | 5 <import src="/mojo/public/sky/connection.sky" as="connection" /> | 
| 6 <link rel="import" href="/mojo/services/public/interfaces/network/network_servic
    e.mojom.sky" as="net" /> | 6 <import src="/mojo/services/public/interfaces/network/network_service.mojom.sky"
     as="net" /> | 
| 7 <link rel="import" href="/mojo/services/public/interfaces/network/url_loader.moj
    om.sky" as="loader" /> | 7 <import src="/mojo/services/public/interfaces/network/url_loader.mojom.sky" as="
    loader" /> | 
| 8 <script> | 8 <script> | 
| 9 describe('Mojo network_service', function() { | 9 describe('Mojo network_service', function() { | 
| 10   this.enableTimeouts(false); | 10   this.enableTimeouts(false); | 
| 11 | 11 | 
| 12   it('should be able to fetch text files', function(done) { | 12   it('should be able to fetch text files', function(done) { | 
| 13     var netServiceHandle = internals.connectToService( | 13     var netServiceHandle = internals.connectToService( | 
| 14         "mojo://network_service/", "mojo::NetworkService"); | 14         "mojo://network_service/", "mojo::NetworkService"); | 
| 15     var netConnection = new connection.Connection( | 15     var netConnection = new connection.Connection( | 
| 16         netServiceHandle, | 16         netServiceHandle, | 
| 17         net.NetworkService.stubClass, | 17         net.NetworkService.stubClass, | 
| (...skipping 22 matching lines...) Expand all  Loading... | 
| 40         done(); | 40         done(); | 
| 41       }); | 41       }); | 
| 42     }).catch(function() { | 42     }).catch(function() { | 
| 43       assert.ok(false, "start failed"); | 43       assert.ok(false, "start failed"); | 
| 44       done(); | 44       done(); | 
| 45     }); | 45     }); | 
| 46   }); | 46   }); | 
| 47 }); | 47 }); | 
| 48 </script> | 48 </script> | 
| 49 </html> | 49 </html> | 
| OLD | NEW | 
|---|