Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8BBB5E9E3 for ; Fri, 22 Feb 2013 21:08:13 +0000 (UTC) Received: (qmail 74381 invoked by uid 500); 22 Feb 2013 21:08:13 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 74347 invoked by uid 500); 22 Feb 2013 21:08:13 -0000 Mailing-List: contact issues-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 issues@cordova.apache.org Received: (qmail 74215 invoked by uid 99); 22 Feb 2013 21:08:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Feb 2013 21:08:13 +0000 Date: Fri, 22 Feb 2013 21:08:13 +0000 (UTC) From: "Daniel Wirtz (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-2526) Cordova messes with global "navigator", renders navigator.getGamepads() useless MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-2526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13584698#comment-13584698 ] Daniel Wirtz commented on CB-2526: ---------------------------------- Can confirm the fix, it's working! > Cordova messes with global "navigator", renders navigator.getGamepads() useless > ------------------------------------------------------------------------------- > > Key: CB-2526 > URL: https://issues.apache.org/jira/browse/CB-2526 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaJS > Affects Versions: 2.4.0 > Reporter: Daniel Wirtz > Assignee: Andrew Grieve > Priority: Minor > Fix For: 2.6.0 > > > Cordova messes with the global "navigator" object and renders a call to navigator.webkitGetGamepads useless - throws Illegal Invocation Exception with Cordova, works without. > Workaround: Keep another reference to "navigator" before loading cordova-2.X.X.js. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira