angular.js/test
Chirayu Krishnappa e2068ad426 fix(ng-bind-html): watch string value instead of wrapper
Ref: https://github.com/angular/angular.js/pull/4045

I have this sinking feeling that support this use case sort of
encourages binding to function that blindly trust some html.  For now,
I'm fixing the issue while I think about the use cases some more.

In the case of a function that performs any non-trivial work before
wrapping the value (e.g. the showdown filter in issue #3980, or the
binding to a simply wrapper function in issue #3932 if it did anything
meaty), this fix makes it "work" - but performance is going to suck -
you should bind to some other thing on scope that watches the actual
source and adjusts itself when that changes (e.g. the showdown filter.)
For the case of the wrapper in #3932, if one isn't performing
sanitization or some such thing - then you the developer has insight
into why that value is safe in that particular context - and it should
be available simply by name and not as a result of a function taking any
arbitrary input to make auditing of security a little saner.

Closes #3932, #3980
2013-09-20 16:30:20 -07:00
..
auto feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00
helpers chore: reorganize test helper files under test/helpers 2013-08-23 15:46:11 -07:00
ng fix(ng-bind-html): watch string value instead of wrapper 2013-09-20 16:30:20 -07:00
ngAnimate fix(ngAnimate): check elapsedTime on current event 2013-09-06 22:19:53 +01:00
ngCookies feat($cookieStore): $cookieStore.get now parses blank string as blank string 2013-05-08 10:04:07 +01:00
ngMock feat(ngMock): allow passing an object literal as shorthand to module 2013-09-03 14:22:12 -07:00
ngResource test: rename / remove duplicate unit tests 2013-08-23 12:43:42 -07:00
ngRoute fix(ngView): IE8 regression due to expando on non-element nodes 2013-09-20 13:55:16 -07:00
ngSanitize fix(ngSanitize): sanitizer should not accept <!--> as a valid comment 2013-09-11 22:40:09 +02: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(core): parse IE11 UA string correctly 2013-08-29 16:07:49 -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 feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -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 feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00
minErrSpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00