ReferenceError: Can't find variable: ES6Promise #3287
Labels
core
The issue is caused by the editor core code.
status:confirmed
An issue confirmed by the development team.
target:major
Any docs related issue that should be merged into a major branch.
type:bug
A bug.
Milestone
Type of report
Bug
Provide detailed reproduction steps (if any)
I'm running integration tests using PhantomJS (which doesn't implement
Promise
) and I'm using RequireJS (AMD) to load other modules besides CKEditor.Expected result
The tests were passing before upgrading to from CKEditor 4.11.4 to CKEditor 4.12.1.
Actual result
The tests are failing now with:
Other details
Upon checking the code I believe the culprit is this 438a019#r34380433 .
The workaround for me was to run this before my tests:
It works because CKEditor doesn't use the
Promise
that much at the moment (and so it doesn't affect my tests), but this may change in the future.The text was updated successfully, but these errors were encountered: