Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 327CB200C73 for ; Wed, 26 Apr 2017 01:43:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 31276160BB6; Tue, 25 Apr 2017 23:43:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 79004160BB3 for ; Wed, 26 Apr 2017 01:43:08 +0200 (CEST) Received: (qmail 73227 invoked by uid 500); 25 Apr 2017 23:43:07 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 73216 invoked by uid 99); 25 Apr 2017 23:43:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Apr 2017 23:43:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 1E261C3275 for ; Tue, 25 Apr 2017 23:43:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.001 X-Spam-Level: X-Spam-Status: No, score=-100.001 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 4PjVYnMeQo7g for ; Tue, 25 Apr 2017 23:43:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id C84E75FBE5 for ; Tue, 25 Apr 2017 23:43:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D2D56E08BB for ; Tue, 25 Apr 2017 23:43:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2F3AB21DD6 for ; Tue, 25 Apr 2017 23:43:04 +0000 (UTC) Date: Tue, 25 Apr 2017 23:43:04 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-12266) InappBrowser: Browser: loadstop event.url is not a string MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 25 Apr 2017 23:43:09 -0000 [ https://issues.apache.org/jira/browse/CB-12266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15983839#comment-15983839 ] ASF GitHub Bot commented on CB-12266: ------------------------------------- Github user cordova-qa commented on the issue: https://github.com/apache/cordova-plugin-inappbrowser/pull/218 Cordova CI Build has completed successfully. **Commit** - [Link](https://github.com/apache/cordova-plugin-inappbrowser/pull/218/commits/bfb33988be6dae6708a254872da3bf4081eeeb7b) **Dashboard** - [Link](http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/142/) 36 tests run, 0 skipped, 0 failed. > InappBrowser: Browser: loadstop event.url is not a string > --------------------------------------------------------- > > Key: CB-12266 > URL: https://issues.apache.org/jira/browse/CB-12266 > Project: Apache Cordova > Issue Type: Bug > Components: Browser, Plugin InAppBrowser > Affects Versions: 3.5.0 > Environment: All browsers (Chrome, Firefox and IE tested) > Reporter: Pieter-Jan Dewitte > Assignee: Filip Maj > Priority: Minor > Labels: pluginsrelease > > In the browser, the url attribute of the loadstop event (InAppBrowserEvent) is not a string as documented, but a Location object. The url is stored in event.href. > Steps to reproduce: > {quote} > $ cordova create eventstop_url > $ cd eventstop_url > $ cordova plugin add cordova-plugin-inappbrowser > {quote} > Run the following code after device ready: > {code:javascript} > // https://ssl.gstatic.com as an example because it is allowed by the default CSP > var ref = cordova.InAppBrowser.open('https://ssl.gstatic.com', '_blank'); > ref.addEventListener('loadstop', function (event) { > console.log("loadstop event:", event); > }); > {code} > {quote} > $ cordova serve > {quote} > The console output is: > {quote} > loadstop event: Object \{type: "loadstop", url: Location\} > {quote} -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org