Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 32414D7CA for ; Thu, 30 Aug 2012 02:56:47 +0000 (UTC) Received: (qmail 28077 invoked by uid 500); 30 Aug 2012 02:56:47 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 28056 invoked by uid 500); 30 Aug 2012 02:56:47 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 28047 invoked by uid 99); 30 Aug 2012 02:56:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2012 02:56:46 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FRT_ADOBE2,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.214.175 as permitted sender) Received: from [209.85.214.175] (HELO mail-ob0-f175.google.com) (209.85.214.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2012 02:56:42 +0000 Received: by obblz20 with SMTP id lz20so2506856obb.6 for ; Wed, 29 Aug 2012 19:56:21 -0700 (PDT) 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 :x-google-sender-auth:message-id:subject:to:content-type :x-system-of-record; bh=gyArFmbfrsY0KSOXou3LC7ResUCl7BOsc5cFy8yG2lY=; b=JB/VgN0l4zFCp43DZXQCkNDbymonchk312NqBQ4bOylB6PeLYlGr2ZL2e2a+dr5nDS 6X1AUDel8QAaJ4JmP9k0DZZjqQMztL3E+1G8gX41YyHL6Io/yQl/enY4C/0Lh9pgrQb6 I9WMN+KWs+BhB4wYcznfIWhsJfXHpmq0WwkjtX/WjQMblzjp6vFMk46U3kDbjTYl0z2/ jxiyCyOajgmVzWb/S3SWx13/E+BB3GE/8jOg1tz4X6lGpyk1N0DVGbJOWt++7bTszOn/ 59SHxVq8cC5gn8EOqTYS3mfrDE3gYVJttTnlR0QkjfFvcuA0Avr1WB5JChAw4hRyHyoR WYtw== X-Google-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 :x-google-sender-auth:message-id:subject:to:content-type :x-system-of-record:x-gm-message-state; bh=gyArFmbfrsY0KSOXou3LC7ResUCl7BOsc5cFy8yG2lY=; b=QAIWyA6DDzr3JIW48Y9RiOPt8p0BBfSKBRzLQqlPlEq3GnDaVqpzDqAiEa6q5fUW0Z nhmEQ1N0+F/RgyBmOYGi5LO+lqWV3aVEUaBqErTwjDDjRAqe3sr6j3ihsRhpXJNQXYhf xoPhVnxUKknWAPdvigliQjVG+TgtrQ17vlMGa7ZFDL57Ff2iCbpixzViPsji+/f8TfGL jx12y1XvuCv5lheffPda9NkcSYhg5Z09KETOMjBPpeTSW9crHFIQVorNQU7XuL3F0KZS 9nRkmmb85qKq2pUgKIF3AR22JTSEUGO8cliMHEjIo8QAWia3uGQDEQPMrlvTzJn0hKH4 o3Gw== Received: by 10.182.193.7 with SMTP id hk7mr3053511obc.30.1346295381536; Wed, 29 Aug 2012 19:56:21 -0700 (PDT) Received: by 10.182.193.7 with SMTP id hk7mr3053504obc.30.1346295381400; Wed, 29 Aug 2012 19:56:21 -0700 (PDT) MIME-Version: 1.0 Sender: agrieve@google.com Received: by 10.182.125.71 with HTTP; Wed, 29 Aug 2012 19:56:01 -0700 (PDT) In-Reply-To: References: From: Andrew Grieve Date: Wed, 29 Aug 2012 22:56:01 -0400 X-Google-Sender-Auth: 3msTx3gKyZ3F59Kko_vIPkT0MYI Message-ID: Subject: Re: [iOS] Echo Plugin To: callback-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=f46d0447868ff89d3604c872d1eb X-System-Of-Record: true X-Gm-Message-State: ALoCoQluFxN4ZShs9Vs0Xyl0wZSA1pPCpAiSvMtSVnurlihiBQVZplimcmr8nusTHdXFK1X63Q+qs7TPTJVd6YnMMbFUc/7hNWAZ0oS+WsucKWeVUboc5Ten6zWCQCUJs5tSuRAdkPqddX94Yb71uAH6WmcoGfpSyWJkJTkYtlPTls+nVqlU/Izlb6r2rdE2Sba8z01IUmE7IUR5WIrmEic9Im37/vRi4g== X-Virus-Checked: Checked by ClamAV on apache.org --f46d0447868ff89d3604c872d1eb Content-Type: text/plain; charset=ISO-8859-1 Agree that this plugin is useless outside of testing. The relevant testing code is in mobile-spec, and the idea is that any platform that adds an echo plugin will be able to benchmark their bridge using the mobile-spec page. I'm also planning on adding an automated mobile-spec test that loops through all bridge modes and ensures that they work (for all platforms that support multiple modes). I didn't want to add another step that would be needed in order for the mobile-spec to work. There is already: - generate a project - link in the mobile-spec directory - Generate and copy in fresh JS - add sites to whitelist Quite likely the command-line tools could make this easier though... Then we could write a script to generate the mobile-spec project? For now, I was thinking the echo plugin would exist, but not be required to be implemented by all platforms, and that we would not document it. I don't think there's much risk of project making use of it, so it will be easy to move it out once things are in place. On Wed, Aug 29, 2012 at 8:20 PM, Simon MacDonald wrote: > The same plugin exists in Android and I agree with you Fil. This stuff > should get moved off to a testing directory. In fact the Android repo has a > test sub-directory it would fit right into. > > Simon Mac Donald > http://hi.im/simonmacdonald > > > On Wed, Aug 29, 2012 at 5:38 PM, Filip Maj wrote: > > > I noticed there was an additional plugin added to the core iOS plugins. > > May I ask why? > > > > At this point if we're adding (core) plugins to implementations, keeping > > with the cross-platform spirit of the project, at the least all other > > implementations should have it as well, and it should be documented, > > unless we are covering/polyfilling some specific issue/weakness in a > > platform. > > > > I don't think having this plugin be a part of the core iOS framework > helps > > 99.9% of users consuming cordova. Just adds more kbs to the framework. If > > it is for testing/benchmark purposes then it should exist in a > > testing/benchmark project. > > > > > --f46d0447868ff89d3604c872d1eb--