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 21B3311D5C for ; Tue, 26 Aug 2014 02:13:05 +0000 (UTC) Received: (qmail 61729 invoked by uid 500); 26 Aug 2014 02:13:04 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 61689 invoked by uid 500); 26 Aug 2014 02:13:04 -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 61677 invoked by uid 99); 26 Aug 2014 02:13:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2014 02:13:04 +0000 X-ASF-Spam-Status: No, hits=2.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of csantana23@gmail.com designates 209.85.212.182 as permitted sender) Received: from [209.85.212.182] (HELO mail-wi0-f182.google.com) (209.85.212.182) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2014 02:13:00 +0000 Received: by mail-wi0-f182.google.com with SMTP id d1so3402191wiv.3 for ; Mon, 25 Aug 2014 19:12:39 -0700 (PDT) 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=KQDPVGWoTYW4bUrFBlaDtyl28EZtYrWBBjKFa+JR0lo=; b=UFVdj+yhdIaCXpMIousZrbNAmT0ShQC+jOHFoT3VtESZVd7ZwqeECXYPQGJgmLkm+A EBlkebgCbVgqVyYzlDmxuEKuKYWcGbBe0vIjs05OMwfXDd2pIDwbU21ZhjjlsvuRKVz0 fbEaTWufrbkOOZCm1B8zpJ2PuYK2A7tbPwV/cnvwsV9Cu8GDp5U5k+jJaxeJtRiOerWJ vEsB48H7x7gWqZeNmioFN3P8JSwLNeFw8GNUO7/yeIiqAcCm+pdkU3Wj0ECPRVZ6UIIV t4WsA1F4DIVvWCiiRfVyCpE8yPqPoFHUSRCPO1k7U7aZUUKumAwJnkdWuHUny6F2jDSl QWAA== MIME-Version: 1.0 X-Received: by 10.180.86.1 with SMTP id l1mr18554239wiz.62.1409019158975; Mon, 25 Aug 2014 19:12:38 -0700 (PDT) Received: by 10.194.109.201 with HTTP; Mon, 25 Aug 2014 19:12:38 -0700 (PDT) In-Reply-To: References: <97DCF304-64B8-4A4A-B2C2-31E69662BAEC@gmail.com> <39A9A02D-DC2D-4406-A374-5A05FCABF2D6@gmail.com> Date: Mon, 25 Aug 2014 22:12:38 -0400 Message-ID: Subject: Re: [Testing] No content to speak of From: Carlos Santana To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=f46d0443045673dbd405017ed67b X-Virus-Checked: Checked by ClamAV on apache.org --f46d0443045673dbd405017ed67b Content-Type: text/plain; charset=UTF-8 Hey I thought this was a free content thread. $ ping cordova.io On Mon, Aug 25, 2014 at 7:51 PM, Jesse wrote: > Okay, thanks all, I am digging in now too for wp8, and windows, I don't > think that change was intentional in Entry.js, but I'll see soon. > > Moving the rest of conversation to CB-7375 > , This thread was meant to > test communication, which has passed. > > @purplecabbage > risingj.com > > > On Mon, Aug 25, 2014 at 4:46 PM, Martin Gonzalez < > martin.c.glez.glez@gmail.com> wrote: > > > The reason of this fails as Ian pointed out are the references to the > > filesystem on the entry. > > 125 Expected --> FileSystem: persistent ; Returned :temporary > > 126 Expected --> FileSystem: temporary ; Returned :persistent > > 127 Expected --> FileSystem: persistent ; Returned :temporary > > 128 Expected --> FileSystem: temporary ; Returned :persistent > > > > I've got this results, getting the filesystem property from the entry. > > > > I've created an issue related to this subject, in order to fix it for all > > platforms. > > https://issues.apache.org/jira/browse/CB-7375 > > > > > > > > 2014-08-25 18:31 GMT-05:00 Ian Clelland : > > > > > The changes to Entry.js introduce this failure; for some reason the > > > reference to entry.filesystemName was replaced with > > entry.filesystem.name, > > > and so the entry is not being returned with a reference to the correct > > > filesystem. > > > > > > I think that this was a change made to accommodate Windows Phone, which > > > broke Android (and probably iOS). There's a fundamental difference > > between > > > how we have to pass the filesystem object across the bridge vs. how we > > can > > > pass it around in JavaScript, and this change makes one style work, at > > the > > > expense of the other. > > > > > > I'll see this evening if I can work up a version that will work for > both, > > > and get some WP8 testers to look at it in the morning. > > > > > > Ian > > > > > > > > > On Mon, Aug 25, 2014 at 7:06 PM, Jesse > wrote: > > > > > > > Which tests are now failing, what do they test, and how have you > > verified > > > > that they should pass? Just because they used to pass, does not mean > > they > > > > are valid, or should have passed. > > > > > > > > This change to DirectoryEntry.js makes perfect sense, and may have > > > > uncovered a previously passing test that should have failed. > > > > > > > > - if (!/\/$/.test(nativeURL)) { > > > > + if (nativeURL && !/\/$/.test(nativeURL)) { > > > > nativeURL += "/"; > > > > } > > > > > > > > Similarily, the changes to www/resolveLocalFileSystemURI.js and > > > > www/Entry.js do not appear to introduce a new failure, but could be > > > > uncovering previously falsely passing test(s) > > > > > > > > > > > > > > > > @purplecabbage > > > > risingj.com > > > > > > > > > > > > On Mon, Aug 25, 2014 at 3:56 PM, Martin Gonzalez < > > > > martin.c.glez.glez@gmail.com> wrote: > > > > > > > > > The tests shouldn't be failing. I agree with Ian, the tests started > > to > > > > fail > > > > > after: > > > > > 0ffb969 (Fixes multiple mobilespec tests > > > > > errors). I've verified with the previous commit and everything > works > > as > > > > > expected. > > > > > On Aug 25, 2014 5:46 PM, "Jesse" wrote: > > > > > > > > > > > I was just noting a possible reason for the tests to now fail. > > > > > > Has anyone verified whether they should fail or not? > > > > > > > > > > > > @purplecabbage > > > > > > risingj.com > > > > > > > > > > > > > > > > > > On Mon, Aug 25, 2014 at 3:27 PM, Michal Mocny < > mmocny@chromium.org > > > > > > > > wrote: > > > > > > > > > > > > > The 4 failing file tests were reported on JIRA ( > > > > > > > https://issues.apache.org/jira/browse/CB-7093) and I thought > > > > > > Martin/Jesse > > > > > > > were looking at them. > > > > > > > > > > > > > > > > > > > > > On Mon, Aug 25, 2014 at 5:39 PM, Marcel Kinard < > > cmarcelk@gmail.com > > > > > > > > > > wrote: > > > > > > > > > > > > > > > Yes, all the other automated tests (except the 4 File tests > as > > > > > > previously > > > > > > > > noted) are running successfully, so that does seem to point > > > > somewhere > > > > > > > else > > > > > > > > besides the bridge. > > > > > > > > > > > > > > > > The issue appears to be related to CB-6764. If I remove from > > > > > > > mobile-spec's > > > > > > > > index.html the script reference to > "doesnotexist/notcordova.js" > > > > then > > > > > > the > > > > > > > > device object and the yellow box gets populated properly. > > > > > > > > > > > > > > > > On Aug 25, 2014, at 4:23 PM, Ian Clelland < > > > iclelland@chromium.org> > > > > > > > wrote: > > > > > > > > > > > > > > > > > Usually an empty yellow box on startup means that the > bridge > > > > isn't > > > > > > > > working, > > > > > > > > > but if you're seeing ~300 other successful tests, then > that's > > > > > > unlikely > > > > > > > to > > > > > > > > > be the problem. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > Regards, > > Martin Gonzalez > > > -- Carlos Santana --f46d0443045673dbd405017ed67b--