angular.js/test
Igor Minar 2b87c814ab feat($parse): CSP compatibility
CSP (content security policy) forbids apps to use eval or
Function(string) generated functions (among other things). For us to be
compatible, we just need to implement the "getterFn" in $parse without
violating any of these restrictions.

We currently use Function(string) generated functions as a speed
optimization. With this change, it will be possible to opt into the CSP
compatible mode using the ngCsp directive. When this mode is on Angular
will evaluate all expressions up to 30% slower than in non-CSP mode, but
no security violations will be raised.

In order to use this feature put ngCsp directive on the root element of
the application. For example:

<!doctype html>
<html ng-app ng-csp>
  ...
  ...
</html>

Closes #893
2012-04-27 23:04:24 -07:00
..
auto fix($injector): properly infer dependencies from fn with no args 2012-03-29 11:21:04 -07:00
ng feat($parse): CSP compatibility 2012-04-27 23:04:24 -07:00
ngCookies chore(ngCookies): moved to module 2012-03-28 11:16:36 -07:00
ngMock feat($resource): support HTTP PATCH method 2012-04-20 12:32:33 -07:00
ngResource feat($resource): support HTTP PATCH method 2012-04-20 12:32:33 -07:00
ngSanitize chore(ngSanitize): extract $sanitize, ngBindHtml, linkyFilter into a module 2012-04-11 15:50:47 -07:00
ngScenario fix(e2eRunner): $browser.location should delegate to apps $location 2012-04-12 02:36:03 -07:00
AngularSpec.js chore(tests): rename all directive names to the normalized form 2012-04-09 11:48:54 -07:00
ApiSpecs.js fix(ng:repeat): support repeating over array with null 2012-01-06 12:19:39 -08:00
BinderSpec.js feat(ngModel): update model on each key stroke (revert ngModelInstant) 2012-04-03 10:10:44 -07:00
jqLiteSpec.js fix(mouseenter): FF no longer throws exceptions 2012-04-20 17:04:21 -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 chore(formating): clean code to be function() { 2011-10-11 11:01:46 -07:00
loaderSpec.js feat($controller): support controller registration via $controllerProvider 2012-03-26 15:23:29 -07:00
matchers.js fix(matchers.toHaveClass): Correct reference to angular.mock.dump 2012-03-19 17:26:29 -07:00
testabilityPatch.js chore(Rakefile): get ready for modules 2012-03-28 11:16:36 -07:00