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

Side by Side Diff: chrome/browser/resources/chromeos/login/md_login_shared.js

Issue 2909503003: WebUI: Enable ESLint rule for missing semicolons. (Closed)
Patch Set: Undo local_ntp changes from this CL. Created 3 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 /** 5 /**
6 * @fileoverview Common OOBE controller methods. This method is shared between 6 * @fileoverview Common OOBE controller methods. This method is shared between
7 * OOBE, login, and the lock screen. Add only methods that need to be shared 7 * OOBE, login, and the lock screen. Add only methods that need to be shared
8 * between all *three* screens here, as each additional method increases the 8 * between all *three* screens here, as each additional method increases the
9 * time it takes to show the lock screen. 9 * time it takes to show the lock screen.
10 * 10 *
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 // be called then. However, checking it here now causes bots failures 467 // be called then. However, checking it here now causes bots failures
468 // unfortunately. So, as a short term workaround, here set 468 // unfortunately. So, as a short term workaround, here set
469 // readyForTesting even on failures, just to make test bots happy. 469 // readyForTesting even on failures, just to make test bots happy.
470 Oobe.readyForTesting = true; 470 Oobe.readyForTesting = true;
471 } 471 }
472 }); 472 });
473 473
474 // Install a global error handler so stack traces are included in logs. 474 // Install a global error handler so stack traces are included in logs.
475 window.onerror = function(message, file, line, column, error) { 475 window.onerror = function(message, file, line, column, error) {
476 console.error(error.stack); 476 console.error(error.stack);
477 } 477 };
478 })(); 478 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698