[Webkit-unassigned] [Bug 149079] New: WKWebView does evaluate JavaScript after cookies have been cleared
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 11 16:24:25 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=149079
Bug ID: 149079
Summary: WKWebView does evaluate JavaScript after cookies have
been cleared
Classification: Unclassified
Product: WebKit
Version: Other
Hardware: iOS
OS: iOS 9.0
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit2
Assignee: webkit-unassigned at lists.webkit.org
Reporter: shreyasv at chromium.org
Created attachment 261025
--> https://bugs.webkit.org/attachment.cgi?id=261025&action=review
Sample app that repros this bug
WKWebView does evaluate JavaScript after cookies have been cleared.
This is problematic because the completionHandler from the -[WKWebView evaluateJavaScript:completionHandler:] is never called.
Steps to Reproduce:
1) Run the attached code
2) Click on "wv1", that creates a WKWebView and loads a webpage
3) Click on "clear cookies", that uses the WKWebsiteDataStore API to clear cookies
4) Click on rc, that injects JS to retrieve the cookies from a web page.
Expected Results:
The completionHandler (from the JS eval method) is called.
Actual Results:
The completionHandler (from the JS eval method) is never called.
Version:
iOS9.0
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150911/07ece6eb/attachment.html>
More information about the webkit-unassigned
mailing list