angular / batarang

AngularJS WebInspector Extension for Chrome
MIT License
2.43k stars 338 forks source link

batarang chrome extension causes browser to crash with angular 1.2.23 #174

Closed rolandjitsu closed 9 years ago

rolandjitsu commented 9 years ago

If you open the following page PJ and have the Chrome extension installed, it will crash the browser. If you wait for it and open the dev tools I can see the following error:

TypeError: Cannot read property 'replace' of undefined
    at getFunctionNames (chrome-extension://ighdmehidhipcmcojjgiloacoafjmpfk/dist/hint.js:1996:20)
    at ngEventHandler (chrome-extension://ighdmehidhipcmcojjgiloacoafjmpfk/dist/hint.js:1903:36)
    at O (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js:54:392)
    at g (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js:47:256)
    at O (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js:54:333)
    at https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js:61:297
    at g (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js:47:256)
    at https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js:46:377
    at https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js:48:217
    at L (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js:52:47) <a class="currency clearfix" data-ng-click="!currency.disabled &amp;&amp; currency.set(model)" data-ng-class="{ 'active': currency.selected(model) }">angular.js:10061 (anonymous function)

I tried uninstalling the extension and now it successfully loads the page without any issues.

Contour commented 9 years ago

I have the same problem, on both minified and not minified version of angular.

Contour commented 9 years ago

This is duplicate of https://github.com/angular/angularjs-batarang/issues/166

AndriMar commented 9 years ago

I have the same problem. Removed the extension and the page loads without errors.

Splaktar commented 9 years ago

You rollback to Batarang 0.4.3 via instructions here: http://stackoverflow.com/a/27404493/633107

btford commented 9 years ago

Closing this as a duplicate.

btford commented 9 years ago

FYI I just pushed a v0.7.1 release that should fix this particular issue.

rolandjitsu commented 9 years ago

@btford - that sound great :)