angular.js/test/ng/directive
Igor Minar 08f376f2ea fix(csp): fix csp auto-detection and stylesheet injection
When we refactored , we broke the csp mode because the previous implementation
relied on the fact that it was ok to lazy initialize the .csp property, this
is not the case any more.

Besides, we need to know about csp mode during bootstrap and avoid injecting the
stylesheet when csp is active, so I refactored the code to fix both issues.

PR #4411 will follow up on this commit and add more improvements.

Closes #917
Closes #2963
Closes #4394
Closes #4444

BREAKING CHANGE: triggering ngCsp directive via `ng:csp` attribute is not
supported any more. Please use data-ng-csp instead.
2013-10-18 17:33:53 -07:00
..
aSpec.js fix(a): workaround IE bug affecting mailto urls 2013-02-14 16:42:58 -08:00
booleanAttrsSpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00
formSpec.js fix(*): protect calls to hasOwnProperty in public API 2013-10-07 09:01:13 -07:00
inputSpec.js fix(input): false is no longer an empty value by default 2013-10-07 16:47:51 -07:00
ngBindSpec.js fix(ng-bind-html): watch string value instead of wrapper 2013-09-20 16:30:20 -07:00
ngClassSpec.js feat(ngRepeat): use block separator comments 2013-10-09 15:19:10 -07:00
ngClickSpec.js chore(tests): rename all directive names to the normalized form 2012-04-09 11:48:54 -07:00
ngCloakSpec.js chore(tests): rename all directive names to the normalized form 2012-04-09 11:48:54 -07:00
ngControllerSpec.js feat(controller): support as instance syntax 2013-04-22 23:28:41 -07:00
ngEventDirsSpec.js fix(ngSubmit): expose $event to ngSubmit callback 2013-07-11 17:24:30 -07:00
ngIfSpec.js chore(ngMock): rename $animate.process to $animate.flushNext() 2013-08-02 23:52:37 -07:00
ngIncludeSpec.js fix(ngInclude): don't break attribute bindings on ngInclude-ed element 2013-09-20 14:11:12 -07:00
ngInitSpec.js chore(tests): rename all directive names to the normalized form 2012-04-09 11:48:54 -07:00
ngKeySpec.js feat(directive): ng:focus, ng:blur 2013-07-18 19:24:42 +02:00
ngNonBindableSpec.js test(ng-non-bindable): test sibling bindings 2013-09-20 23:55:23 -07:00
ngPluralizeSpec.js feat(ngPluralize): add alternative mapping using attributes 2013-07-14 16:36:15 +02:00
ngRepeatSpec.js fix($compile): abort compilation when duplicate element transclusion 2013-10-11 17:12:24 -07:00
ngShowHideSpec.js chore(ngMock): rename $animate.process to $animate.flushNext() 2013-08-02 23:52:37 -07:00
ngSrcsetSpec.js feat(ngSrcset): add new ngSrcset directive 2013-05-14 21:29:21 +01:00
ngSrcSpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00
ngStyleSpec.js chore(tests): rename all directive names to the normalized form 2012-04-09 11:48:54 -07:00
ngSwitchSpec.js chore(ngMock): rename $animate.process to $animate.flushNext() 2013-08-02 23:52:37 -07:00
scriptSpec.js fix(script): Incorrectly reading script text on ie 2012-04-20 11:29:34 -07:00
selectSpec.js fix(input): false is no longer an empty value by default 2013-10-07 16:47:51 -07:00
styleSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00