Title: [92729] trunk/Source/WebKit2
Revision
92729
Author
[email protected]
Date
2011-08-09 17:09:08 -0700 (Tue, 09 Aug 2011)

Log Message

WKPageCopyPendingAPIRequestURL returns stale result if policy decision set to Ignore
https://bugs.webkit.org/show_bug.cgi?id=65950
<rdar://problem/9925931>

Reviewed by Anders Carlsson.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::receivedPolicyDecision):
Call clearPendingAPIRequestURL() if the policy decision is PolicyIgnore.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (92728 => 92729)


--- trunk/Source/WebKit2/ChangeLog	2011-08-10 00:05:38 UTC (rev 92728)
+++ trunk/Source/WebKit2/ChangeLog	2011-08-10 00:09:08 UTC (rev 92729)
@@ -1,3 +1,15 @@
+2011-08-09  John Sullivan  <[email protected]>
+
+        WKPageCopyPendingAPIRequestURL returns stale result if policy decision set to Ignore
+        https://bugs.webkit.org/show_bug.cgi?id=65950
+        <rdar://problem/9925931>
+
+        Reviewed by Anders Carlsson.
+
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::WebPageProxy::receivedPolicyDecision):
+        Call clearPendingAPIRequestURL() if the policy decision is PolicyIgnore.
+
 2011-08-09  Anders Carlsson  <[email protected]>
 
         Add a WebKit prefix to the user default.

Modified: trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp (92728 => 92729)


--- trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp	2011-08-10 00:05:38 UTC (rev 92728)
+++ trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp	2011-08-10 00:09:08 UTC (rev 92729)
@@ -1021,6 +1021,9 @@
 {
     if (!isValid())
         return;
+    
+    if (action == PolicyIgnore)
+        clearPendingAPIRequestURL();
 
     uint64_t downloadID = 0;
     if (action == PolicyDownload) {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to