-
Notifications
You must be signed in to change notification settings - Fork 200
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
Always compile for MSEdge <= 38 #1128
Comments
valdrinkoshi
changed the title
Always compile for MSEdge
Always compile for MSEdge <= 38
Mar 1, 2017
aomarks
referenced
this issue
in Polymer/polyserve
Apr 11, 2017
Fixes #161. Versions before 40 have a JIT bug where a constructor can return the class instead of an instance. See chakra-core/ChakraCore#2532 and chakra-core/ChakraCore#2532. Tested with http://jsfiddle.net/0k59gbL8/5/. Fails on 38, passes on 40.
aomarks
referenced
this issue
in Polymer/polyserve
Apr 11, 2017
Fixes #161. Versions before 40 have a JIT bug where a constructor can return the class instead of an instance. See chakra-core/ChakraCore#2532 and chakra-core/ChakraCore#2532. Tested with http://jsfiddle.net/0k59gbL8/5/. Fails on 38, passes on 40.
aomarks
referenced
this issue
in Polymer/polyserve
Apr 11, 2017
Fixes #161. Versions before 40 have a JIT bug where a constructor can return the class instead of an instance. See chakra-core/ChakraCore#1496 and chakra-core/ChakraCore#2532. Tested with http://jsfiddle.net/0k59gbL8/5/. Fails on 38, passes on 40.
aomarks
referenced
this issue
in Polymer/polyserve
Apr 11, 2017
Fixes #161. Versions before 40 have a JIT bug where a constructor can return the class instead of an instance. See chakra-core/ChakraCore#1496 and chakra-core/ChakraCore#2532. Tested with http://jsfiddle.net/0k59gbL8/5/. Fails on 38, passes on 40.
aomarks
referenced
this issue
in Polymer/polyserve
Apr 12, 2017
Really fixes #161. This time for real! My previous PR #173 assumed that the Edge user agent used the main browser release version. Actually it uses the EdgeHTML version. The fix we care about for the original issue is in a major release of Edge, but a minor release of EdgeHTML, so we have to check minor version now too. https://en.wikipedia.org/wiki/Microsoft_Edge#Release_history Also added a test and a small refactor so that we can paste real user agent strings.
Re-opening since my PR was checking the wrong versioning scheme (user agent contains EdgeHTML version, not main release version). |
aomarks
referenced
this issue
in Polymer/polyserve
Apr 12, 2017
Really fixes #161. This time for real! My previous PR #173 assumed that the Edge user agent used the main browser release version. Actually it uses the EdgeHTML version. The fix we care about for the original issue is in a major release of Edge, but a minor release of EdgeHTML, so we have to check minor version now too. https://en.wikipedia.org/wiki/Microsoft_Edge#Release_history Also added a test and a small refactor so that we can paste real user agent strings. Also note this uses destructuring, so we are no longer node 4 compatible.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Microsoft Edge 38.14393.0.0 (Microsoft EdgeHTML 14.14393), ES6 constructor returns class instead of an instance (see chakra-core/ChakraCore#1496).
In this case polyserve should compile resources.
The text was updated successfully, but these errors were encountered: