Make PWAs and Shortcut apps have the same WebKitPrefs scope
This CL removes one difference between promotable web apps and "Create Shortcut" web apps where Blink's understanding of the app's scope was disabled for shortcut apps. This makes promotable web apps and shortcut apps behave the same for autoplay policy, keyboard events in app windows and picture in picture mode (see uses of Document::IsInWebAppScope()). This is desirable because promotable/non-promotable web apps are effectively identical to the user so the fewer hidden behavioural differences the better. Bug: 910016 Change-Id: I4d1e29566520369436b58ecdd1ba2eaefa17de31 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2041379 Commit-Queue: Alan Cutter <alancutter@chromium.org> Reviewed-by:Glen Robertson <glenrob@chromium.org> Cr-Commit-Position: refs/heads/master@{#740528}
Showing
Please register or sign in to comment