diff options
| author | Igor Minar | 2013-08-08 10:22:32 -0700 |
|---|---|---|
| committer | Igor Minar | 2013-08-08 10:22:32 -0700 |
| commit | 0bf0570505e41be266beaa1ccd0266aaed0c3cfb (patch) | |
| tree | 01fca51e1e588fe5b658fb314f210a97fb66a0ca /test/ng/directive/ngSrcSpec.js | |
| parent | 3ab579a2a6a9b21d3b43014f08f6c60bbad265a2 (diff) | |
| download | angular.js-0bf0570505e41be266beaa1ccd0266aaed0c3cfb.tar.bz2 | |
docs(minErr): rename sce/isecrurl to sce/insecurl
Diffstat (limited to 'test/ng/directive/ngSrcSpec.js')
| -rw-r--r-- | test/ng/directive/ngSrcSpec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ng/directive/ngSrcSpec.js b/test/ng/directive/ngSrcSpec.js index 23ace7ee..2fb99eab 100644 --- a/test/ng/directive/ngSrcSpec.js +++ b/test/ng/directive/ngSrcSpec.js @@ -27,7 +27,7 @@ describe('ngSrc', function() { element = $compile('<iframe ng-src="{{testUrl}}"></iframe>')($rootScope); $rootScope.testUrl = "http://a.different.domain.example.com"; expect(function() { $rootScope.$apply() }).toThrow( - "[$interpolate:interr] Can't interpolate: {{testUrl}}\nError: [$sce:isecrurl] Blocked " + + "[$interpolate:interr] Can't interpolate: {{testUrl}}\nError: [$sce:insecurl] Blocked " + "loading resource from url not allowed by $sceDelegate policy. URL: " + "http://a.different.domain.example.com"); })); @@ -36,7 +36,7 @@ describe('ngSrc', function() { element = $compile('<iframe ng-src="{{testUrl}}"></iframe>')($rootScope); $rootScope.testUrl = "javascript:alert(1);"; expect(function() { $rootScope.$apply() }).toThrow( - "[$interpolate:interr] Can't interpolate: {{testUrl}}\nError: [$sce:isecrurl] Blocked " + + "[$interpolate:interr] Can't interpolate: {{testUrl}}\nError: [$sce:insecurl] Blocked " + "loading resource from url not allowed by $sceDelegate policy. URL: " + "javascript:alert(1);"); })); @@ -45,7 +45,7 @@ describe('ngSrc', function() { element = $compile('<iframe ng-src="{{testUrl}}"></iframe>')($rootScope); $rootScope.testUrl = $sce.trustAsUrl("javascript:doTrustedStuff()"); expect($rootScope.$apply).toThrow( - "[$interpolate:interr] Can't interpolate: {{testUrl}}\nError: [$sce:isecrurl] Blocked " + + "[$interpolate:interr] Can't interpolate: {{testUrl}}\nError: [$sce:insecurl] Blocked " + "loading resource from url not allowed by $sceDelegate policy. URL: " + "javascript:doTrustedStuff()"); })); |
