| Index: chrome/test/data/webui/md_history/history_routing_test.js
|
| diff --git a/chrome/test/data/webui/md_history/history_routing_test.js b/chrome/test/data/webui/md_history/history_routing_test.js
|
| index 2ebae99f5bbd4633bf17b7e12be694adcf5190da..db5c01c91f1100830e49386ed4fbca676a4b29fe 100644
|
| --- a/chrome/test/data/webui/md_history/history_routing_test.js
|
| +++ b/chrome/test/data/webui/md_history/history_routing_test.js
|
| @@ -80,34 +80,6 @@ cr.define('md_history.history_routing_test', function() {
|
| assertEquals(searchTerm, toolbar.searchTerm);
|
| assertEquals('chrome://history/?q=' + searchTerm, window.location.href);
|
| });
|
| -
|
| - test('changing route changes grouped range and offset', function() {
|
| - app.grouped_ = true;
|
| - navigateTo('/history/week?offset=1');
|
| - assertEquals(HistoryRange.WEEK, app.queryState_.range);
|
| - assertEquals(1, app.queryState_.groupedOffset);
|
| -
|
| - navigateTo('/history/month');
|
| - assertEquals(HistoryRange.MONTH, app.queryState_.range);
|
| - assertEquals(0, app.queryState_.groupedOffset);
|
| -
|
| - navigateTo('/');
|
| - assertEquals(HistoryRange.ALL_TIME, app.queryState_.range);
|
| - });
|
| -
|
| - test('route updates from grouped range and offset', function() {
|
| - app.grouped_ = true;
|
| -
|
| - app.fire('change-query', {range: HistoryRange.WEEK});
|
| - assertEquals('chrome://history/history/week', window.location.href);
|
| -
|
| - app.fire('change-query', {range: HistoryRange.MONTH, offset: 5});
|
| - assertEquals(
|
| - 'chrome://history/history/month?offset=5', window.location.href);
|
| -
|
| - app.fire('change-query', {range: HistoryRange.ALL_TIME});
|
| - assertEquals('chrome://history/', window.location.href);
|
| - });
|
| });
|
| }
|
| return {
|
| @@ -131,8 +103,6 @@ cr.define('md_history.history_routing_test_with_query_param', function() {
|
| test('search initiated on load', function(done) {
|
| var verifyFunction = function(info) {
|
| assertEquals(expectedQuery, info[0]);
|
| - assertEquals(5, info[1]);
|
| - assertEquals(HistoryRange.WEEK, info[2]);
|
| PolymerTest.flushTasks().then(function() {
|
| assertEquals(
|
| expectedQuery,
|
|
|