Skip to content
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

Kill PhantomShim. #533

Merged
merged 4 commits into from
Aug 25, 2017
Merged

Conversation

aslushnikov
Copy link
Contributor

This patch kills PhantomShim, a lightweight layer that helped to
bootstrap Puppeteer API.

At this point, PhantomShim:

  • passes 139 phantomJS tests
  • fails 13 tests
  • lacks capabilities to run 26

The failings and unsupported tests don't have any value for Puppeteer
API, so it doesn't make sense to maintain PhantomShim any longer.

This patch kills PhantomShim, a lightweight layer that helped to
bootstrap Puppeteer API.

At this point, PhantomShim:
- passes 139 phantomJS tests
- fails 13 tests
- lacks capabilities to run 26

The failings and unsupported tests don't have any value for Puppeteer
API, so it doesn't make sense to maintain PhantomShim any longer.
package.json Outdated
@@ -19,7 +18,6 @@
"coverage": "COVERAGE=true npm run unit",
"node6": "node utils/node6-transform/index.js",
"test-node6": "jasmine utils/node6-transform/test/test.js",
"build": "npm run node6",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this was unintentional removal.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a drive-by. Do we need it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanted to future proof, in case we have more build steps.

@JoelEinbinder
Copy link
Contributor

Github lags when looking through the files changed, but I think you missed the entires in .gitignore and .npmignore

@aslushnikov
Copy link
Contributor Author

Thanks, cleaned up .npmignore. There's nothing related to phantom shim in .gitignore

@aslushnikov aslushnikov merged commit e8f8a1a into puppeteer:master Aug 25, 2017
@aslushnikov aslushnikov deleted the kill-phantomshim branch August 27, 2017 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants