Closed baardsen closed 8 years ago
Generally speaking, warnings like this aren't something that need "fixing" - Firefox logs a warning about mutating prototypes, for example, because one of es6-shim's runtime checks needs to try to mutate a prototype to check compliance.
However, in this case, something like the fix you've suggested will indeed work - thanks for the suggestion!
Chrome dev (49.0.2623.23) logs an error to console when loading es6-shim.
The error seems to come from the
promiseResolveBroken
test:One possible fix is to add an empty reject handler to the
p2
promise: