[Webkit-unassigned] [Bug 133921] New:=?UTF-8?Q?=20invalidateCallbackMap=20doesn=E2=80=99t=20pass=20the=20error=20parameter=20on=20to=20invalidate?=(), so script completion handler is passed the wrong error
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jun 14 16:06:06 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=133921
Summary: invalidateCallbackMap doesn’t pass the error parameter
on to invalidate(), so script completion handler is
passed the wrong error
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P1
Component: WebKit2
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: mitz at webkit.org
CC: andersca at apple.com
invalidateCallbackMap in GenericCallback.h doesn’t pass its error parameter on to the callbacks’ invalidate function. Therefore the error passed into -[WKWebView evaluateJavaScript:completionHandler:]’s completion handler is always WKErrorUnknown, and the completion handler is called synchronously in the PageInvalidated case, even though it’s supposed to be deferred.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list