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 B3A1A10E50 for ; Tue, 27 Jan 2015 21:10:28 +0000 (UTC) Received: (qmail 73487 invoked by uid 500); 27 Jan 2015 21:10:28 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 73453 invoked by uid 500); 27 Jan 2015 21:10:28 -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 73439 invoked by uid 99); 27 Jan 2015 21:10:28 -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 21:10:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of muratsu@microsoft.com designates 207.46.100.119 as permitted sender) Received: from [207.46.100.119] (HELO na01-by2-obe.outbound.protection.outlook.com) (207.46.100.119) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jan 2015 21:10:24 +0000 Received: from SN2PR03MB032.namprd03.prod.outlook.com (10.255.175.42) by SN2PR03MB029.namprd03.prod.outlook.com (10.255.175.39) with Microsoft SMTP Server (TLS) id 15.1.65.13; Tue, 27 Jan 2015 21:09:40 +0000 Received: from SN2PR03MB032.namprd03.prod.outlook.com ([169.254.13.145]) by SN2PR03MB032.namprd03.prod.outlook.com ([169.254.13.145]) with mapi id 15.01.0065.013; Tue, 27 Jan 2015 21:09:40 +0000 From: Murat Sutunc To: "" Subject: Re: File Transfer plugin and Crosswalk engine cookies Thread-Topic: File Transfer plugin and Crosswalk engine cookies Thread-Index: AQHQNN9xHukZUYQDsUqgDEvSfGK2zpzJWcvvgAAW0gCACay0G4AAaDwAgAAIAsGAAAieAIAAhK0AgABHWc2AABIzAIAAAbyAgAALQMU= Date: Tue, 27 Jan 2015 21:09:40 +0000 Message-ID: References: <1298B14A1D0704468AE73FC92557A162257EDDDF@SHSMSX104.ccr.corp.intel.com> , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [2001:4898:80e8:ed31::2] authentication-results: cordova.apache.org; dkim=none (message not signed) header.d=none;cordova.apache.org; dmarc=none action=none header.from=microsoft.com; x-dmarcaction-test: None x-microsoft-antispam: BCL:0;PCL:0;RULEID:(3005004);SRVR:SN2PR03MB029; x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:;SRVR:SN2PR03MB029; x-forefront-prvs: 046985391D x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(51704005)(24454002)(164054003)(377454003)(13464003)(122556002)(19580395003)(19580405001)(46102003)(15975445007)(102836002)(217423001)(110136001)(82746002)(40100003)(50986999)(2656002)(92566002)(76176999)(54356999)(83716003)(99286002)(106116001)(575784001)(86362001)(93886004)(87936001)(107886001)(86612001)(450100001)(2900100001)(33656002)(36756003)(62966003)(77156002)(2950100001)(3826002)(104396002)(491001);DIR:OUT;SFP:1102;SCL:1;SRVR:SN2PR03MB029;H:SN2PR03MB032.namprd03.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.onmicrosoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jan 2015 21:09:40.6709 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR03MB029 X-Virus-Checked: Checked by ClamAV on apache.org What exactly would this flag do underneath? I suppose it will add the cross= walk plugin and run it's tests. Am I missing anything else? > On Jan 27, 2015, at 12:29 PM, Jesse wrote: >=20 > If you know there will be more, wouldn't it be simpler to just do somethi= ng > like : > --webview=3Dcrosswalk // ? >=20 > Just a small thing. >=20 > @purplecabbage > risingj.com >=20 > On Tue, Jan 27, 2015 at 12:23 PM, Andrew Grieve > wrote: >=20 >> I think that would be manageable. Especially since right now there is on= ly >> 1. >>=20 >>> On Tue, Jan 27, 2015 at 2:16 PM, Joe Bowser wrote: >>>=20 >>> I don't know if we want to do that, then we'd have to create flags for >>> every potential third party webview. >>>=20 >>> On Tue Jan 27 2015 at 7:03:28 AM Andrew Grieve >>> wrote: >>>=20 >>>> Sounds good. We should add a --crosswalk flag to createmobilespec.sh := ) >>>>=20 >>>>> On Tue, Jan 27, 2015 at 2:07 AM, Hu, Ningxin >>>> wrote: >>>>=20 >>>>> Hi Joe, >>>>>=20 >>>>>>=20 >>>>>> 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 >>>>>>=20 >>>>>> 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. >>>>>=20 >>>>> It makes sense. >>>>>=20 >>>>> 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 >>>>>=20 >>>>> Please let us know if there are anything missed. >>>>>=20 >>>>> Thanks, >>>>> -ningxin >>>>>=20 >>>>>>=20 >>>>>>> On Mon Jan 26 2015 at 10:14:11 PM Fu, Junwei >>>>>> wrote: >>>>>>=20 >>>>>>> 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. >>>>>>>=20 >>>>>>> Thanks, >>>>>>> Junwei. >>>>>>>=20 >>>>>>> -----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 >>>>>>>=20 >>>>>>> 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? >>>>>>>=20 >>>>>>> On Tue Jan 20 2015 at 12:12:22 PM Andrew Grieve < >>>> agrieve@chromium.org> >>>>>>> wrote: >>>>>>>=20 >>>>>>>> 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: >>>>>>>>=20 >>>>>>>> https://github.com/apache/cordova-android/commit/ >>>>>>>> 623b394c830b8a83b5c2f16624d8013b6f851cd9 >>>>>>>> https://github.com/apache/cordova-android/commit/ >>>>>>>> 11002d4a56a4901087f514e2d01f8db392d0abe1 >>>>>>>>=20 >>>>>>>>=20 >>>>>>>> CookieManager has been exposed to plugins for a long time, and >> it >>>>>>>> would be crippling if FileTransfer could not set cookies. >>>>>>>>=20 >>>>>>>>=20 >>>>>>>>=20 >>>>>>>> On Tue, Jan 20, 2015 at 1:48 PM, Joe Bowser >>=20 >>>>>> wrote: >>>>>>>>=20 >>>>>>>>> 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. >>>>>>>>>=20 >>>>>>>>> On Tue Jan 20 2015 at 10:32:25 AM Darryl Pogue >>>>>>>>> >>>>>>>>> wrote: >>>>>>>>>=20 >>>>>>>>>> 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. >>>>>>>>>>=20 >>>>>>>>>> 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. >>>>>>>>>>=20 >>>>>>>>>> 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] >>>>>>>>>>=20 >>>>>>>>>> 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. >>>>>>>>>>=20 >>>>>>>>>> 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. >>>>>>>>>>=20 >>>>>>>>>>=20 >>>>>>>>>> [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 >>=20 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org For additional commands, e-mail: dev-help@cordova.apache.org