-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[I18n] Inject Intl Polyfill to PhantomJS #25465
[I18n] Inject Intl Polyfill to PhantomJS #25465
Conversation
Pinging @elastic/kibana-platform |
Pinging @elastic/kibana-app |
8fafb62
to
c46409c
Compare
💔 Build Failed |
retest |
💔 Build Failed |
💔 Build Failed |
💔 Build Failed |
💚 Build Succeeded |
x-pack/plugins/reporting/server/browsers/phantom/driver/index.js
Outdated
Show resolved
Hide resolved
x-pack/plugins/reporting/server/browsers/phantom/driver/index.js
Outdated
Show resolved
Hide resolved
x-pack/plugins/reporting/server/browsers/phantom/driver/index.js
Outdated
Show resolved
Hide resolved
Hey @tsullivan, Would you mind taking a look at this PR and let us know if it looks good to you? Thanks! |
💚 Build Succeeded |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@LeanidShutau thank you for fixing this issue!
* [I18n] Inject Intl Polyfill to PhantomJS * Refactor injection code * Move intl to "dependencies" * Move 'intl' to the root 'package.json' * Fix polyfills paths * Move intl to x-pack package.json
6.x/6.6: afbc1ce |
Bug
PhantomJS doesn't have
Intl
property in the global object, soreact-intl
throws[React Intl] The `Intl` APIs must be available in the runtime, and do not appear to be built-in
error.
Fix
Inject
Intl
polyfill fromintl
package