Putting error message when skipping sw-apps for partial delegation
Change: * Devtool Warning. Before - when enforcing full delegation, those sw-apps that are skipped for partial delegation are skipped silently. After - under the same situation, the apps are skipped with a warning message in devtool console. * Show Rejection. Before - when enforcing full delegation, if all sw-apps are skipped, no error would be given to the developer. After - under the same condition, the developer would receive an error in the form of a show() promise rejection. Note that if there has already been an error, do not override the error. * Test Addition. Add a test for the multiple-app scenario. * Test Fix. Bug: 1100656, 1103695 Change-Id: Ic6c8a1e222069a0eadbbcad7de2d358489dec8ba Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2316799 Commit-Queue: Liquan (Max) Gu <maxlg@chromium.org> Reviewed-by:Sahel Sharify <sahel@chromium.org> Cr-Commit-Position: refs/heads/master@{#795112}
Showing
Please register or sign in to comment