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

Unified Diff: chrome/browser/resources/chromeos/chromevox/walkers/walker_unittest_base.js

Issue 1472763002: Workaround dependency on closure library in chromevox test utility. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/chromevox/walkers/walker_unittest_base.js
diff --git a/chrome/browser/resources/chromeos/chromevox/walkers/walker_unittest_base.js b/chrome/browser/resources/chromeos/chromevox/walkers/walker_unittest_base.js
index b58b152f2e733154b5d516dc335618700523d164..7cb837fc6ed0a976abfc5ffdb59f3c86e3c94c2f 100644
--- a/chrome/browser/resources/chromeos/chromevox/walkers/walker_unittest_base.js
+++ b/chrome/browser/resources/chromeos/chromevox/walkers/walker_unittest_base.js
@@ -39,7 +39,11 @@ CvoxWalkerUnitTestBase.prototype = {
* Returns a new walker appropriate for the child test.
* @return {!cvox.AbstractWalker} The walker instance.
*/
- newWalker: goog.abstractMethod,
+ // Closure library is not available when this literal is evaluated, so
+ // we can't use goog.abstractMethod here.
+ newWalker: function() {
+ throw Error('newWalker not implemented.');
+ },
/**
* Makes testing much less verbose. Executes the command on the
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698