angular.js/test
Peter Bacon Darwin 7a586e5c19 fix(*): protect calls to hasOwnProperty in public API
Objects received from outside AngularJS may have had their `hasOwnProperty`
method overridden with something else. In cases where we can do this without
incurring a performance penalty we call directly on Object.prototype.hasOwnProperty
to ensure that we use the correct method.

Also, we have some internal hash objects, where the keys for the map are provided
from outside AngularJS. In such cases we either prevent `hasOwnProperty` from
being used as a key or provide some other way of preventing our objects from
having their `hasOwnProperty` overridden.

BREAKING CHANGE: Inputs with name equal to "hasOwnProperty" are not allowed inside
form or ngForm directives.

Before, inputs whose name was "hasOwnProperty" were quietly ignored and not added
to the scope.  Now a badname exception is thrown.

Using "hasOwnProperty" for an input name would be very unusual and bad practice.
Either do not include such an input in a `form` or `ngForm` directive or change
the name of the input.

Closes #3331
2013-10-07 09:01:13 -07:00
..
auto fix(*): protect calls to hasOwnProperty in public API 2013-10-07 09:01:13 -07:00
helpers fix(jqLite): use get/setAttribute so that jqLite works on SVG nodes 2013-09-27 12:38:27 -07:00
ng fix(*): protect calls to hasOwnProperty in public API 2013-10-07 09:01:13 -07:00
ngAnimate fix($animator): avoid completing the animation asynchronously unless CSS transtiions/animations are present 2013-10-01 15:00:16 -04:00
ngCookies feat($cookieStore): $cookieStore.get now parses blank string as blank string 2013-05-08 10:04:07 +01:00
ngMock fix(*): protect calls to hasOwnProperty in public API 2013-10-07 09:01:13 -07:00
ngResource fix(*): protect calls to hasOwnProperty in public API 2013-10-07 09:01:13 -07:00
ngRoute fix(routeProvider): parametrized routes do not match against locations that would not valorize each parameters. 2013-10-04 08:45:47 -07:00
ngSanitize fix($sanitize): sanitize DOCTYPE declarations correctly 2013-10-03 08:42:15 +01:00
ngScenario test($browser): correct false positive in ApplicationSpec.js 2013-09-11 22:19:24 +01:00
ngTouch fix(ngScenario): provide event parameters as object 2013-09-06 17:00:37 -04:00
AngularSpec.js fix(*): protect calls to hasOwnProperty in public API 2013-10-07 09:01:13 -07:00
ApiSpecs.js feat(ngRepeat): add support for custom tracking of items 2013-03-29 23:01:52 -07:00
BinderSpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00
jqLiteSpec.js fix($compile): ng-attr to support dash separated attribute names 2013-10-02 10:52:31 -07: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(*): protect calls to hasOwnProperty in public API 2013-10-07 09:01:13 -07:00
minErrSpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00