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

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

Issue 840023004: Implement mocks for identity and host-list, add a browser test to test the app in various failure m… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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/crd/js/oauth2_api_impl.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // WebKit- and Chrome-specific properties and methods. It is used only with 6 // WebKit- and Chrome-specific properties and methods. It is used only with
7 // JSCompiler to verify the type-correctness of our code. 7 // JSCompiler to verify the type-correctness of our code.
8 8
9 /** @type {HTMLElement} */ 9 /** @type {HTMLElement} */
10 Document.prototype.activeElement; 10 Document.prototype.activeElement;
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 screenX, screenY, clientX, clientY, 276 screenX, screenY, clientX, clientY,
277 ctrlKey, altKey, shiftKey, metaKey, 277 ctrlKey, altKey, shiftKey, metaKey,
278 button, relatedTarget) {}; 278 button, relatedTarget) {};
279 279
280 /** 280 /**
281 * @param {number} begin 281 * @param {number} begin
282 * @param {number=} end 282 * @param {number=} end
283 * @return {ArrayBuffer} 283 * @return {ArrayBuffer}
284 */ 284 */
285 ArrayBuffer.prototype.slice = function(begin, end) {}; 285 ArrayBuffer.prototype.slice = function(begin, end) {};
286
287 /**
288 * @return {string}
289 */
290 Date.prototype.toISOString = function() {};
OLDNEW
« no previous file with comments | « remoting/webapp/crd/js/oauth2_api_impl.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698