v8binding: Makes ToV8(window) work without a frame

Desktop / Chromium - yukishiino [chromium.org] - 17 April 2017 04:51 EDT

Makes DOMWindow hold a WindowProxyManager and makes it possible that ToV8(window) work without a frame.

With this CL, all tests in external/wpt/html/webappapis/scripting/events/compile-event-handler-settings-objects.html pass without a failure.

This CL is a preparation for https://crrev.com/2693893007

BUG=

Review-Url: https://codereview.chromium.org/2713623002 Cr-Commit-Position: refs/heads/master@{#464907}

58af366 v8binding: Makes ToV8(window) work without a frame.
.../compile-event-handler-settings-objects-expected.txt | 6 ------
.../WebKit/Source/bindings/core/v8/ToV8ForCore.cpp | 10 ++--------
third_party/WebKit/Source/core/frame/DOMWindow.cpp | 16 +++++++++++++++-
third_party/WebKit/Source/core/frame/DOMWindow.h | 9 ++++++++-
4 files changed, 25 insertions(+), 16 deletions(-)

Upstream: git.chromium.org


  • Share