This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 236072

Summary: Inspection on mobile Safari terminated by navigation to different page
Product: web Reporter: Vladimir Riha <vriha>
Component: CordovaAssignee: Jan Becicka <jbecicka>
Status: VERIFIED FIXED    
Severity: normal CC: mmirilovic, pjiricka, sdedic
Priority: P2 Keywords: 7.4_HR_FIX
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Riha 2013-09-17 13:06:50 UTC
To reproduce, try to run e.g. Responsive Rabbits on mobile Safari (as HTML5 project, not Cordova). In opened index page, click on "Learn more" button link => inspection is terminated, all inspection related windows are closed. The same works for e.g. mobile/desktop Chrome

I don't think this is a stopper for RC, but perhaps a candidate to HR_FIX? 




Product Version: NetBeans IDE 7.4 RC1 (Build 201309152201)
Java: 1.7.0_40; Java HotSpot(TM) Client VM 24.0-b56
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Jan Becicka 2013-09-17 14:25:20 UTC
Changeset: df76c1161210
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2013-09-17 16:22
Message:
Comment 2 Vladimir Riha 2013-09-23 11:13:51 UTC
Verified in trunk, please continue with integration


Product Version: NetBeans IDE Dev (Build 201309191137)
Updates: Updates available
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b56
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43
System: Mac OS X version 10.8.4 running on x86_64; UTF-8; en_US (nb)
Comment 3 Svata Dedic 2013-09-23 13:02:48 UTC
Verified; the last known tab will be returned if no URL matches, but the tab is still in the map. 

The tab selection algorithm is unchanged for the case the URL matches one of the entries (the retained code that first does replaceAll() although the string cannot start with the "file:/" prefix at the point looks suspicious)
Comment 4 Jan Becicka 2013-09-23 13:35:40 UTC
(In reply to Svata Dedic from comment #3)
> Verified; the last known tab will be returned if no URL matches, but the tab
> is still in the map. 
> 
> The tab selection algorithm is unchanged for the case the URL matches one of
> the entries (the retained code that first does replaceAll() although the
> string cannot start with the "file:/" prefix at the point looks suspicious)

thanks for the review. Just for the record: "file:/" prefix is not subject of this patch.
Comment 5 Jan Becicka 2013-09-23 13:47:26 UTC
changeset:   272699:96971027ceb5
branch:      release74
tag:         tip
parent:      272692:e8fb23a54a6f
user:        Jan Becicka <jbecicka@netbeans.org>
date:        Tue Sep 17 16:22:20 2013 +0200
summary:     Issue #236072 - Inspection on mobile Safari terminated by navigation to different page
Comment 6 Vladimir Riha 2013-09-27 08:47:41 UTC
Verified in RC2