-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add Array.prototype.values binding #395
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
Add Array.prototype.values binding #395
Conversation
Hi, I wanted to add a binding for I get this error when I run the test:
|
@brisad does the version of Node you ahve installed have Also, I think we already have bindings for this method -- maybe we forgot to check it off. |
NVM, I misread. |
@fitzgen Oh, good question. It seems like it doesnt:
I also just upgraded from Node v8 to v10. Travis CI seems to have the same problem, so it appears it is not just me. |
And the Browser compatibility section of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/values indeed states that Node.js does not have support for it. |
@brisad you could polyfill |
Alternatively this could perhaps use |
@fitzgen I tried assigning a @alexcrichton For some reason running any |
@brisad I've pushed a few commits to the The headless tests are still a bit new for us so we're still trying to work out the kinks! |
eed3655
to
fc44a2f
Compare
@alexcrichton Sure! After looking more closely it turned out I didn't have I updated the PR with the fixes so now everything should be set. I realized that the dev server wasn't running when |
Ok great! Let's merge this once tests are green. Oh dear that sounds like a nasty bug though! Let's do a separate PR for that? I think it'd be reasonable to place a cap on the number of times we connect to 8080 before printing an error and failing the test? |
No description provided.