angular.js/test
Andrew C. Greenberg 7e916455b3 fix(ngMock window.inject): Remove Error 'stack' property changes
Recent browsers, particularly PhantomJS 1.9.2 and Safari 7.0
treat the stack property as non-configurable and unwritable.

Because window.inject captures the stack at the time of the inject,
and attempts to insert it into a captured throw from the injected
function by modifying e.stack, a meaningless error message and
stack is thrown instead.

This commit inserts two tests exposing the problem, and implements
a proposed solution that builds a new error-like object that mimicks
the old Error object, but with the additional stack information, and
captures the toString function from the Error object prototype.  This
appears to work for the browsers suppoerted here.
2014-01-06 17:47:06 -08:00
..
auto test(injector): add missing test for #5577 2013-12-31 01:24:41 -08:00
helpers perf(jqLite): implement and use the empty method in place of html(‘’) 2013-12-13 02:07:11 -08:00
ng chore(inputSpec): fixed typo 2014-01-06 16:37:47 -08:00
ngAnimate refactor(animate): remove duplicate line 2014-01-06 00:07:44 -05:00
ngCookies feat($cookieStore): $cookieStore.get now parses blank string as blank string 2013-05-08 10:04:07 +01:00
ngMock fix(ngMock window.inject): Remove Error 'stack' property changes 2014-01-06 17:47:06 -08:00
ngResource fix($resource): prevent URL template from collapsing into an empty string 2014-01-02 23:07:27 -08:00
ngRoute fix(ngRoute): instantiate controller when template is empty 2013-12-27 22:45:46 -08:00
ngSanitize fix(ngSanitize): prefer textContent to innerText to avoid layout trashing 2013-12-03 14:45:30 -08:00
ngScenario perf(jqLite): implement and use the empty method in place of html(‘’) 2013-12-13 02:07:11 -08:00
ngTouch perf(jqLite): implement and use the empty method in place of html(‘’) 2013-12-13 02:07:11 -08:00
AngularSpec.js fix(forEach): allow looping over result of querySelectorAll in IE8 2013-12-18 21:44:00 -08:00
ApiSpecs.js feat(ngRepeat): add support for custom tracking of items 2013-03-29 23:01:52 -07:00
BinderSpec.js feat(ngRepeat): use block separator comments 2013-10-09 15:19:10 -07:00
jqLiteSpec.js feat(jqLite): provide support for element.one() 2013-12-19 14:39:04 -05:00
jquery_alias.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jquery_remove.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jQueryPatchSpec.js feat(jqLite): switch bind/unbind to more recent jQuery on/off 2013-06-19 20:53:24 +01:00
loaderSpec.js fix(loader): expose $$minErr to modules such asngResource 2013-11-21 22:51:26 -08:00
minErrSpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00