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

Side by Side Diff: remoting/webapp/unittests/xhr_unittest.js

Issue 959963002: [Chromoting] Enable jscompile for webapp unittests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix key tester Created 5 years, 9 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 // 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 /**
6 * @fileoverview
7 * @suppress {checkTypes|checkVars|reportUnknownTypes}
8 */
9
5 (function() { 10 (function() {
6 11
7 'use strict'; 12 'use strict';
8 13
9 module('xhr', { 14 module('xhr', {
10 setup: function() { 15 setup: function() {
11 }, 16 },
12 teardown: function() { 17 teardown: function() {
13 } 18 }
14 }); 19 });
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 225
221 var request = remoting.xhr.start({ 226 var request = remoting.xhr.start({
222 method: 'POST', 227 method: 'POST',
223 url: 'http://foo.com', 228 url: 'http://foo.com',
224 onDone: remoting.xhr.defaultResponse(onDone, onError) 229 onDone: remoting.xhr.defaultResponse(onDone, onError)
225 }); 230 });
226 request.respond(404); 231 request.respond(404);
227 }); 232 });
228 233
229 })(); 234 })();
OLDNEW
« no previous file with comments | « remoting/webapp/unittests/test_start.js ('k') | remoting/webapp/unittests/xmpp_connection_unittest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698