• Tatsuhisa Yamaguchi's avatar
    Zip Archiver: Suppress in incognito context of regular session. · 430b4497
    Tatsuhisa Yamaguchi authored
    Currently Zip Archiver run in the normal and incognito contexts in
    parallel when opening a single ZIP file in the Files app.
    The instance in the incognito context also received and processed events
    in onGetMetadataRequested, but it always fails because it doesn't run
    the normal initialization procedure.
    (i.e. loading volume and filling unpacker.app.volumeLoadedPromises)
    
    It once had worked harmlessly because error was ignored, but now
    the error in the incognito context triggers unmounting of the file.
    It can cancel out the volume mounted by the other instance in the
    normal context right before it.
    
    Bug: 833603
    Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
    Change-Id: I712a974ca4fe287d795256fc22a62d5c85d66401
    Reviewed-on: https://chromium-review.googlesource.com/1018624
    Commit-Queue: Tatsuhisa Yamaguchi <yamaguchi@chromium.org>
    Reviewed-by: default avatarYuki Awano <yawano@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#553950}
    430b4497
background.js 1.92 KB