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

Issue 2578863003: Files app: Handle chrome.runtime.lastError for chrome.storage API calls. (Closed)

Created:
4 years ago by fukino
Modified:
4 years ago
Reviewers:
oka
CC:
chromium-reviews, oka+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, yamaguchi+watch_chromium.org, fukino+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Files app: Handle chrome.runtime.lastError for chrome.storage API calls. BUG=671080, 674434 TEST=manually tested by modifying chrome.storage API to return errors and confirming that Files app works properly with default options. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/26defffaca3b257fae0f625d04fc14724fc71682 Cr-Commit-Position: refs/heads/master@{#438806}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : Append chrome.runtime.lastError.message for error messages. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -5 lines) Patch
M ui/file_manager/file_manager/common/js/util.js View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M ui/file_manager/file_manager/foreground/js/app_state_controller.js View 1 2 3 chunks +17 lines, -3 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/folder_shortcuts_data_model.js View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/banners.js View 1 2 2 chunks +8 lines, -1 line 0 comments Download

Messages

Total messages: 15 (7 generated)
fukino
PTAL
4 years ago (2016-12-15 08:09:52 UTC) #3
oka
https://codereview.chromium.org/2578863003/diff/20001/ui/file_manager/file_manager/common/js/util.js File ui/file_manager/file_manager/common/js/util.js (right): https://codereview.chromium.org/2578863003/diff/20001/ui/file_manager/file_manager/common/js/util.js#newcode392 ui/file_manager/file_manager/common/js/util.js:392: console.error('Failed to save app state.'); Why don't you output ...
4 years ago (2016-12-15 09:02:16 UTC) #4
oka
lgtm
4 years ago (2016-12-15 09:02:26 UTC) #5
fukino
https://codereview.chromium.org/2578863003/diff/20001/ui/file_manager/file_manager/common/js/util.js File ui/file_manager/file_manager/common/js/util.js (right): https://codereview.chromium.org/2578863003/diff/20001/ui/file_manager/file_manager/common/js/util.js#newcode392 ui/file_manager/file_manager/common/js/util.js:392: console.error('Failed to save app state.'); On 2016/12/15 09:02:16, oka ...
4 years ago (2016-12-15 09:24:07 UTC) #7
oka
lgtm
4 years ago (2016-12-15 09:26:48 UTC) #8
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/2578863003/40001
4 years ago (2016-12-15 09:31:17 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-15 11:42:40 UTC) #13
commit-bot: I haz the power
4 years ago (2016-12-15 11:44:52 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/26defffaca3b257fae0f625d04fc14724fc71682
Cr-Commit-Position: refs/heads/master@{#438806}

Powered by Google App Engine
This is Rietveld 408576698