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 EDA6B17978 for ; Tue, 27 Jan 2015 15:03:27 +0000 (UTC) Received: (qmail 48713 invoked by uid 500); 27 Jan 2015 15:03:27 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 48673 invoked by uid 500); 27 Jan 2015 15:03:27 -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 48660 invoked by uid 99); 27 Jan 2015 15:03:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jan 2015 15:03:27 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of agrieve@google.com designates 209.85.216.176 as permitted sender) Received: from [209.85.216.176] (HELO mail-qc0-f176.google.com) (209.85.216.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jan 2015 15:03:23 +0000 Received: by mail-qc0-f176.google.com with SMTP id c9so12326260qcz.7 for ; Tue, 27 Jan 2015 07:03:02 -0800 (PST) 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=LzeVJ+c87er8sOsJltuWdT/OZ2B5+hQi4wbiVzxF2mI=; b=W15LF6MBHe8Ha9/pA57hNATGQBPC03XNqeg3dYnWOVFn/jBRVwyzVUsnPYEanF13Iq k1cq/Fc0GHccMfX39NPZHY1mxYlALDxDlE5MSUhMUC9BJiYhD2Koge5jsv8TUvBfVRxi DG0PV+GSbW5fVqDE0EwIP9qC7R/yqMdp4Yqy5Fb176tSZTiHA6burwBTi7iiN4Pep95f YtqUMZOAD7zJZBuzH+VxAIklJLJbK5tCles085MIWxCze9TwVDsPafQp3Vj4Tb69SP9j /lrdvK4YmcJjILevZ5aFARP/x9HzFfxHvHR17XK/jQtJ330Xb3kbWZw1CwQg0oHoNwzB 1V1Q== 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=LzeVJ+c87er8sOsJltuWdT/OZ2B5+hQi4wbiVzxF2mI=; b=Dhw4ETDHhxuf3vj4Lz4HGD6y2fc2Q4RFL9NAd/GJchkpCSnn95yfMvBxomASCMQBtd hSxbTNa06ZRV7P/e2CzBEQiqL9qUS1Ji2rJOhiEHf7cIy9maMkFo4ufOAXiO1leClzLs I5K258Ga7SOmTIbIpXBAm/SrzOwfq72sYhpZY= 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=LzeVJ+c87er8sOsJltuWdT/OZ2B5+hQi4wbiVzxF2mI=; b=EBl6tBvutuCfirsN3V45YAC7OJTfA5lZ+wSoxvTILJLoBaldFVeiao6nlnAU+zwg7g LorIHGpfFa+XWQB6uEPttQSGzpnxPn+i2nLxfwE9QLy7X7cgdI+UXZMy1jgKjbr6YVWC UhGXpLXA6iHhQlBfhUxx6FHevrmfvmbwQW8Xud+CygNgvlKGOrTLleO90Q+kn7MRqVbM ok2irH5dl6Q/wy4wJ2+DRZhgYlBIUuxVsvVQNj0hQYMnmXby3EJB0ADj0rcrqzSPbk/b 3mXVuKgbqqouA04OA6Q4I6LU/dY17TaNsGC2VIubYXZ/JjQWikvtOaQ49igxcfrYG+Y8 UDqg== X-Gm-Message-State: ALoCoQk2Oq28kEl90AeI6Nm+Qh3HrGGK2LLut9xNX08CBF2xIUBCpBWrIxWns5+W/Yp+NSOUgki9 X-Received: by 10.140.43.194 with SMTP id e60mr2603611qga.60.1422370982468; Tue, 27 Jan 2015 07:03:02 -0800 (PST) MIME-Version: 1.0 Sender: agrieve@google.com Received: by 10.140.101.79 with HTTP; Tue, 27 Jan 2015 07:02:42 -0800 (PST) In-Reply-To: <1298B14A1D0704468AE73FC92557A162257EDDDF@SHSMSX104.ccr.corp.intel.com> References: <1298B14A1D0704468AE73FC92557A162257EDDDF@SHSMSX104.ccr.corp.intel.com> From: Andrew Grieve Date: Tue, 27 Jan 2015 10:02:42 -0500 X-Google-Sender-Auth: KiVj3isWRQ2BstUlYJYXF1saWb8 Message-ID: Subject: Re: File Transfer plugin and Crosswalk engine cookies To: dev Content-Type: multipart/alternative; boundary=001a113a5fb0264434050da38d52 X-Virus-Checked: Checked by ClamAV on apache.org --001a113a5fb0264434050da38d52 Content-Type: text/plain; charset=UTF-8 Sounds good. We should add a --crosswalk flag to createmobilespec.sh :) On Tue, Jan 27, 2015 at 2:07 AM, Hu, Ningxin wrote: > Hi Joe, > > > > > Crosswalk has its own release schedule, so it should have its own test > project > > somewhere that tests the interfaces that it implements. Of course, this > > would be similar to the ones that we still need to write for the > > AndroidWebView. That said, I think for now we should proceed with the > > current tests and write the tests for 4.1.x > > > > This means that even if Crosswalk doesn't pass the JUnit tests, it still > won't > > hold up the Cordova 4.0 release, because it's Crosswalk failing the > tests, not > > Cordova itself. Being independent and interoperable is good, since I > > anticipate Crosswalk to release much more quickly than Cordova. > > > > It makes sense. > > From crosswalk-engine testing perspective, let's: > 1. focus on mobile-spec integration test for Cordova 4.0 release > 2. maintain the JUnit test project independently and align with 4.1.x > development > > Please let us know if there are anything missed. > > Thanks, > -ningxin > > > > > On Mon Jan 26 2015 at 10:14:11 PM Fu, Junwei > wrote: > > > > > Crosswalk engine have been tested with mobile-spec and owned > > > functionality test, but there are no JUnit test for Crosswalk engine, > > > and the JUnit test in cordova-anroid 4.0 were being re-wrote. Does the > > > Crosswalk engine need pass JUnit test before voting on releases? > > > What's plan about making JUnit test cases to test pluggable webView. > > > > > > Thanks, > > > Junwei. > > > > > > -----Original Message----- > > > From: Joe Bowser [mailto:bowserj@gmail.com] > > > Sent: Tuesday, January 27, 2015 7:55 AM > > > To: dev > > > Subject: Re: File Transfer plugin and Crosswalk engine cookies > > > > > > As far as I'm aware, we're basically waiting for this to be done > > > before starting the vote thread. Does this code exist yet? > > > > > > On Tue Jan 20 2015 at 12:12:22 PM Andrew Grieve > > > wrote: > > > > > > > I was planning on doing exactly what Darryl described. Would love > > > > such a PR! Note that we've just used this approach for the new > > > > WebView security > > > > hooks: > > > > > > > > https://github.com/apache/cordova-android/commit/ > > > > 623b394c830b8a83b5c2f16624d8013b6f851cd9 > > > > https://github.com/apache/cordova-android/commit/ > > > > 11002d4a56a4901087f514e2d01f8db392d0abe1 > > > > > > > > > > > > CookieManager has been exposed to plugins for a long time, and it > > > > would be crippling if FileTransfer could not set cookies. > > > > > > > > > > > > > > > > On Tue, Jan 20, 2015 at 1:48 PM, Joe Bowser > > wrote: > > > > > > > > > I think we should make the File Transfer plugin not need a > > > CookieManager. > > > > > It sounds like that's the bigger problem than it having to be tied > > > > > to a particular implementation of Cookies. > > > > > > > > > > On Tue Jan 20 2015 at 10:32:25 AM Darryl Pogue > > > > > > > > > > wrote: > > > > > > > > > > > With the idea of preparing Cordova Android 4.0.x for release > > > > > > starting to come up in discussions, I thought it was worth > > > > > > raising this as a potential blocker. > > > > > > > > > > > > The file transfer plugin uses the Android webview cookie manager. > > > > > > When you're using a Crosswalk webview (or GeckoView presumably), > > > > > > in the best case there are no cookies with file transfer > > > > > > requests and in the worst case it will cause the app to crash on > > > > > > Android > > > 4.2.x. > > > > > > > > > > > > There are a few existing bug reports and PRs related to this, > > > > > > but none of them propose a general solution for different > webviews. > > > > > > [1] [2] [3] [4] > > > > > > > > > > > > I was looking at this problem last week and the only general > > > > > > solution I could think of would involve adding a > > > > > > CordovaCookieManager interface and implementing it for each > > > > > > webview engine, which didn't seem to be the most idea situation. > > > > > > > > > > > > I can write that interface and make a PR for it, but I'd rather > > > > > > hear if anyone has better ideas before starting to make changes > > > > > > across multiple repos. > > > > > > > > > > > > > > > > > > [1]: https://github.com/crosswalk-project/crosswalk-cordova- > > > > > > android/pull/38 > > > > > > [2]: > > > > > > https://github.com/apache/cordova-plugin-file-transfer/pull/8 > > > > > > [3]: > > > > > > https://github.com/MobileChromeApps/mobile-chrome- > > apps/issues/46 > > > > > > 4 > > > > > > [4]: > > > > > > https://github.com/gaochun/cordova-plugin-file-transfer/commit/ > > > > > > 0063249e279b99a0feb4601650fc3a4c9e8a8ed2 > > > > > > > > > > > > ---------------------------------------------------------------- > > > > > > -- > > > > > > --- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org > > > > > > For additional commands, e-mail: dev-help@cordova.apache.org > > > > > > > > > > > > > > > > > > > > > > > > > --001a113a5fb0264434050da38d52--