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

Issue 2675193005: Remove rejected promise of PiexLoader which is not caught. (Closed)

Created:
3 years, 10 months ago by hirono
Modified:
3 years, 10 months 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

Remove rejected promise of PiexLoader which is not caught. Previously if PiexLoader was not enabled for the build, PiexLoader.naclPromise_ was rejected and the rejected promise automatically appeared in console.log. The CL fulfills a boolean value to naclPromise_ instead of fullfills/rejects it to reducy noisy uncaught promise logs. Bug=689264 Test=Manually run Files app with disabling Piex and checked the console. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2675193005 Cr-Commit-Position: refs/heads/master@{#449204} Committed: https://chromium.googlesource.com/chromium/src/+/6423d6b3eea01831f79139b2d9408dc565a45077

Patch Set 1 #

Total comments: 2

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -8 lines) Patch
M ui/file_manager/image_loader/piex_loader.js View 1 5 chunks +15 lines, -6 lines 0 comments Download
M ui/file_manager/image_loader/request.js View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (10 generated)
hirono
PTAL, thank you!
3 years, 10 months ago (2017-02-07 02:32:46 UTC) #3
oka
lgtm LGTM with nit. Thank you for fixing this. https://codereview.chromium.org/2675193005/diff/1/ui/file_manager/image_loader/piex_loader.js File ui/file_manager/image_loader/piex_loader.js (right): https://codereview.chromium.org/2675193005/diff/1/ui/file_manager/image_loader/piex_loader.js#newcode102 ui/file_manager/image_loader/piex_loader.js:102: ...
3 years, 10 months ago (2017-02-07 17:01:33 UTC) #8
hirono
Thanks! https://codereview.chromium.org/2675193005/diff/1/ui/file_manager/image_loader/piex_loader.js File ui/file_manager/image_loader/piex_loader.js (right): https://codereview.chromium.org/2675193005/diff/1/ui/file_manager/image_loader/piex_loader.js#newcode102 ui/file_manager/image_loader/piex_loader.js:102: return true; On 2017/02/07 17:01:33, oka wrote: > ...
3 years, 10 months ago (2017-02-09 03:52:55 UTC) #9
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/2675193005/20001
3 years, 10 months ago (2017-02-09 03:54:11 UTC) #12
commit-bot: I haz the power
3 years, 10 months ago (2017-02-09 05:05:48 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/6423d6b3eea01831f79139b2d940...

Powered by Google App Engine
This is Rietveld 408576698