-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Script fixes for IE #5279
Script fixes for IE #5279
Conversation
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.
let and const cannot be used?
for (let shadowElement of elemsWithShadowRoot) { | ||
shadowElementsFromPoint.push(...getOverlappingElements(elem, shadowElement.shadowRoot)) | ||
for (let i = 0; i < elemsWithShadowRoot.length; ++i) { | ||
let shadowElement = elemsWithShadowRoot[i] |
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.
if the idea is to make it all ES5 and thus IE11 compatible then the keywords let
and const
cannot be used either.
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.
@erwinheitzman let
and const
are supported by IE11: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let
Great news! Is there a release date for this fix? |
@j320 this was already released. Please see changelog. |
* fix scripts for IE - closes #5043 * fix tests
Proposed changes
closes #5043
Types of changes
Checklist
Further comments
n/a
Reviewers: @webdriverio/project-committers