Modernize JS execution in PictureInPictureContentBrowserTest
Replace the semi-deprecated ExecuteScript*() functions with the modern counterparts ExecJs(), EvalJs(). While we're here, let's make sure the test doesn't try to requestPictureInPicture() until metadata has been loaded. Bug: 1138168 Change-Id: Id247c2922f26e922417496f9cc406317ac061ebe Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2529121 Commit-Queue: Wojciech Dzierżanowski <wdzierzanowski@opera.com> Reviewed-by:Mounir Lamouri <mlamouri@chromium.org> Cr-Commit-Position: refs/heads/master@{#827738}
Showing
This diff is collapsed.
Please register or sign in to comment