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 65C1FE1FE for ; Mon, 27 May 2013 19:25:55 +0000 (UTC) Received: (qmail 87525 invoked by uid 500); 27 May 2013 19:25:55 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 87448 invoked by uid 500); 27 May 2013 19:25:55 -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 87440 invoked by uid 99); 27 May 2013 19:25:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 May 2013 19:25:55 +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 purplecabbage@gmail.com designates 209.85.220.170 as permitted sender) Received: from [209.85.220.170] (HELO mail-vc0-f170.google.com) (209.85.220.170) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 May 2013 19:25:51 +0000 Received: by mail-vc0-f170.google.com with SMTP id gf11so5019698vcb.29 for ; Mon, 27 May 2013 12:25:30 -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 :cc:content-type; bh=m9C7B0zg93NGEI2Xp9n/fR1TLQ9gVWVM8Mv8Pxgh9ew=; b=iaGTGcK9PbYW4tNsUqiSlLnUUmQFmjdgiYxn8lbDYKNZTClrd/UwfqT+lIRxH1TIXV VvEAO9QvQXTXXh2GIaBe1UVhxwM4zIQrb5g9qgVSCtSQRGRG5iMXQQE3fGJ2Hdu70sl2 TNEw80Odxzg3CuOB9PH/SxaCI51VHdkt7P0R1drv2783xZOS+8zZbnRf4uRMnolOX8xJ E+l7MBD6Qb736rilAxwtc2JgFLAFu2bOUwCG+ve963Ym/1BBBGEeDtSZ6mSFRF8W5+L2 8KJ2QKkFuxHi3DSz/GANEETNi6DUOUZyaOodw38BwcLxCEWFF/cr4GU4GBPKfcBPA86j EK5Q== MIME-Version: 1.0 X-Received: by 10.52.101.230 with SMTP id fj6mr13087138vdb.125.1369682730252; Mon, 27 May 2013 12:25:30 -0700 (PDT) Received: by 10.58.248.97 with HTTP; Mon, 27 May 2013 12:25:30 -0700 (PDT) In-Reply-To: References: Date: Mon, 27 May 2013 12:25:30 -0700 Message-ID: Subject: Re: Changes in Mobile-Spec are breaking Cordova on Android 4.0.3 ICS From: Jesse To: Max Woghiren Cc: dev Content-Type: multipart/alternative; boundary=bcaec547c3ef97957e04ddb81c78 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec547c3ef97957e04ddb81c78 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Yes, there is a restriction against writing scripts with document.write in Windows8 for Windows Store Apps. + I think that the proper way via createElement. If you think it is better to just revert my change, that is fine, but I think it points to another latent bug that is requiring a specific load order, and we had/have an unknown race condition issue. I will also look at alternatives. Max, did reverting it fix it? @purplecabbage risingj.com On Mon, May 27, 2013 at 11:04 AM, Max Woghiren wrote: > I'll take a look at whether reverting this change fixes the issue. If so= , > I'll also wait for Jesse to chime in before doing anything else with it. > > > On Mon, May 27, 2013 at 1:52 PM, Joe Bowser wrote: > >> I think it was made because document.write is ugly. That being said, >> does this break something for WP? Seriously, adding a script tag >> shouldn't cause the browser to not redraw, but I've seen stranger. >> >> On Mon, May 27, 2013 at 10:49 AM, Andrew Grieve >> wrote: >> > Might have been this change: >> > >> https://git-wip-us.apache.org/repos/asf?p=3Dcordova-mobile-spec.git;a=3D= blobdiff;f=3Dcordova-incl.js;h=3D458e10a7155d812d084720f7082c4aa1c63f44c8;h= p=3Dc624996236eb2c7501714b48206c0b085460317a;hb=3D8b1fd7d49c278d43b34b4c041= f1575a1a39a664d;hpb=3Dae18f3ea59d0b53880644ef8f8dcc3d0ade6f76d >> > >> > Maybe let's just revert it? Not sure why it was made in the first plac= e? >> > >> > >> > On Sun, May 26, 2013 at 7:55 PM, Joe Bowser wrote: >> > >> >> Hey >> >> >> >> While I was setting up my environment on the Chromebook for JSConf, I >> >> noticed that I ran into the Android 4.0.3 bug again. It seems that >> >> when I was testing 4.0.3 last, I was using an old mobile-spec. After >> >> going through the project, it seems that the changes that were made t= o >> >> mobile-spec breaks rendering on Android. I have no idea why this >> >> would be, but this browser bug has nothing to do with the Android >> >> changes, and is most likely something to do with the Android ICS >> >> browser being a piece of crap. >> >> >> >> At any rate, can we get this fixed so that we can actually test this >> >> release? What did we do to break mobile-spec on Ice Cream Sandwich? >> >> Anyone have any ideas? >> >> >> >> Joe >> >> >> > > --bcaec547c3ef97957e04ddb81c78--