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 32DF717DA1 for ; Tue, 26 Jan 2016 15:53:00 +0000 (UTC) Received: (qmail 79711 invoked by uid 500); 26 Jan 2016 15:52:59 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 79674 invoked by uid 500); 26 Jan 2016 15:52:59 -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 79662 invoked by uid 99); 26 Jan 2016 15:52:59 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2016 15:52:59 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 3D31AC22DF for ; Tue, 26 Jan 2016 15:52:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.901 X-Spam-Level: ** X-Spam-Status: No, score=2.901 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id AZVnskWlvkRr for ; Tue, 26 Jan 2016 15:52:49 +0000 (UTC) Received: from mail-qk0-f181.google.com (mail-qk0-f181.google.com [209.85.220.181]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id D4A8443B3C for ; Tue, 26 Jan 2016 15:52:48 +0000 (UTC) Received: by mail-qk0-f181.google.com with SMTP id o6so64443092qkc.2 for ; Tue, 26 Jan 2016 07:52:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=1xKnSJF5VuhuqARQ8XkrPgNRvwpIlO44XOqnhF1wP9g=; b=JCl6tFHE6GgidN1ONnO8+fv6A6W7Ld7sn0x0PBidqh3ol8aJdSdyPiESPGcmdXosTS eQXakuf7VTp2DKyLjDiPcFxtPE1k/xlSRNEz7eofcUN7vBiY8VaJZv06GMXvpXGMaD1X IiCBUyVTbL5HvjPBBPJjmrOxZ+2OY5H6p8FcoHI2puC8ZmOEKeSQFVtcL2w420Iwa+N1 fIFmO4UUq9PN0RvOgGQ8NT9I5BxJ7zOyaE1AmsM9HMr6m+/uqhIVdkxfxYVzXtPqPJTx t7WMzbUAJRqY/dp2f1rzYkm+dM0QgFFtX4Y+n9HvPKOn0ABVeyPSbHP1Uey4BLwEr00v Efgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=1xKnSJF5VuhuqARQ8XkrPgNRvwpIlO44XOqnhF1wP9g=; b=K0UswUGEhUUp1UdCpN0Fx3c2UThh2/sBQW2R9OibwsaSIdKIJj5Fq9EavwUJH5QmSd GcduKLxTIYzs271EP9aArr181VeIus7ilBnaZJzGLlVMQDzBIgc9RMAuA+Kf9jyQMxQ9 +vU6KQIPp03WHCWHEqE+esd+dm+5CDVBj/AI2Lg9XwALSvt8Gw8ukmY5NY1uVrzM4ph0 DZrk1yv6/LXm8BD2cuR2Oq89XEP8P2AG1tbdOos3HH2WiEIQUukwq/BHTj/vuU7GtLUr QhB3ZAYj89IYwHQPxJYnN4jjXw5FNyo3MdziAN48UDYpR0e0c5Whf+6u4pkD/pMdFWj3 sFrA== X-Gm-Message-State: AG10YORNOqyWTydi0whACl3zTPMuFw4iVSujlPnpcH7Uc1cm6IMr2BlIGBePKktKMkfg327WhjVHeoTEHlITdQ== MIME-Version: 1.0 X-Received: by 10.55.78.75 with SMTP id c72mr28730132qkb.97.1453823568575; Tue, 26 Jan 2016 07:52:48 -0800 (PST) Received: by 10.140.28.53 with HTTP; Tue, 26 Jan 2016 07:52:48 -0800 (PST) In-Reply-To: References: Date: Tue, 26 Jan 2016 16:52:48 +0100 Message-ID: Subject: Re: [DISCUSS] inAppBrowser plugin release From: julio cesar sanchez To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=001a114a88305f04d8052a3ead68 --001a114a88305f04d8052a3ead68 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Nobody is blaming you, this things happen, you didn't see that code and nobody saw it was missing on the review (or nobody reviewed). We should add tests for this. loadstart is really important, it's used for auth or payment gateways (and probably other uses), where you usually have to provide a "return url" when the auth or the payment it's ok. As cordova apps are not websites and you can't use a "return url", users redirect to a fake "ok" url, so when the loadstart detects that it's the "ok" url it closes and the app knows that it was ok I'm not sure about what docs page do you talk about I can see the events documented on https://www.npmjs.com/package/cordova-plugin-inappbrowser, that is linked on http://cordova.apache.org/docs/en/latest/cordova/plugins/pluginapis.html 2016-01-26 16:35 GMT+01:00 Joe Bowser : > First of all, we should agree on what InAppBrowser does. It seems that > people added way too much crap in it and we're stuck supporting an API th= at > many maintainers are completely unaware about. When I "broke" the API, I > sent a pull request and asked people to review it before I merged it in. = I > know that the Cordova list is slower than most other lists anywhere, but > there's also the fact that most people don't know about loadStart and > loadStop events, and they're not even explicitly in the docs (only inline > on the GitHub docs page). > > Secondly, how important is this? > > On Tue, Jan 26, 2016 at 6:18 AM, Sergey Grebnov (Akvelon) < > v-segreb@microsoft.com> wrote: > > > Looks like we don't have auto tests for InAppBrowser plugin at all. We > > should write sanity test to ensure plugin is successfully initialized a= t > > least (there is cordova.InAppBrowser.open method available). I also thi= nk > > that it is doable to write auto tests for main events (load start/stop, > > etc) as well. > > > > PS. CB-10428 has been resolved by the following PR: > > https://github.com/apache/cordova-plugin-inappbrowser/pull/141/files?w= =3D1 > > > > -Sergey > > -----Original Message----- > > From: Nikhil Khandelwal [mailto:nikhilkh@microsoft.com] > > Sent: Tuesday, January 26, 2016 12:43 AM > > To: dev@cordova.apache.org > > Subject: RE: [DISCUSS] inAppBrowser plugin release > > > > Looks like there is another regression w.r.t. browserify workflow > CB-10428 > > for Cordova-inappbrowser. > > > > And this one for cordova-plugin-file: > > > https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3a%2f%2fissues= .apache.org%2fjira%2fbrowse%2fCB-10419&data=3D01%7c01%7cv-segreb%40microsof= t.com%7c87655d4803a54891496f08d325d090c1%7c72f988bf86f141af91ab2d7cd011db47= %7c1&sdata=3DVT5z308fXUhduPr40kC6zA0IsPT4apTeA%2fnStCYkFG8%3d > > > > We might to rev those and re-release. > > > > -Nikhil > > > > -----Original Message----- > > From: Nikhil Khandelwal [mailto:nikhilkh@microsoft.com] > > Sent: Monday, January 25, 2016 10:23 AM > > To: dev@cordova.apache.org > > Subject: RE: [DISCUSS] inAppBrowser plugin release > > > > I'm curious what caused the regression? Why do we not have tests for th= is > > important scenario? > > > > -Nikhil > > > > -----Original Message----- > > From: Steven Gill [mailto:stevengill97@gmail.com] > > Sent: Monday, January 25, 2016 1:19 AM > > To: dev@cordova.apache.org > > Subject: Re: [DISCUSS] inAppBrowser plugin release > > > > +1 Lets do it! > > > > On Mon, Jan 25, 2016 at 1:00 AM, julio cesar sanchez < > > jcesarmobile@gmail.com > > > wrote: > > > > > On latest release of inAppBrowser plugin the loadstart event stopped > > > working on android. > > > It has been fixed on the 1.2.1-dev. > > > Should we release it? > > > > > > I think loadstart is very important and a lot of apps rely on it for > > > closing the window. > > > > > B KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK= CB > > [ X =DC=9AX K K[XZ[ ] ][ X =DC=9AX P =DC=99 =DD=98K \ X K = =DC=99 B =DC=88 Y ] [=DB=98[ [X[ > > K[XZ[ ] Z [ =DC=99 =DD=98K \ X K =DC=99 B B > > KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKCB > > [ X =DC=9AX K K[XZ[ > > ] ][ X =DC=9AX P =DC=99 =DD=98K \ X K =DC=99 B =DC=88 Y ] [=DB= =98[ [X[ K[XZ[ > > ] Z [ =DC=99 =DD=98K \ X K =DC=99 B > > > --001a114a88305f04d8052a3ead68--