WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
65950
WKPageCopyPendingAPIRequestURL returns stale result if policy decision set to Ignore
https://bugs.webkit.org/show_bug.cgi?id=65950
Summary
WKPageCopyPendingAPIRequestURL returns stale result if policy decision set to...
John Sullivan
Reported
2011-08-09 17:03:01 PDT
When the policy decision is set by the client to PolicyIgnore, there's no code to clear the pending API request (though clearly no API request is pending any more). Then if the client asks for it later via WKPageCopyPendingAPIRequestURL, a non-null answer is returned, which fools the client into thinking that some sort of load is still underway. This is in Radar as <
rdar://problem/9925931
>
Attachments
Patch to clear the pending API request when PolicyIgnore is received.
(1.23 KB, patch)
2011-08-09 17:05 PDT
,
John Sullivan
sullivan
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
John Sullivan
Comment 1
2011-08-09 17:05:52 PDT
Created
attachment 103420
[details]
Patch to clear the pending API request when PolicyIgnore is received.
John Sullivan
Comment 2
2011-08-09 17:10:05 PDT
Fixed in <
http://trac.webkit.org/changeset/92729
>.
John Sullivan
Comment 3
2011-08-09 17:11:41 PDT
I r+’ed my own patch in a moment of absent-mindedness. However, Anders Carlsson also gave me an r+, so I will still be able to sleep at night.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug