Audio Player: Refactor start up to allow use of feature flag
Change the initialization to wait for the background page to be ready, which means the load time data is available, to be able to check for the feature flag to launch different HTML files. This is a preparation to enable JS modules for Audio Player behind a feature flag. Add the feature flag AudioPlayerJsModules to util to be able to check in the Audio Player background before launching a new Audio Player window. Bug: 1133186 Change-Id: I9809a200c97a0d7a651f8012dd57904b2ef797ca Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2546344 Commit-Queue: Luciano Pacheco <lucmult@chromium.org> Reviewed-by:Jeremie Boulic <jboulic@chromium.org> Cr-Commit-Position: refs/heads/master@{#828625}
Showing
Please register or sign in to comment