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 87797D56D for ; Wed, 19 Sep 2012 20:50:20 +0000 (UTC) Received: (qmail 88723 invoked by uid 500); 19 Sep 2012 20:50:20 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 88688 invoked by uid 500); 19 Sep 2012 20:50:20 -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 88680 invoked by uid 99); 19 Sep 2012 20:50:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Sep 2012 20:50:20 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bowserj@gmail.com designates 209.85.212.177 as permitted sender) Received: from [209.85.212.177] (HELO mail-wi0-f177.google.com) (209.85.212.177) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Sep 2012 20:50:14 +0000 Received: by wibhn17 with SMTP id hn17so1250384wib.0 for ; Wed, 19 Sep 2012 13:49:54 -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=4aawrJXsXxPTtDp+S3Q6qnzLndyqRNM2OUPLioIbGkI=; b=Udn+Kdnhr/pFqhbarMbSAXgBVOjXb0WqBBnF+bHsWTgwhkUmTrmUr/yWkBM7NiqnqI hR2T6HzjcMzATeaVG+9aq2MmBEkgteac/env4dH/OC34YpCaD3t8F1tGRlqxvWr36Njk eGnVK1OrtFN4WOG2Gr9cFDr3J0Q/kPl6AplTZ64+g1K/7EOtudsVtmU6gkFazqs8MURX 4pCSuxpU9+6mEvrDCqEEuMhHsuFunlAwC7YWaFhMR6XTatVVAhisxdGhXSVfxW9WGuPV 0it3461bZwbdRiAwF1/uoGCrpMYUwyjZOwmAmviy1VxeZaqOqXRpFaKTCXDZIIfaPdXH E5kw== MIME-Version: 1.0 Received: by 10.216.153.139 with SMTP id f11mr2391281wek.16.1348087793867; Wed, 19 Sep 2012 13:49:53 -0700 (PDT) Received: by 10.223.195.7 with HTTP; Wed, 19 Sep 2012 13:49:53 -0700 (PDT) In-Reply-To: References: Date: Wed, 19 Sep 2012 13:49:53 -0700 Message-ID: Subject: Re: [Android] window.history vs navigator.app.history From: Joe Bowser To: callback-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 OK, there was a bug in the history. I fixed it, and we should be able to properly use the back button with the browser history. I'm going to do some more testing, and then I'll recommend deprecating it, because this is really quirky code. On Wed, Sep 19, 2012 at 1:31 PM, Joe Bowser wrote: > OK, I think we should make sure that window.history.go(-1) actually > works. I'm finding that it has weird results on mobile-spec, and I'm > investigating it now. > > Joe > > On Wed, Sep 19, 2012 at 11:57 AM, Filip Maj wrote: >> Yep sounds like a great deprecation candidate. >> >> On 9/19/12 11:50 AM, "Simon MacDonald" wrote: >> >>>Why don't we switch back to using web history as the default for 2.2 >>>but leave the old code in for now. We can deprecate it for removal in >>>5-6 months. That way people who are using the old way can still enable >>>it in their apps and they have time to make the switch. >>> >>>Simon Mac Donald >>>http://hi.im/simonmacdonald >>> >>> >>>On Wed, Sep 19, 2012 at 1:13 PM, Joe Bowser wrote: >>>> Hey >>>> >>>> There seems to be a lot of confusion as to how web history should >>>> work, how it works now and what people should be doing with web >>>> history. Currently, we have two web history APIs. One of which is >>>> the shim that was put in to get around the old URI error, and the >>>> other is the web browser history. For some reason, we're still using >>>> the shim instead of the web browser history by default because it >>>> works better with the apps that have already been deployed. However, >>>> I would like to see web history adopted because of the following >>>> reasons: >>>> >>>> 1. Consistency across browser >>>> 2. Fixes issues with iFrames on Android >>>> 3. Work-around no longer fixes the issue for 3.x and 4.0.x, since a >>>> fix for the hash and param problem was merged back in 1.9.0 >>>> >>>> That being said, it's entirely possible that we're doing something >>>> wrong with web history as it is, and based on the recent feedback from >>>> people who don't understand how open source works (public mail good, >>>> private mail bad), I think we should bring this up again. >>>> >>>> Thoughts? >>>> >>>> Joe >>