| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright 2014 The Chromium Authors. All rights reserved. | 2 Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. | 4 found in the LICENSE file. |
| 5 --> | 5 --> |
| 6 | 6 |
| 7 <script> | 7 <script> |
| 8 // TODO: Move sheriff-o-matic to this repository and merge the | 8 // TODO: Move sheriff-o-matic to this repository and merge the |
| 9 // network-simulator library. | 9 // network-simulator library. |
| 10 | 10 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 return self.resolvePromises().then(function() { | 76 return self.resolvePromises().then(function() { |
| 77 reset(); | 77 reset(); |
| 78 self._assert(window.net == realNet); | 78 self._assert(window.net == realNet); |
| 79 }).catch(function(e) { | 79 }).catch(function(e) { |
| 80 reset(); | 80 reset(); |
| 81 self._assert(false, "Failed to finish test:" + e); | 81 self._assert(false, "Failed to finish test:" + e); |
| 82 }) | 82 }) |
| 83 }).then(this._done, this._done); | 83 }).then(this._done, this._done); |
| 84 }; | 84 }; |
| 85 </script> | 85 </script> |
| OLD | NEW |