ng test window.onerror ErrorEvent contains Script Error instead of actual error #11966
Labels
area: @angular-devkit/build-angular
freq1: low
Only reported by a handful of users who observe it rarely
severity5: regression
type: bug/fix
Milestone
Bug Report or Feature Request (mark with an
x
)Command (mark with an
x
)Versions
@angular-devkit/build-angular >= 0.7.0
passes with 0.6.8, fails with anything after 0.7.0
Repro steps
The log given by the failure
Desired functionality
The ErrorEvent passed to window.onerror should contain the error:
Mention any other details that might be useful
Looking at this stack overflow, I assume this is a cross origin issue. I noticed the context.html has the crossorigin attribute set on all the script tags, so not sure what's actually going wrong.
https://stackoverflow.com/questions/5913978/cryptic-script-error-reported-in-javascript-in-chrome-and-firefox
The text was updated successfully, but these errors were encountered: