Skip to content
This repository has been archived by the owner on Apr 30, 2018. It is now read-only.

Firefox: DOMException [SecurityError: "Permission denied to access property "constructor" on cross-origin object" #747

Open
Mobiletainment opened this issue Sep 4, 2017 · 0 comments

Comments

@Mobiletainment
Copy link

Mobiletainment commented Sep 4, 2017

I'm having an issue with Angular-Formly 8.4.1 which only occurs in Firefox (currently using 55.0.3). Chrome and Edge don't throw this exception:

Versions:

  • AngularJS: 1.6.6
  • Angular-Formly: 8.4.1
  • API-Check: 7.5.5
  • JQuery: 2.2.4

Exception:
DOMException [SecurityError: "Permission denied to access property "constructor" on cross-origin object"

code: 18 nsresult: 0x80530012 location: http://localhost:9000/jspm_packages/npm/api-check@7.5.5/dist/api-check.js:438] <div formly-field="" ng-repeat="field in fields " ng-if="!field.hide" class="formly-field ng-scope ng-isolate-scope" options="field" model="field.model || model" original-model="model" fields="fields" form="theFormlyForm" form-id="formly_5" form-state="options.formState" form-options="options" index="$index" data-ng-animate="1">

Stacktrace:

  • getArgDisplay api-check.js:438:8getDisplay
  • f/</a.consoleLog/< angular.js:14703:16
  • $ExceptionHandlerProvider/this.$get</< angular.js:11145:7
  • invokeLinkFn angular.js:10550:9
  • nodeLinkFn angular.js:9937:11
  • compositeLinkFn angular.js:9177:13
  • publicLinkFn angular.js:9042:30
  • lazyCompilation angular.js:9433:16
  • boundTranscludeFn angular.js:9220:16
  • controllersBoundTransclude angular.js:9987:20
  • ngIfWatchAction angular.js:27859:15
  • $digest angular.js:18264:23
  • $apply angular.js:18534:13
  • $$debounceViewValueCommit angular.js:29247:7
  • $setViewValue angular.js:29225:7
  • listener angular.js:25675:7
  • dispatch jquery.js:4736:16
  • add/elemData.handle jquery.js:4549:6

I'm displaying a form that contains a radiogroup and some input fields. When the radioGroup's value is changed, the onChange listener fetches new data from the backend and overwrites the current model with the new data, upon which the further input fields get populated.

Has anyone had this exception before?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant