New issue
Advanced search Search tips

Issue 745656 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jul 2017
Components:
EstimatedDays: ----
NextAction: 2017-08-01
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

[Google Places API] Development-Tool is paused after address searching

Reported by blue.sky...@gmail.com, Jul 18 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36

Steps to reproduce the problem:
1. Open https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform on Chrome and wait for browser complete loading.
2. Open development-tool, using 'Pause On Caught Exceptions' ( PauseException.PNG )
3. Do address searching.

What is the expected behavior?
Dev-tool should not be paused when searching address

What went wrong?
Dev-tool will catch the StopIterator exception. Please see the attach image 'StopIteratorIssue.PNG' for detail.

Did this work before? N/A 

Chrome version: 59.0.3071.115  Channel: stable
OS Version: 6.3
Flash Version:
 
StopIteratorIssue.PNG
89.6 KB View Download
PauseException.PNG
54.2 KB View Download
Labels: Needs-Feedback
NextAction: 2017-08-01
Can you explain why you wouldn't expect it to pause?

You selected "Pause on Caught Exceptions" which translates to pause on *any* "throw".

Did you think this was pause on *UN*Caught exceptions? Which is the default?

Comment 2 by sivara...@gmail.com, Jul 18 2017

It was "pause on uncaught exceptions". The point of the issue is to ask why it should throw an exception in the first place? This looks like a bug somewhere with the dev tools to Google Maps.
Sorry I am not following your comment. From the screen shots and text you selected "Pause on caught exceptions".

Yes it appears the code for autocomplete throws an exception that is later caught inside the autocomplete code and handled. Some programmers use exceptions for logic control it is really up to the javascript author.

I believe Chrome's devtools is working correctly as the javascript written for google places API is throwing an exception.

Comment 4 by sivara...@gmail.com, Jul 19 2017

This makes sense. This issue can be rejected.
Status: WontFix (was: Unconfirmed)
The NextAction date has arrived: 2017-08-01

Sign in to add a comment