[Webkit-unassigned] [Bug 217949] resize event is not fired while the page is still loading

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 21 17:33:04 PDT 2020


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

Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cdumez at apple.com,
                   |                            |dbates at webkit.org,
                   |                            |rniwa at webkit.org,
                   |                            |thorton at apple.com,
                   |                            |wenson_hsieh at apple.com

--- Comment #2 from Alexey Proskuryakov <ap at webkit.org> ---
I can reproduce. The resize event also fails to trigger when rotating.

See this code in FrameView.cpp:

#if PLATFORM(IOS_FAMILY)
    // Don't send the resize event if the document is loading. Some pages automatically reload
    // when the window is resized; Safari on iOS often resizes the window while setting up its
    // viewport. This obviously can cause problems.
    if (DocumentLoader* documentLoader = frame().loader().documentLoader()) {
        if (documentLoader->isLoadingInAPISense())
            return;
    }
#endif

-- 
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/20201022/47b6396d/attachment.htm>


More information about the webkit-unassigned mailing list