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

Side by Side Diff: remoting/webapp/js_proto/qunit_proto.js

Issue 1003433002: Updated remoting.xhr API to use promises. Removed access to the native (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@spy-promise
Patch Set: 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 // This file contains various hacks needed to inform JSCompiler of various 5 // This file contains various hacks needed to inform JSCompiler of various
6 // QUnit-specific properties and methods. It is used only with JSCompiler to 6 // QUnit-specific properties and methods. It is used only with JSCompiler to
7 // verify the type-correctness of our code. 7 // verify the type-correctness of our code.
8 8
9 9
10 /** @type {Object} */ 10 /** @type {Object} */
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 /** 79 /**
80 * @param {string} desc 80 * @param {string} desc
81 * @param {QUnit.ModuleArgs=} opt_args= 81 * @param {QUnit.ModuleArgs=} opt_args=
82 */ 82 */
83 QUnit.module = function(desc, opt_args) {}; 83 QUnit.module = function(desc, opt_args) {};
84 84
85 /** 85 /**
86 * @param {string} desc 86 * @param {string} desc
87 * @param {function(QUnit.Assert)} f 87 * @param {function(QUnit.Assert)} f
88 */ 88 */
89 QUnit.test = function(desc, f) {}; 89 QUnit.test = function(desc, f) {};
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698