Changeset 55625 in webkit


Ignore:
Timestamp:
Mar 6, 2010 7:13:59 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-03-06 Darin Fisher <darin@chromium.org>

Reviewed by David Levin.

[Chromium] spurious WebViewClient::didStopLoading if changing
location.hash while a subframe is still loading

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

  • src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage): Call isLoadingInAPISense, which checks subframes.
Location:
trunk/WebKit/chromium
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/chromium/ChangeLog

    r55620 r55625  
     12010-03-06  Darin Fisher  <darin@chromium.org>
     2
     3        Reviewed by David Levin.
     4
     5        [Chromium] spurious WebViewClient::didStopLoading if changing
     6        location.hash while a subframe is still loading
     7
     8        https://bugs.webkit.org/show_bug.cgi?id=33884
     9
     10        * src/FrameLoaderClientImpl.cpp:
     11        (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage):
     12        Call isLoadingInAPISense, which checks subframes.
     13
    1142010-03-06  Hironori Bono  <hbono@chromium.org>
    215
  • trunk/WebKit/chromium/src/FrameLoaderClientImpl.cpp

    r55449 r55625  
    580580    // See https://bugs.webkit.org/show_bug.cgi?id=31838
    581581    bool loaderCompleted =
    582         !m_webFrame->frame()->page()->mainFrame()->loader()->isLoading();
     582        !webView->page()->mainFrame()->loader()->activeDocumentLoader()->isLoadingInAPISense();
    583583
    584584    // Generate didStartLoading if loader is completed.
Note: See TracChangeset for help on using the changeset viewer.