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

Issue 2676643005: MD Settings: Fix reset_page_test.js in Vulcanized mode (Closed)

Created:
3 years, 10 months ago by dpapad
Modified:
3 years, 10 months ago
Reviewers:
Dan Beam
CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-settings_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, stevenjb+watch-md-settings_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: Fix reset_page_test.js in Vulcanized mode. ResetProfileBanner was being tested as part of reset_page.html unit tests, but it is not a dependency of that page, so it was using importHtml() to load it. - Move TestResetBrowserProxy to its own file so it can be reused by both tests. - Move ResetProfileBanner tests to their own file and C++ fixture and remove importHtml() call from reset_page_test.js. - Add missing HTML imports as necessary. - Remove unnecessary register*Tests() wrappers. BUG=673825 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2676643005 Cr-Commit-Position: refs/heads/master@{#448550} Committed: https://chromium.googlesource.com/chromium/src/+/934271eaabb521f8d19d016801459f9ae9eb7ad5

Patch Set 1 #

Total comments: 3

Patch Set 2 : Un-unwrap #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -123 lines) Patch
M chrome/browser/resources/settings/reset_page/reset_profile_dialog.html View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/data/webui/settings/cr_settings_browsertest.js View 1 chunk +27 lines, -1 line 0 comments Download
M chrome/test/data/webui/settings/reset_page_test.js View 1 4 chunks +2 lines, -122 lines 0 comments Download
A chrome/test/data/webui/settings/reset_profile_banner_test.js View 1 chunk +51 lines, -0 lines 0 comments Download
A chrome/test/data/webui/settings/test_reset_browser_proxy.js View 1 chunk +67 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (15 generated)
dpapad
https://codereview.chromium.org/2676643005/diff/1/chrome/test/data/webui/settings/reset_page_test.js File chrome/test/data/webui/settings/reset_page_test.js (right): https://codereview.chromium.org/2676643005/diff/1/chrome/test/data/webui/settings/reset_page_test.js#newcode6 chrome/test/data/webui/settings/reset_page_test.js:6: var TestNames = { The diff in this file ...
3 years, 10 months ago (2017-02-03 20:05:01 UTC) #10
dpapad
Friendly ping.
3 years, 10 months ago (2017-02-06 21:49:35 UTC) #14
Dan Beam
https://codereview.chromium.org/2676643005/diff/1/chrome/test/data/webui/settings/reset_page_test.js File chrome/test/data/webui/settings/reset_page_test.js (left): https://codereview.chromium.org/2676643005/diff/1/chrome/test/data/webui/settings/reset_page_test.js#oldcode5 chrome/test/data/webui/settings/reset_page_test.js:5: cr.define('settings_reset_page', function() { can you unwrap this in a ...
3 years, 10 months ago (2017-02-06 21:50:41 UTC) #15
dpapad
https://codereview.chromium.org/2676643005/diff/1/chrome/test/data/webui/settings/reset_page_test.js File chrome/test/data/webui/settings/reset_page_test.js (left): https://codereview.chromium.org/2676643005/diff/1/chrome/test/data/webui/settings/reset_page_test.js#oldcode5 chrome/test/data/webui/settings/reset_page_test.js:5: cr.define('settings_reset_page', function() { On 2017/02/06 at 21:50:41, Dan Beam ...
3 years, 10 months ago (2017-02-06 23:06:32 UTC) #16
Dan Beam
lgtm
3 years, 10 months ago (2017-02-07 03:00:39 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2676643005/20001
3 years, 10 months ago (2017-02-07 03:02:39 UTC) #19
commit-bot: I haz the power
3 years, 10 months ago (2017-02-07 04:55:27 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/934271eaabb521f8d19d01680145...

Powered by Google App Engine
This is Rietveld 408576698