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

Side by Side Diff: remoting/webapp/base/js/error_unittest.js

Issue 1133913002: [Chromoting] Move shared webapp JS files from crd/js -> base/js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « remoting/webapp/base/js/error.js ('k') | remoting/webapp/base/js/fallback_signal_strategy.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 (function() { 5 (function() {
6 6
7 'use strict'; 7 'use strict';
8 8
9 QUnit.module('error'); 9 QUnit.module('error');
10 10
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 var reportedError; 103 var reportedError;
104 var onError = function(/** !remoting.Error */ arg) { 104 var onError = function(/** !remoting.Error */ arg) {
105 reportedError = arg; 105 reportedError = arg;
106 }; 106 };
107 var origError = new remoting.Error(remoting.Error.Tag.HOST_IS_OFFLINE); 107 var origError = new remoting.Error(remoting.Error.Tag.HOST_IS_OFFLINE);
108 remoting.Error.handler(onError)(origError); 108 remoting.Error.handler(onError)(origError);
109 assert.equal(reportedError, origError); 109 assert.equal(reportedError, origError);
110 }); 110 });
111 111
112 })(); 112 })();
OLDNEW
« no previous file with comments | « remoting/webapp/base/js/error.js ('k') | remoting/webapp/base/js/fallback_signal_strategy.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698