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

Side by Side Diff: chrome/test/data/webui/md_history/history_toolbar_test.js

Issue 1972073002: [MD History] Make history-list:historyData private. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_loading
Patch Set: oopz Created 4 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
« no previous file with comments | « chrome/test/data/webui/md_history/history_supervised_user_test.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 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 cr.define('md_history.history_toolbar_test', function() { 5 cr.define('md_history.history_toolbar_test', function() {
6 function registerTests() { 6 function registerTests() {
7 suite('history-toolbar', function() { 7 suite('history-toolbar', function() {
8 var element; 8 var element;
9 var toolbar; 9 var toolbar;
10 var TEST_HISTORY_RESULTS; 10 var TEST_HISTORY_RESULTS;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 'example.com'); 59 'example.com');
60 done(); 60 done();
61 }); 61 });
62 }); 62 });
63 63
64 element.$.sharedMenu.itemData = {domain: 'example.com'}; 64 element.$.sharedMenu.itemData = {domain: 'example.com'};
65 MockInteractions.tap(element.$.menuMoreButton); 65 MockInteractions.tap(element.$.menuMoreButton);
66 }); 66 });
67 67
68 teardown(function() { 68 teardown(function() {
69 element.historyData = []; 69 element.historyData_ = [];
70 element.searchedTerm = ''; 70 element.searchedTerm = '';
71 registerMessageCallback('queryHistory', this, undefined); 71 registerMessageCallback('queryHistory', this, undefined);
72 toolbar.count = 0; 72 toolbar.count = 0;
73 }); 73 });
74 }); 74 });
75 } 75 }
76 return { 76 return {
77 registerTests: registerTests 77 registerTests: registerTests
78 }; 78 };
79 }); 79 });
OLDNEW
« no previous file with comments | « chrome/test/data/webui/md_history/history_supervised_user_test.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698