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

Issue 2670833007: MD Settings: Fix bluetooth_page_tests.js in Vulcanized mode. (Closed)

Created:
3 years, 10 months ago by dpapad
Modified:
3 years, 10 months ago
Reviewers:
stevenjb
CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-settings_chromium.org, Dan Beam, 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 bluetooth_page_test.js in Vulcanized mode. The test can't explicitly import load_time_data.js, because in Vulcanized mode it ends up importing that file twice, whcih throws an error. Also, using loadTimeData.overrideValues() is a more established way of providing test dummy test data. BUG=673825 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2670833007 Cr-Commit-Position: refs/heads/master@{#447928} Committed: https://chromium.googlesource.com/chromium/src/+/a6ec659f2418eb03341c3f6e37632804d2b7499d

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -5 lines) Patch
M chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/webui/settings/bluetooth_page_tests.js View 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/test/data/webui/settings/cr_settings_browsertest.js View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 15 (10 generated)
dpapad
3 years, 10 months ago (2017-02-03 01:47:20 UTC) #7
stevenjb
Thanks, sorry, I found the bad example from somewhere... anyway, lgtm.
3 years, 10 months ago (2017-02-03 02:14:18 UTC) #9
dpapad
On 2017/02/03 at 02:14:18, stevenjb wrote: > Thanks, sorry, I found the bad example from ...
3 years, 10 months ago (2017-02-03 02:33:50 UTC) #10
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/2670833007/1
3 years, 10 months ago (2017-02-03 02:34:47 UTC) #12
commit-bot: I haz the power
3 years, 10 months ago (2017-02-03 04:23:30 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/a6ec659f2418eb03341c3f6e3763...

Powered by Google App Engine
This is Rietveld 408576698