⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 169026 in webkit


Ignore:
Timestamp:
May 18, 2014, 5:12:32 PM (12 years ago)
Author:
andersca@apple.com
Message:

Relax an assertion when creating document loaders
​https://bugs.webkit.org/show_bug.cgi?id=133058

Reviewed by Sam Weinig.

When navigating back/forward items recursively, createDocumentLoader will be called
for subframes before main frames so only associate the navigation with main frames.

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::createDocumentLoader):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r169025 r169026  
     12014-05-18  Anders Carlsson  <andersca@apple.com>
     2
     3        Relax an assertion when creating document loaders
     4        https://bugs.webkit.org/show_bug.cgi?id=133058
     5
     6        Reviewed by Sam Weinig.
     7
     8        When navigating back/forward items recursively, createDocumentLoader will be called
     9        for subframes before main frames so only associate the navigation with main frames.
     10
     11        * WebProcess/WebPage/WebPage.cpp:
     12        (WebKit::WebPage::createDocumentLoader):
     13
    1142014-05-18  Zsolt Borbely  <zsborbely.u-szeged@partner.samsung.com>
    215
  • trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp

    r169016 r169026  
    45334533    RefPtr<WebDocumentLoader> documentLoader = WebDocumentLoader::create(request, substituteData);
    45344534
    4535     if (m_pendingNavigationID) {
    4536         ASSERT_UNUSED(frame, frame.isMainFrame());
    4537 
     4535    if (m_pendingNavigationID && frame.isMainFrame()) {
    45384536        documentLoader->setNavigationID(m_pendingNavigationID);
    45394537        m_pendingNavigationID = 0;
Note: See TracChangeset for help on using the changeset viewer.