-
Notifications
You must be signed in to change notification settings - Fork 5.8k
ES6 WeakMap Works in Webkit core but not PhantomJS #13652
Comments
Yes, unfortunately, PhantomJS is not keeping up with Webkit at the moment - I think our version is currently about a year old. We will eventually pick up a browser core with WeakMap support, but we're not going to start cherry-picking web platform features. I regret I don't have a time frame for you. |
Any news on this? I'm having the same issue with PhantomJS 2.1.1 . Thanks! :) |
+1 |
1 similar comment
+1 |
Is there a reason this was closed? Not supporting WeakMap seems to cause problems on React.js pages. |
Ended up abandoning PhantomJS and implementing a new solution using NightmareJS and Electron in a headless environment with an optional Docker wrapper: https://github.com/binarydev/dreamcatcher |
Track ES6 support in #14506. |
@binarydev if the issue is related to |
On my end, the |
I've started using WeakMap, a new feature available in ES6, which is well supported by WebKit core and is working on our local and review servers when testing manually in the browser. In the latest version of phantomjs though, my tests are failing with:
Minor details: Occurs in a Rails 4.2 project with Capybara and Poltergeist.
The text was updated successfully, but these errors were encountered: