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

Side by Side Diff: chrome/browser/ui/webui/options/edit_dictionary_browsertest.js

Issue 255503006: webui: remove the precendent for silly, invalid end of jsdoc comments, e.g. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: whoops Created 6 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 | Annotate | Revision Log
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 /** 5 /**
6 * TestFixture for EditDictionaryOverlay WebUI testing. 6 * TestFixture for EditDictionaryOverlay WebUI testing.
7 * @extends {testing.Test} 7 * @extends {testing.Test}
8 * @constructor 8 * @constructor
9 **/ 9 */
10 function EditDictionaryWebUITest() {} 10 function EditDictionaryWebUITest() {}
11 11
12 EditDictionaryWebUITest.prototype = { 12 EditDictionaryWebUITest.prototype = {
13 __proto__: testing.Test.prototype, 13 __proto__: testing.Test.prototype,
14 14
15 /** 15 /**
16 * Browse to the edit dictionary page & call our preLoad(). 16 * Browse to the edit dictionary page & call our preLoad().
17 */ 17 */
18 browsePreload: 'chrome://settings-frame/editDictionary', 18 browsePreload: 'chrome://settings-frame/editDictionary',
19 19
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 // Backend notifies UI that the word 'baz' has been removed. UI ignores this 127 // Backend notifies UI that the word 'baz' has been removed. UI ignores this
128 // notification. 128 // notification.
129 EditDictionaryOverlay.updateWords([], ['baz']); 129 EditDictionaryOverlay.updateWords([], ['baz']);
130 expectEquals(4, EditDictionaryOverlay.getWordListForTesting().items.length); 130 expectEquals(4, EditDictionaryOverlay.getWordListForTesting().items.length);
131 131
132 // Backend notifies UI that words 'foo' and 'bar' have been removed. UI 132 // Backend notifies UI that words 'foo' and 'bar' have been removed. UI
133 // removes these words. 133 // removes these words.
134 EditDictionaryOverlay.updateWords([], ['foo', 'bar']); 134 EditDictionaryOverlay.updateWords([], ['foo', 'bar']);
135 expectEquals(2, EditDictionaryOverlay.getWordListForTesting().items.length); 135 expectEquals(2, EditDictionaryOverlay.getWordListForTesting().items.length);
136 }); 136 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698