[Webkit-unassigned] [Bug 191070] [iOS] Use the mainframe view size to compute window.outerWidth/height.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 30 13:17:18 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=191070

--- Comment #5 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
Comment on attachment 353385
  --> https://bugs.webkit.org/attachment.cgi?id=353385
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=353385&action=review

> Source/WebCore/page/DOMWindow.cpp:1183
> +    auto* view = frame()->isMainFrame() ? frame()->view() : frame()->mainFrame().view();

Is frame()->mainFrame().view() == frame()->view() for the main frame (i.e. do you need this ternary at all?).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181030/03bf69a2/attachment.html>


More information about the webkit-unassigned mailing list