Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 89B96200C5B for ; Thu, 27 Apr 2017 22:17:44 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 88671160BB2; Thu, 27 Apr 2017 20:17:44 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BA0D6160BB5 for ; Thu, 27 Apr 2017 22:17:43 +0200 (CEST) Received: (qmail 49698 invoked by uid 500); 27 Apr 2017 20:17:43 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 49661 invoked by uid 99); 27 Apr 2017 20:17:42 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2017 20:17:42 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id C07E9E080F; Thu, 27 Apr 2017 20:17:42 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: filmaj@apache.org To: commits@cordova.apache.org Date: Thu, 27 Apr 2017 20:17:45 -0000 Message-Id: <6e08afb2bad242808672b2db87730f47@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [04/17] cordova-plugin-wkwebview-engine git commit: CB-12414: (iOS) Forward error from provisional load error to standard load error archived-at: Thu, 27 Apr 2017 20:17:44 -0000 CB-12414: (iOS) Forward error from provisional load error to standard load error This closes #29 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/commit/d67f4afa Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/tree/d67f4afa Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/diff/d67f4afa Branch: refs/heads/1.1.x Commit: d67f4afa037b43a64829c0d39c4c7d76fc7a3ba9 Parents: 618380f Author: Joel Jeske Authored: Wed Feb 1 11:48:13 2017 -0600 Committer: Shazron Abdullah Committed: Tue Feb 14 15:33:28 2017 -0800 ---------------------------------------------------------------------- src/ios/CDVWKWebViewEngine.m | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/blob/d67f4afa/src/ios/CDVWKWebViewEngine.m ---------------------------------------------------------------------- diff --git a/src/ios/CDVWKWebViewEngine.m b/src/ios/CDVWKWebViewEngine.m index 0985316..7e2efa9 100644 --- a/src/ios/CDVWKWebViewEngine.m +++ b/src/ios/CDVWKWebViewEngine.m @@ -373,6 +373,11 @@ static void * KVOContext = &KVOContext; [[NSNotificationCenter defaultCenter] postNotification:[NSNotification notificationWithName:CDVPageDidLoadNotification object:webView]]; } +- (void)webView:(WKWebView*)theWebView didFailProvisionalNavigation:(WKNavigation*)navigation withError:(NSError*)error +{ + [self webView:theWebView didFailNavigation:navigation withError:error]; +} + - (void)webView:(WKWebView*)theWebView didFailNavigation:(WKNavigation*)navigation withError:(NSError*)error { CDVViewController* vc = (CDVViewController*)self.viewController; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org For additional commands, e-mail: commits-help@cordova.apache.org