Add attribute event listeners to visualViewport

Desktop / Chromium - David Bokan [chromium.org] - 13 September 2017 23:11 EDT

These were previously available but removed in r407955. In the mean time they made their way into the visualViewport draft spec:

https://wicg.github.io/ViewportAPI/spec.html#dom-visualviewport-onresize

But we forgot to actually re-add them. This patch adds them back in.

Bug: 760916 Change-Id: Ib2dc3dbd21d648d9118bbb88e61bba7b65369688 Reviewed-on: https://chromium-review.googlesource.com/658318

c3d1b5d Add attribute event listeners to visualViewport
third_party/WebKit/LayoutTests/NeverFixTests | 1 +
.../viewport-attribute-event-handlers-manual.html | 75 ++++++++++++++++++++++
...d-properties-after-frame-navigated-expected.txt | 2 +
...rties-after-frame-removed-and-gced-expected.txt | 2 +
...hed-properties-after-frame-removed-expected.txt | 2 +
...ached-window-after-frame-navigated-expected.txt | 2 +
...indow-after-frame-removed-and-gced-expected.txt | 2 +
...-cached-window-after-frame-removed-expected.txt | 2 +
.../global-interface-listing-expected.txt | 4 ++
.../global-interface-listing-expected.txt | 4 ++
.../global-interface-listing-expected.txt | 4 ++
.../WebKit/Source/core/frame/DOMVisualViewport.h | 3 +
.../WebKit/Source/core/frame/VisualViewport.idl | 3 +
13 files changed, 106 insertions(+)

Upstream: git.chromium.org


  • Share