ember.js: Cannot Create Ember.Error in Chrome Canary
Any time an Ember.Error is raised in Chrome Canary (54.0.2809.0 canary (64-bit)), the following error is raised:
ember.debug.js:24824 Uncaught TypeError: Cannot assign to read only property 'stack' of object '[object Object]'
From what I can tell, the temporary error object has an writable “stack” property:
Whereas the error subclass’ “stack” property isn’t:
To cap things off, here’s my reproduction app: https://github.com/jherdman/stack-sadness
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 3
- Comments: 27 (19 by maintainers)
This is affecting Travis CI in Chrome Canary, as well. It renders nothing when you’re logged in.
Awesome! 👍 Dev channel indeed.
We shipped the fix in 54.0.2812.0 and are currently on 54.0.2815.0. This behavior change is not in Chrome 52.
The “aw snaps” were related to another bug.
We’re going to have a look, and come up with a reasonable fix soonish.
Offending commit: https://github.com/v8/v8/commit/02503b080fbda2d8a72581a4669ea400d5322670