-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Breaking v8 change in v0.12.3 #25324
Comments
@misterdjules I think we just need to restore this line. |
@ljharb In https://twitter.com/ljharb/status/598936102674702336 you mentioned "I think you'd have to shim the JS or downgrade v8". Could you please elaborate? Do you see any problem with reverting https://codereview.chromium.org/647703003 instead? |
@cjihrig Same as above, what do you think about reverting https://codereview.chromium.org/647703003 entirely? |
@misterdjules My only concern is that Can we get opinions from other members of @joyent/node-coreteam? |
It was removed because it breaks web compat. The function is in the spec, so v8 will have to add it back eventually. As for reverting that specific commit, that should work fine! Wouldn't that revert it for all consumers of v8, or would it be a node-specific fork of v8? |
@ljharb We would revert that commit only in |
Right, the specific problem was related to Outlook. There could be a Node user that is doing something similar. But since we already launched 0.12 with that feature, I think we should revert that commit. |
+1, I think that "web compatibility" reverts in v8 should always be reversed for node, since it doesn't apply :-) |
@cjihrig That's my current position too. If you have some time to put together a PR that reverts that change, that would be great, otherwise I'll get that done before tomorrow morning. I would think that the best way to revert that would be to completely revert https://codereview.chromium.org/647703003. You might want to consult https://github.com/joyent/node/wiki/V8-upgrade-process#how-to-land-a-patch-from-upstream-v8 to do that. |
@misterdjules I'd like to work on this one. |
@cjihrig Please go ahead :) |
This commit adds a regression test for #25324 Reviewed-By: Julien Gilli <[email protected]> PR-URL: #25328
Yay, thanks! Looking forward to the release :-) |
@ljharb There's a new candidate release for v0.12.4 at http://nodejs.org/dist/v0.12.4/. Could you please give it a try and let us know if that fixes the problem? Thank you! |
Yep, confirmed, it works! As I said in IRC tho, the instant it appears on |
https://twitter.com/ljharb/status/598917863433342976
Array.prototype.values
no longer exists inv0.12.3
; it exists inv0.12.2
. This will break any code relying on it.The text was updated successfully, but these errors were encountered: