Improve PendingAppManagerImplBrowserTest expectation
PendingAppManagerImplBrowserTest.BypassServiceWorkerCheck tests whether the pending app installation installs the app as a PWA rather than a shortcut app. This can be determined by the presence of a scope. The function FindAppWithUrlInScope() uses a default scope if there isn't one present so its return value can't be used as an indication of the app having/not having a scope. This CL improves the check by explicitly checking GetAppScope(). Change-Id: Ieeb0c9dfb911cf3af5657e53ed86f65b60a8f07d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1732516 Commit-Queue: Alan Cutter <alancutter@chromium.org> Commit-Queue: Giovanni Ortuño Urquidi <ortuno@chromium.org> Auto-Submit: Alan Cutter <alancutter@chromium.org> Reviewed-by:Giovanni Ortuño Urquidi <ortuno@chromium.org> Cr-Commit-Position: refs/heads/master@{#683503}
Showing
Please register or sign in to comment