Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

10 $digest() iterations reached using $sce.trustAsResourceUrl with angularjs 1.7.0 #16593

Closed
@einarstubhaug

Description

@einarstubhaug
  • bug report
  • feature request
  • other

Current behavior:
10 $digest() iterations reached using $sce.trustAsResourceUrl inside isolate scope directive 1.7.0

Minimal reproduction of the problem with instructions:

Markup in template:
<img ng-src="{{getThumbnailImageUrl(imgId)}}">
Corresponding controller function:
scope.getThumbnailImageUrl = function(id) {return $sce.trustAsResourceUrl(someService.someUrl(id)); }}

AngularJS version: 1.7.0

Browser: Tested in Version 67.0.3396.79 of Chrome

Anything else:
Seems like this regression has happened before: #3932
Is it a breaking change in version 1.7.0 or is it a regression that will be fixed?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions