Firebug causes errors with Google Maps Autocomplete

136 views
Skip to first unread message

villa...@gmail.com

unread,
Jun 17, 2014, 9:05:11 AM6/17/14
to fir...@googlegroups.com
I am using google.maps.places.Autocomplete.  Recently, I am getting the following JavaScript error shown in the FireBug console.

ReferenceError: V is not defined


 
...,function(a,b){V("places_impl",N(this,function(){this.Sa.getDetails(a,b)}))});G....


{main,p... > eval (line 1)

ReferenceError: rd is not defined


In an attempt to troubleshoot, I added the following script, and received the following results.

window.onerror=function(msg, url, linenumber){
 alert
('Error message: '+msg+'\nURL: '+url+'\nLine Number: '+linenumber);
 
return true
}



Error message: Script error.
URL
: http://maps.gstatic.com/cat_js/intl/en_us/mapfiles/api-3/17/3/%7Bmain,places%7D.js line 53 > eval
Line Number: 0

If I disable Firebug (or use another browser), I do not get the error.

Thoughts?

Jan Honza Odvarko

unread,
Jun 17, 2014, 9:08:34 AM6/17/14
to fir...@googlegroups.com
It could be related to issue 7528

There is a test Firebug build with patch included, see here:
https://code.google.com/p/fbug/issues/detail?id=7528#c3

Can you try it?
Does it solve your problem?

Honza

shmuck jones

unread,
Jun 30, 2014, 10:08:27 AM6/30/14
to fir...@googlegroups.com
Same issue here on Mozilla-build Linux 30 on Ubuntu with Firebug 2.01 (so Firebug update to 2.01 alone doesn't appear to fix the error). Only happened when the page wasn't being viewed while the JS was loading as I switched to a new tab.

If I understand correctly, the issue has been fixed in Firefox 31? (Issue 7359 - https://code.google.com/p/fbug/issues/detail?id=7359).

Good catch BTW. Never would have suspected Firebug (i had the same error except in my Google JS the V is a W for the same function? The most frustrating things was that the error didn't appear unless I re-attached behaviors in my Drupal app via the console.

ReferenceError: W is not defined

shmuck jones

unread,
Jun 30, 2014, 10:28:18 AM6/30/14
to fir...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages