Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8E47C11AF6 for ; Wed, 10 Sep 2014 00:20:20 +0000 (UTC) Received: (qmail 79902 invoked by uid 500); 10 Sep 2014 00:20:15 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 79868 invoked by uid 500); 10 Sep 2014 00:20:15 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 79855 invoked by uid 99); 10 Sep 2014 00:20:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2014 00:20:14 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of agrieve@google.com designates 209.85.218.46 as permitted sender) Received: from [209.85.218.46] (HELO mail-oi0-f46.google.com) (209.85.218.46) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2014 00:19:49 +0000 Received: by mail-oi0-f46.google.com with SMTP id g201so3199324oib.5 for ; Tue, 09 Sep 2014 17:19:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=YJDX+4vDm763uWwnF+CPeJN1aoCf8GBZjfw2i7BnwEk=; b=Ew27x5V5UFrAAmShiysmcv/o+USLLHWmN7/CqF/hYQjDJMFzgUl095zlUc1SRgygqp zULwp+cMc0l5g/fwE8vRchARuiL4AjsOTYrepTHnpfY6E8kbvOY0Z8SvWNYX/WtSZvLt aPfenF4jt3Af3j6uIdfd2R74bKtldUgznuBUL6kx2jJ2mtEg7XHTPGATpMtdq0Ak5643 NWYtPN4pAsWIdw5iEKm21CmOOytASlzk4eq8ZFggJsIh9BHptESMV5qxI0/JGdV7U6T7 PNsxfwFRiN+XkIQnXRX6rGidYUv1QcCXDYj1JsBWF+xkSnyjcn8cIsxdOH3KH7Q1XyZ6 sIeA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=YJDX+4vDm763uWwnF+CPeJN1aoCf8GBZjfw2i7BnwEk=; b=fQ6cJIlU/7zloT/4M91opO8OOcmq7PbrXHU09W/+RP20Ydx06brrQmhsxmjzsx1ymx CHlhjXBweHrYgrAS4AOWJJwoTCIvK0QmFtjS/oSJVww5kB+hbYt2eqXmltSQBWDAQJhd UnFJrE7JujhSr3oPxZ3yugCcVUjiiR1UNtcL0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:content-type; bh=YJDX+4vDm763uWwnF+CPeJN1aoCf8GBZjfw2i7BnwEk=; b=UpuK260OLQbWNk9kGTFNLZpcHKBkZi2+spuvBStla0fm2lv1a9VzDxTFuMtLNE9wcw GfQnFr1oyc1ZKdmij9rzYTQBGkpgOhuhmfG3FqPPNou+n0WKPGAezCdXzmByvxcpJaZG iu2zPbltgKcTNqoppsWeTYRa7JDBwMZ3JMfkI12vuDWP8t2AJPWtEz6NBNLJfOuMFCak Escks6Q7EiQ3TgnAdhnRrovEWtTPZMWY/35CuVSEL2uChJXM2Gem8/waZz8mvgqzP2zs 4dwrmFo7vj8eWg3f5qFLW24vTswJsripEYusDZOYT25nrNH/X8H/B/uKxuNe6nVZ84E+ bg9g== X-Gm-Message-State: ALoCoQnKITnmb8PR5XI4oZj5ooRJMun937OYQIDDnkodpFWihoqA3vBWmdrSBGMPX7TDxrwAEyFF X-Received: by 10.60.174.197 with SMTP id bu5mr31610466oec.3.1410308387844; Tue, 09 Sep 2014 17:19:47 -0700 (PDT) MIME-Version: 1.0 Sender: agrieve@google.com Received: by 10.182.98.165 with HTTP; Tue, 9 Sep 2014 17:19:27 -0700 (PDT) In-Reply-To: References: From: Andrew Grieve Date: Tue, 9 Sep 2014 20:19:27 -0400 X-Google-Sender-Auth: PaFG0rB9ylhfQZpbp5NNaNwSd2E Message-ID: Subject: Re: [iOS 8] Status of WKWebView work To: dev Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org That's great news. JS execution speed honestly hasn't really been a problem for Cordova apps that I've heard of anyways. On Tue, Sep 9, 2014 at 7:01 PM, Shazron wrote: > Some interesting findings - iOS UIWebView and WKWebView have the same > user-agent value, and both score 440 on html5test.com. > > Which makes me think they use the same engine (renderer and js), but > UIWebView has nitro turned off. WKWebView seems to be about 4x faster on > the Sunspider benchmark. > > On Tue, Sep 9, 2014 at 3:58 PM, Shazron wrote: > >> UIWebView iOS 8 scores 440/555 points on html5test.com, and yes it >> supports indexedDB >> Full results: http://html5te.st/f16d892273bbe5bd >> >> On Tue, Sep 9, 2014 at 1:33 PM, Andrew Grieve >> wrote: >> >>> :( >>> >>> Hopefully UIWebView will still get some updates though? E.g. IndexedDb? >>> >>> On Tue, Sep 9, 2014 at 4:18 PM, Tommy Williams >>> wrote: >>> > That's pretty disappointing. >>> > >>> > Especially with not even a comment from apple. >>> > On 10 Sep 2014 05:50, "Shazron" wrote: >>> > >>> >> Well, bad news. I just installed the iOS 8 GM firmware on an iPhone 5 >>> and >>> >> used Xcode 6 GM, and the file:// url "bug" (assuming it is a bug and >>> not by >>> >> design) is still there. >>> >> >>> >> http://www.openradar.me/radar?id=5839348817723392 >>> >> >>> >> On Fri, Sep 5, 2014 at 12:48 PM, Shazron wrote: >>> >> >>> >> > Clarification: >>> >> > When I said "The bridge works great, and plugins work great." this >>> was >>> >> > for loading a html page and plugins using the file:// protocol using >>> >> > WKWebView (as the title of the report implies). The bug I reported >>> was on >>> >> > Device (> iOS beta 4), on Simulator it is *fine* (this info was in >>> the >>> >> bug >>> >> > report as well). >>> >> > >>> >> > *Nothing* has been done using the local web server and proxy (at >>> least >>> >> > nothing checked in). An implementation on how the proxy works can be >>> seen >>> >> > in the PhoneGap Developer App: >>> >> > https://github.com/phonegap/phonegap-app-developer >>> >> > >>> >> > See CB-7043 for progress on tasks regarding this. >>> >> > >>> >> > >>> >> > >>> >> > On Fri, Sep 5, 2014 at 11:40 AM, Shazron wrote: >>> >> > >>> >> >> I figure I will write this all up before the official release of >>> iOS 8 >>> >> >> next week (probability high) and everyone asking about support. >>> >> >> >>> >> >> It has stalled because the WKWebView cannot load files using the >>> file:// >>> >> >> protocol since iOS 8 beta 4. >>> >> >> >>> >> >> This bug has been filed with Apple weeks ago: >>> >> >> http://www.openradar.me/radar?id=5839348817723392 >>> >> >> >>> >> >> I even checked WebKit check-ins if there was any progress, so far, >>> no: >>> >> >> >>> >> >> >>> >> >>> http://trac.webkit.org/browser/trunk/Source/WebKit2/UIProcess/API/Cocoa?order=date&desc=1 >>> >> >> (but it's entirely possible the loading code is in another part of >>> the >>> >> >> tree). >>> >> >> >>> >> >> The alternative is to run a local web server, which works great. >>> >> However, >>> >> >> this will open up a can of worms possibly with Apple, I'm not sure. >>> >> >> >>> >> >> The other interesting tidbit is, with WKWebView, for locally loaded >>> >> files >>> >> >> using the file:// protocol, cross-domain restrictions now apply, >>> unlike >>> >> >> UIWebView's behaviour. To have the same behaviour as UIWebView, we >>> would >>> >> >> need to proxy these requests (modify xhr.open to go to our proxy, >>> which >>> >> >> requires the local web server). >>> >> >> >>> >> >> The bridge works great, and plugins work great. >>> >> >> >>> >> >> >>> >> >> >>> >> >> >>> >> >> >>> >> > >>> >> >>> >> >>