Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LocalDOMWindow::resizeTo
with extra arg
The override for `LocalDOMWindow::resizeTo` was broken by the addition of an extra exception state argument. This argument is of no consequence to the override itself. This change adjusts the override to pass the exception state along. Chromium change: https://chromium.googlesource.com/chromium/src/+/f17e2aa8de58031d15efa2c0f6de1e0fb48d0b09 commit f17e2aa8de58031d15efa2c0f6de1e0fb48d0b09 Author: Tommy Steimel <steimel@chromium.org> Date: Wed Nov 29 17:32:08 2023 +0000 [document pip] Allow resizeTo()/resizeBy() via user gesture Currently, we don't allow picture-in-picture windows to use the resizeTo() and resizeBy() APIs to prevent abuse. This CL adds a user gesture requirement to those APIs for document picture-in-picture windows to allow them to use those APIs while limiting the potential for abuse. Specification: WICG/document-picture-in-picture#104 Bug: 1354325
- Loading branch information