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 C936F200B61 for ; Tue, 26 Jul 2016 00:54:58 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C7C83160A8F; Mon, 25 Jul 2016 22:54:58 +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 1CF52160A7D for ; Tue, 26 Jul 2016 00:54:57 +0200 (CEST) Received: (qmail 68161 invoked by uid 500); 25 Jul 2016 22:54:57 -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 68149 invoked by uid 99); 25 Jul 2016 22:54:56 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jul 2016 22:54:56 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 829BC1A5314 for ; Mon, 25 Jul 2016 22:54:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id R0N-9SPSNvZW for ; Mon, 25 Jul 2016 22:54:54 +0000 (UTC) Received: from mail-qk0-f169.google.com (mail-qk0-f169.google.com [209.85.220.169]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 7A0CD5F1F5 for ; Mon, 25 Jul 2016 22:54:54 +0000 (UTC) Received: by mail-qk0-f169.google.com with SMTP id x1so177750982qkb.3 for ; Mon, 25 Jul 2016 15:54:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=1a8sNzT15lztAYdvk6hFEgpjNgGO7gY+d1DEkq+64YY=; b=qushH7WS+QNsMZPVRxT0PCizNIlzNg85MfbJugkTrlR0q4DzVigRzXcW/egxQjrr72 K7VfaYBBlSeRBy7u284anUD4ptuy40+GTYIpjvxhsf5caiH6N9znKb9kIv5mTdQY/KOU SDyXIRS1ZoiXmvWVcLY2uDjCmhuLg5Z4swzolQDAtJbNl/5Rug81bKpksXTG7srbjmCr duDOvqNLORj3EusSHX6dQydrpQSA+lEPM/IBQV9H7XUkGVKZ6gjuL0fAaNpajZfIo4We aBJlziqZO2ElCdQjz6oyV82Bo17zS7P+qotsEPcGx1p3YJI6WECRaKS7wc3G8xBdBKgX fXnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=1a8sNzT15lztAYdvk6hFEgpjNgGO7gY+d1DEkq+64YY=; b=UnlSGMLqPK0YZghZIcHjV/lvmfoZNAkIBF45C45WQkeeLLYLfkG5eTQuMxkNYPWAsN 6aC93NmantFzRPZoW1OzpctOpKNC+7JbCQk1yePuHCJ6ReUoRVfpnnmvSmmcsV76arFM raahvA4/pY1XVINsbk4s6UV5tEjttvCnT03WlcX9MJxlg8RrwOj+rAYG4q8iE+LSsU4R nRT3UDfKUEisdR6cK2aPAMU28DsiqBhCtsHbCspc14OeuftcyQaApp0T5QvwOwjybHv3 vv2sSCuW0MA7CqreokiIwdmH1oYgjaFa4sIogSZP58COsjOVlOkM2zoiHHhXul2U0vZt KKFQ== X-Gm-Message-State: AEkoousAw4mWkUAS5Mbm7aNSA/tILe8rANy2/YjtUI990PX+/AegvAwwaxHYODGxTEa5kVlyD9xRrm9xPkGksg== X-Received: by 10.55.47.197 with SMTP id v188mr23944165qkh.76.1469487288412; Mon, 25 Jul 2016 15:54:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.18.169 with HTTP; Mon, 25 Jul 2016 15:54:09 -0700 (PDT) From: Shazron Date: Tue, 26 Jul 2016 06:54:09 +0800 Message-ID: Subject: [COMMUNITY RALLY] WKWebView localStorage will not work with file urls in iOS 10 unless... To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=001a114f4c52d3ed4805387dabe7 archived-at: Mon, 25 Jul 2016 22:54:59 -0000 --001a114f4c52d3ed4805387dabe7 Content-Type: text/plain; charset=UTF-8 ... we dupe this Radar [1]. There is some related research and JIRA discussion here [2] I will outline the steps you need to do below. If we don't ask for this now, enabling this feature will probably go in iOS 11, just like loading file urls in WKWebView (support was non-existent in iOS 8, added in iOS 9 with WKWebView->loadFileURL:allowingReadAccessToURL:) To allow localStorage to work with file URLs in WKWebView, Apple just needs to allow this private API "WKWebViewConfiguration-> _setAllowUniversalAccessFromFileURLs" to be public [3] ---- STEPS TO FILE A RADAR 1. Sign in to https://bugreport.apple.com with your Apple ID 2. Choose "New" from the toolbar 3. Choose "iOS SDK" 4. Copy the details from link [1] into the appropriate fields 5. Make sure you mention that it doesn't work in iOS 10 beta 3 (the latest beta as of this writing) 6. Make sure you mention the fix is to enable this private API to be public - see link [3] ---- [1] https://openradar.appspot.com/radar?id=5562982134185984 [2] https://issues.apache.org/jira/browse/CB-11524 [3] https://github.com/WebKit/webkit/blob/74c39d225ee2f6465806db45dedb8f351b56c7bd/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfigurationPrivate.h#L52 --001a114f4c52d3ed4805387dabe7--