Closed ItWorksOnMyMachine closed 6 years ago
Since you've pinpointed the problem, why not submit the issue in aurelia-metadata
? I can dig into the issue, but I'll need the version of aurelia-metadata
you are using.
You are probably opening a dialog passing a class
for viewModel
? If so a work around will be to use a app root relative moduleId.
@StrahilKazlachev, you rock! The switch to moduleId fixes this issue for me.
I'm submitting a bug report
Please tell us about your environment:
Operating System: Windows 10
Node Version: 8.8.1
NPM Version: 5.5.1
JSPM OR Webpack AND Version webpack 3.5.5
Browser: IE11 and Edge
Language: TypeScript 2.4.2
Current behavior: When using an Aurelia application embedded in an iFrame, when the DialogService's open method is called, then IE11 and Edge throw an Access is denied error inside aurelia-metadata's Origin.get method.
Expected/desired behavior: The expected behavior is that the dialog shows itself. This works fine in Chrome and Firefox, it only fails in IE11 and Edge.