-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
What about use puppeteer instead of phantomjs for e2e tests? #7500
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
Comments
This is not just about tests. Vue may need to run in PhantomJS based tools like scrapers. This is about backwards compatibility. |
so strange So maybe support delete this code at building time? We rly dont need carry it for ALL users. |
wait. We carry polyfill for case when any vuejs site can be scrapped? I just didn't understood. |
As Evan said:
It would be a breaking change, and we wont do a mjor release for this (or plan one in the near future, in general). |
FYI the extra size is small enough to be worth. It happens with multiple things that are also not supported by some browsers like Internet Explorer |
Your site is built in Vue. A site scraper built with PhantomJS used to be able to scrape your site. Now with a patch update your site suddenly break in the scraper. The tradeoff is not bytes vs. use case, it's about bytes vs. backwards compat. |
What problem does this feature solve?
In my PR I should check for existence
Function.bind
.Does really we should carry
Function.bind
polyfill in production builds for phantomjs?We have 2 solutions:
cons:
What does the proposed API look like?
...
The text was updated successfully, but these errors were encountered: