DescriptionRemove 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 : . #
Messages
Total messages: 15 (10 generated)
|