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

Changeset 90238 in webkit


Ignore:
Timestamp:
Jul 1, 2011, 9:51:24 AM (15 years ago)
Author:
bweinstein@apple.com
Message:

WebKit2: DidFinishLoadForFrame is never called on iframes when loads are
cancelled by willSendRequest
https://bugs.webkit.org/show_bug.cgi?id=63753

Reviewed by Darin Adler.

Source/WebKit2:

When deciding a policy for a null request, call the callback that was passed
to WebKit2 and say that we used the loader.

  • WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:

(WebKit::WebFrameLoaderClient::dispatchDecidePolicyForResponse):

LayoutTests:

Unskip WebKit2 tests that now pass.

  • platform/wk2/Skipped:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r90236 r90238  
     12011-06-30  Brian Weinstein  <bweinstein@apple.com>
     2
     3        Reviewed by Darin Adler.
     4
     5        WebKit2: DidFinishLoadForFrame is never called on iframes when loads are
     6        cancelled by willSendRequest
     7        https://bugs.webkit.org/show_bug.cgi?id=63753
     8       
     9        Unskip WebKit2 tests that now pass.
     10
     11        * platform/wk2/Skipped:
     12
    1132011-07-01  Adam Roben  <aroben@apple.com>
    214
  • trunk/LayoutTests/platform/wk2/Skipped

    r90219 r90238  
    20492049platform/mac/editing/pasteboard/text-precomposed.html
    20502050
    2051 # Unexplained failures after implementing willSendRequestReturnsNull
    2052 fast/loader/onload-willSendRequest-null-for-frame.html
    2053 plugins/plugin-document-willSendRequest-null.html
    2054 
    20552051# An empty layer is missing.
    20562052platform/mac/fast/forms/input-appearance-spinbutton-up.html
  • trunk/Source/WebKit2/ChangeLog

    r90231 r90238  
     12011-06-30  Brian Weinstein  <bweinstein@apple.com>
     2
     3        Reviewed by Darin Adler.
     4
     5        WebKit2: DidFinishLoadForFrame is never called on iframes when loads are
     6        cancelled by willSendRequest
     7        https://bugs.webkit.org/show_bug.cgi?id=63753
     8       
     9        When deciding a policy for a null request, call the callback that was passed
     10        to WebKit2 and say that we used the loader.
     11
     12        * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
     13        (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForResponse):
     14
    1152011-07-01  Balazs Kelemen  <kbalazs@webkit.org>
    216
  • trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp

    r90038 r90238  
    602602        return;
    603603
    604     if (!request.url().string())
    605         return;
     604    if (!request.url().string()) {
     605        (m_frame->coreFrame()->loader()->policyChecker()->*function)(PolicyUse);
     606        return;
     607    }
    606608
    607609    RefPtr<APIObject> userData;
Note: See TracChangeset for help on using the changeset viewer.