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 71C5A18673 for ; Wed, 28 Oct 2015 00:06:00 +0000 (UTC) Received: (qmail 63967 invoked by uid 500); 28 Oct 2015 00:05:47 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 63922 invoked by uid 500); 28 Oct 2015 00:05:47 -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 63908 invoked by uid 99); 28 Oct 2015 00:05:47 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2015 00:05:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id E9CE0C0FDD for ; Wed, 28 Oct 2015 00:05:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.101 X-Spam-Level: X-Spam-Status: No, score=-0.101 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id xa8Gq3NDiM5b for ; Wed, 28 Oct 2015 00:05:43 +0000 (UTC) Received: from mail-qg0-f49.google.com (mail-qg0-f49.google.com [209.85.192.49]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id BADC2439BC for ; Wed, 28 Oct 2015 00:05:42 +0000 (UTC) Received: by qgbb65 with SMTP id b65so159429122qgb.2 for ; Tue, 27 Oct 2015 17:05:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=33VbFfQnX4k1l+YtpDS6MnrWVEolc0z9Tomvh/wypXo=; b=NcXYUgD8hWC5+kVl0rBrj4sXg3GC41NJVE/91vhsvXX5GOxQhKJNciecTccjIRzTEE 3qw0umlnw/SInHQ1jqVGi0AorS9aOx7O/OOgDgmn5X0RSLUtnale4wieY/5RXRNFHg7V B0u28+hjWuLn+A07FPylPmZdBduObV9MCmCWgg2mDME0mbLNk1VuHTSNKXRp+r0Z3tq9 rMpIaNRy9u15gyDV/G95/7jhZ5TPH4WyKqjvnKzMLY8fBSmO7jr0IKPD8TyTkYqS0ecb 0zvHWlZO+CoMB/axqe4NcP92BphRsgcz5M75Vp1fK8RsyNCVUKFS+ziseeAQvR6z4D/u g2Pg== X-Received: by 10.140.234.134 with SMTP id f128mr49131495qhc.43.1445990742383; Tue, 27 Oct 2015 17:05:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.154.138 with HTTP; Tue, 27 Oct 2015 17:05:03 -0700 (PDT) In-Reply-To: References: From: Shazron Date: Tue, 27 Oct 2015 17:05:03 -0700 Message-ID: Subject: Re: [DISCUSS] Removal of unused iOS bridges To: "dev@cordova.apache.org" Content-Type: text/plain; charset=UTF-8 Filed https://issues.apache.org/jira/browse/CB-9883 On Tue, Oct 27, 2015 at 5:00 PM, Shazron wrote: > ## DESCRIPTION > > We have 7 bridges in iOS: > https://github.com/apache/cordova-ios/blob/c0fe92d6c0b91efa2da0d5cec78e0baa95ce55c9/cordova-js-src/exec.js#L36-L43 > > IFRAME_NAV is the default, and is actively used. > WK_WEBVIEW_BINDING will be used by the wkwebview-engine plugin, > although I really want the plugin itself to inject this, haven't > explored that yet. > > ## PROPOSAL > > Remove these bridges: > https://github.com/apache/cordova-ios/blob/c0fe92d6c0b91efa2da0d5cec78e0baa95ce55c9/cordova-js-src/exec.js#L38-L42 > > XHR_NO_PAYLOAD > XHR_WITH_PAYLOAD > XHR_OPTIONAL_PAYLOAD > IFRAME_HASH_NO_PAYLOAD > IFRAME_HASH_WITH_PAYLOAD > > ... and their associated native code. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org For additional commands, e-mail: dev-help@cordova.apache.org