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 C02FA118A8 for ; Mon, 5 May 2014 14:23:15 +0000 (UTC) Received: (qmail 53471 invoked by uid 500); 5 May 2014 14:23:15 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 53439 invoked by uid 500); 5 May 2014 14:23:15 -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 53431 invoked by uid 99); 5 May 2014 14:23:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2014 14:23:15 +0000 Date: Mon, 5 May 2014 14:23:15 +0000 (UTC) From: "Andrew Grieve (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CB-6623) Android WebView class not using evaluateJavascript when platform >= 19 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-6623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve resolved CB-6623. ------------------------------- Resolution: Not a Problem Calling webView.sendJavascript() does the right thing I think. If plugins call loadUrl() directly with a javascript:, then I don't think we should be mucking with this. > Android WebView class not using evaluateJavascript when platform >= 19 > ---------------------------------------------------------------------- > > Key: CB-6623 > URL: https://issues.apache.org/jira/browse/CB-6623 > Project: Apache Cordova > Issue Type: Bug > Components: Android > Affects Versions: 3.4.0 > Reporter: Graham Mueller > > I noticed there have been a couple issues (CB-5756 and CB-6052) that seem to refer to the usage of loadUrl for javascript: calls. In 4.4 this causes the page to load to fail, and the InAppBrowser was updated. > The WebView itself is still calling loadUrl for everything though -- see lines 509-516 of that class (loadWebViewNow). Shouldn't this be updated to instead use evaluateJavascript if the SDK_INT is >= 19? -- This message was sent by Atlassian JIRA (v6.2#6252)