summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/chromeos/login/test_util.js
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/browser/resources/chromeos/login/test_util.js')
-rw-r--r--chromium/chrome/browser/resources/chromeos/login/test_util.js28
1 files changed, 0 insertions, 28 deletions
diff --git a/chromium/chrome/browser/resources/chromeos/login/test_util.js b/chromium/chrome/browser/resources/chromeos/login/test_util.js
deleted file mode 100644
index 5a0399ef236..00000000000
--- a/chromium/chrome/browser/resources/chromeos/login/test_util.js
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-cr.define('cr', function() {
- function ErrorStore() {
- var self = this;
- window.addEventListener('error', function(e) {
- self.store_.push(e);
- });
- }
-
- cr.addSingletonGetter(ErrorStore);
-
- ErrorStore.prototype = {
- store_: [],
-
- get length() {
- return this.store_.length;
- },
- };
-
- return {
- ErrorStore: ErrorStore,
- };
-});
-
-cr.ErrorStore.getInstance();