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 AA936D14E for ; Thu, 15 Nov 2012 22:22:07 +0000 (UTC) Received: (qmail 47509 invoked by uid 500); 15 Nov 2012 22:22:07 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 47395 invoked by uid 500); 15 Nov 2012 22:22:07 -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 47386 invoked by uid 99); 15 Nov 2012 22:22:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2012 22:22:07 +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 (nike.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, 15 Nov 2012 22:22:01 +0000 Received: by mail-ob0-f175.google.com with SMTP id vb8so2092489obc.6 for ; Thu, 15 Nov 2012 14:21:40 -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 :x-google-sender-auth:message-id:subject:to:content-type; bh=+W9UKruzb6zBOj3AxbYKDcPMej9MVkS+twKGIFSYojU=; b=Wv3WSSP3T+2O9Ji09AuNegvJTUkB36zHbQDfgU7or2+1qJQL8K07g3W1mPi9TIwOdL +YjJf7GBmVumVmpBCciSEmSv4SLw3CccVzQwkREz5Zr0AQ+M+iDI8/OzQNbyXhC/Q230 s/6xurwpD2mpMm3AGPH0/5Sb/2TiMbceF8UL8fiAuXvtI7IfpGT8xwkRL80GBOxhjPvS cxgVbSvkToH5hdKtReLdME0yvysd10BahK15rKCq2LZum0gb5Q6oB+4ooSlk/BGc2Yi4 K/yIdbDdBmOXg/ecHgwvmZMXS+yC5SrvLllLQ5PcZ9fNJf0s2OTjTRMt1w5sK8wHSE1O GEng== 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-gm-message-state; bh=+W9UKruzb6zBOj3AxbYKDcPMej9MVkS+twKGIFSYojU=; b=d+OqZ+EAoaYauJ6WjQm39xUVpFOjjA2aQPhCXQh728avgw5tPY+kFspU/90w10wiLb Q69/gqwv1ZdgSee1cpunvowcguGA2I5gPjn01G/s/Os4gpquJS0WWAgi/YXDqyRpeDuu roJPPF7VSsGDxteoJ+7aNPKZHSRD2fUrx0dxpQLg8bdc08AGlqpvu9S+Vj1xMzGdZxlv YE0uMQlTp9cb2KyBCoksT+ATNYWu7+rs8IxKwQbum4u9SHfvB6DFspoD66fHVqjVftoO L/+RLDfV5MJbEdUsmVsnyjgms3c1+mxtln4HRz42iIdM4nwMQpdvjlZvIzrdvFJOJg1a ju/A== Received: by 10.60.154.231 with SMTP id vr7mr2214042oeb.119.1353018099940; Thu, 15 Nov 2012 14:21:39 -0800 (PST) MIME-Version: 1.0 Sender: agrieve@google.com Received: by 10.182.138.5 with HTTP; Thu, 15 Nov 2012 14:21:18 -0800 (PST) In-Reply-To: References: From: Andrew Grieve Date: Thu, 15 Nov 2012 17:21:18 -0500 X-Google-Sender-Auth: nBxbv-Vp_SWGytPWNHHj4hf8Hd4 Message-ID: Subject: Re: Changes to the JS? To: Simon MacDonald , dev Content-Type: multipart/alternative; boundary=bcaec550b6f638bea604ce90132f X-Gm-Message-State: ALoCoQm4laHN5AXhxQhNSlmkCphUBqinorHcSh6cwnuxjkKXSFIGmMe10/QhaX/f1jlwWIWAnTVvCeA12n9SjxZaer3xceyOZWLl9Uy20WUKdC38YwtJltwp908EFQLW6ILI22K9XF94Iqd4Ok0qEXWLQ5eVwbLV1188saC0+sOT8a+XpEm9Adzv83mnroD46MLvCn5HUfe4 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec550b6f638bea604ce90132f Content-Type: text/plain; charset=ISO-8859-1 Whoops, didn't notice that! Done! On Thu, Nov 15, 2012 at 4:25 PM, Simon MacDonald wrote: > Yup, all File tests are passing for me too. In FileTransfer only one of > the abort tests fails to run. BTW this thread is only me and you. You might > want to post to the list letting them know everything is back to normal. > > Simon Mac Donald > http://hi.im/simonmacdonald > > > On Thu, Nov 15, 2012 at 4:20 PM, Andrew Grieve wrote: > >> Okay, just pushed and have run spec tests before / after changes. They >> File ones failed before and are fixed now. >> >> I'm seeing file transfer tests failing as well as contact ones. The >> contact ones have always been flakey for me, but I'm not sure what's up >> with FT. Maybe because I upgraded to 4.2? I'll have to look into it. >> >> >> On Thu, Nov 15, 2012 at 3:34 PM, Andrew Grieve wrote: >> >>> I didn't. I'm just about finished the rename from >>> objects->defaults/clobbers and then will run the tests. >>> >>> >>> On Thu, Nov 15, 2012 at 3:32 PM, Simon MacDonald < >>> simon.macdonald@gmail.com> wrote: >>> >>>> Did you run it against mob-spec? It doesn't seem to change anything for >>>> me. Could be me though. >>>> >>>> Simon Mac Donald >>>> http://hi.im/simonmacdonald >>>> >>>> >>>> On Thu, Nov 15, 2012 at 3:24 PM, Andrew Grieve wrote: >>>> >>>>> Fix pushed. >>>>> >>>>> >>>>> On Thu, Nov 15, 2012 at 3:23 PM, Simon MacDonald < >>>>> simon.macdonald@gmail.com> wrote: >>>>> >>>>>> np >>>>>> >>>>>> Simon Mac Donald >>>>>> http://hi.im/simonmacdonald >>>>>> >>>>>> >>>>>> On Thu, Nov 15, 2012 at 3:22 PM, Andrew Grieve wrote: >>>>>> >>>>>>> I'll fix the typo, and rename the keys. Thanks for finding this >>>>>>> Simon. >>>>>>> >>>>>>> >>>>>>> On Thu, Nov 15, 2012 at 3:20 PM, Andrew Grieve >>>>>> > wrote: >>>>>>> >>>>>>>> Oh snap. yeah, I see. Andrew broke it. Who can spot the typo?: >>>>>>>> >>>>>>>> if (platform.object) { >>>>>>>> >>>>>>>> builder.build(platform.objects).intoAndClobber(context); >>>>>>>> } >>>>>>>> >>>>>>>> >>>>>>>> On Thu, Nov 15, 2012 at 3:14 PM, Simon MacDonald < >>>>>>>> simon.macdonald@gmail.com> wrote: >>>>>>>> >>>>>>>>> Actually, I don't think the items in module.exports.objects in >>>>>>>>> platform.js *do* clobber. At least what I'm seeing right now with the edge >>>>>>>>> JS code File, FileReader and FileError are not clobbered. >>>>>>>>> >>>>>>>>> When I run the mobile spec file tests these test cases fail but if >>>>>>>>> I revert back to 2.2.0 JS then all tests pass. >>>>>>>>> >>>>>>>>> Simon Mac Donald >>>>>>>>> http://hi.im/simonmacdonald >>>>>>>>> >>>>>>>>> >>>>>>>>> On Thu, Nov 15, 2012 at 2:49 PM, Andrew Grieve < >>>>>>>>> agrieve@chromium.org> wrote: >>>>>>>>> >>>>>>>>>> Oh! This reminds me... >>>>>>>>>> >>>>>>>>>> When I was doing the navigator.connection work, I had a tough >>>>>>>>>> time figuring >>>>>>>>>> out how to get the builder to do the correct thing. It's a bit >>>>>>>>>> confusing >>>>>>>>>> because module.exports.objects in common.js don't clobber, but >>>>>>>>>> module.exports.objects in platform.js *do* clobber. >>>>>>>>>> >>>>>>>>>> I wanted to propose a change: >>>>>>>>>> for both common and platform: >>>>>>>>>> "merges" --> intoAndMerge >>>>>>>>>> "clobbers" --> intoAndClobber >>>>>>>>>> "defaults" --> intoButDoNotClobber >>>>>>>>>> >>>>>>>>>> get rid of "objects" >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Thu, Nov 15, 2012 at 2:44 PM, Simon MacDonald >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>> > Nope, it was a change to the JS. The objects are no longer >>>>>>>>>> being clobbered >>>>>>>>>> > correctly. I know who to bug now. >>>>>>>>>> > >>>>>>>>>> > Thanks all. >>>>>>>>>> > >>>>>>>>>> > Simon Mac Donald >>>>>>>>>> > http://hi.im/simonmacdonald >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > On Thu, Nov 15, 2012 at 1:25 PM, Michal Mocny < >>>>>>>>>> mmocny@chromium.org> wrote: >>>>>>>>>> > >>>>>>>>>> > > Just a wild guess: >>>>>>>>>> > > >>>>>>>>>> > > Way back when ios 6.0 beta came out, same thing happened due >>>>>>>>>> to >>>>>>>>>> > > webview adding a semi complete implementation, and we weren't >>>>>>>>>> forcing >>>>>>>>>> > > a clobber. >>>>>>>>>> > > Perhaps you updated to android 4.2 and perhaps its webview >>>>>>>>>> also added >>>>>>>>>> > > something and also needs a forced clobber.. >>>>>>>>>> > > >>>>>>>>>> > > -Michal >>>>>>>>>> > > >>>>>>>>>> > > On Thu, Nov 15, 2012 at 12:28 PM, Simon MacDonald >>>>>>>>>> > > wrote: >>>>>>>>>> > > > Hey, >>>>>>>>>> > > > >>>>>>>>>> > > > I'm noticing something weird today running mobile spec on >>>>>>>>>> Android. I'm >>>>>>>>>> > > get >>>>>>>>>> > > > File test failures and I think it is related to the Android >>>>>>>>>> WebView >>>>>>>>>> > > > implementations File, FileReader and FileError objects not >>>>>>>>>> being >>>>>>>>>> > > clobbered >>>>>>>>>> > > > like they should be. >>>>>>>>>> > > > >>>>>>>>>> > > > Were their any changes around that area of the code? >>>>>>>>>> > > > >>>>>>>>>> > > > Simon Mac Donald >>>>>>>>>> > > > http://hi.im/simonmacdonald >>>>>>>>>> > > >>>>>>>>>> > >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > --bcaec550b6f638bea604ce90132f--