GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — deps: cherry-pick 6989b3f6d7 from V8 upstream by TimothyGu · Pull Request #20826 · nodejs/node

Conversation

@TimothyGu

@TimothyGu TimothyGu commented May 18, 2018

Copy link
Copy Markdown
Member

Original commit message:

Fix default Intl language tag handling

With certain ICU data bundles (such as the Node.js "small-icu"),
%GetDefaultICULocale() may return a more specific language tag (e.g.
"en-US") than what's available (e.g. "en"). In those cases, consider the
more specific language tag supported.

This CL also resolves the following Node.js issue:
   https://github.com/nodejs/node/issues/15223

Bug: v8:7024
Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
Change-Id: Ifda0776b3418734d5caa8af4e50c17cda95add73
Reviewed-on: https://chromium-review.googlesource.com/668350
Commit-Queue: Daniel Ehrenberg <[email protected]>
Reviewed-by: Daniel Ehrenberg <[email protected]>
Cr-Commit-Position: refs/heads/master@{#52716}

Refs: v8/v8@6989b3f
Fixes: #15223

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bricss reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@nodejs-github-bot nodejs-github-bot added the v8 engine Issues and PRs related to the V8 dependency. label May 18, 2018
@TimothyGu
TimothyGu requested review from MylesBorins, ofrobots and targos May 18, 2018 18:54
@TimothyGu

TimothyGu commented May 18, 2018

Copy link
Copy Markdown
Member Author

CI: https://ci.nodejs.org/job/node-test-pull-request/14965/

V8 CI: https://ci.nodejs.org/job/node-test-commit-v8-linux/1375/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

richardlau
richardlau reviewed May 18, 2018
View reviewed changes

@richardlau richardlau left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

I think 'v8_embedder_string' in common.gypi should be bumped for cherry picks?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@TimothyGu

TimothyGu commented May 18, 2018

Copy link
Copy Markdown
Member Author

@richardlau Oops, forgot to push. Done.

richardlau reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@TimothyGu
TimothyGu force-pushed the intl-default-lang branch from 9b00714 to f734ffe Compare May 18, 2018 19:14
@richardlau

richardlau commented May 18, 2018

Copy link
Copy Markdown
Member

cc @nodejs/v8-update (is this correct? the guide says to cc the parent team).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@TimothyGu

TimothyGu commented May 18, 2018

Copy link
Copy Markdown
Member Author

This is the first time I've ever done something like this, so my apologies if I did anything wrong.

I've commented on the V8 issue as well, requesting a merge into 6.6. I suppose if that happens then we can just roll V8 instead of merging this PR.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

jasnell
jasnell approved these changes May 19, 2018
View reviewed changes
apapirovski
apapirovski approved these changes May 22, 2018
View reviewed changes

@apapirovski apapirovski left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Awesome, glad to see this landed on the V8 side.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@TimothyGu

TimothyGu commented May 23, 2018

Copy link
Copy Markdown
Member Author

No movement on the V8 bug tracker, so I'd move forward assuming that nothing is going to happen. @nodejs/v8-update I'll be applying this in two days.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bnoordhuis
bnoordhuis approved these changes May 23, 2018
View reviewed changes

@bnoordhuis bnoordhuis left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM. Not 100% clear to me why two of the V8 buildbots failed though. Does that also happen with master?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jasnell

jasnell commented May 23, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

running CI again, to be safe: https://ci.nodejs.org/job/node-test-pull-request/15056/
V8 CI: https://ci.nodejs.org/job/node-test-commit-v8-linux/1381/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jasnell

jasnell commented May 23, 2018

Copy link
Copy Markdown
Member

@nodejs/build ... any ideas on what's happening with the v8 build bots? https://ci.nodejs.org/job/node-test-commit-v8-linux/1381/nodes=ppcle-ubuntu1404,v8test=v8test/console

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@richardlau

richardlau commented May 23, 2018

Copy link
Copy Markdown
Member

Maybe nodejs/build#1205?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@TimothyGu
deps: cherry-pick 6989b3f6d7 from V8 upstream
64bed08
Original commit message:
  Fix default Intl language tag handling

  With certain ICU data bundles (such as the Node.js "small-icu"),
  %GetDefaultICULocale() may return a more specific language tag (e.g.
  "en-US") than what's available (e.g. "en"). In those cases, consider the
  more specific language tag supported.

  This CL also resolves the following Node.js issue:
     nodejs#15223

  Bug: v8:7024
  Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
  Change-Id: Ifda0776b3418734d5caa8af4e50c17cda95add73
  Reviewed-on: https://chromium-review.googlesource.com/668350
  Commit-Queue: Daniel Ehrenberg <[email protected]>
  Reviewed-by: Daniel Ehrenberg <[email protected]>
  Cr-Commit-Position: refs/heads/master@{nodejs#52716}

Refs: v8/v8@6989b3f
Fixes: nodejs#15223
@TimothyGu
TimothyGu force-pushed the intl-default-lang branch from f734ffe to 64bed08 Compare May 25, 2018 19:13
@TimothyGu

TimothyGu commented May 25, 2018

Copy link
Copy Markdown
Member Author

One more regular CI: https://ci.nodejs.org/job/node-test-pull-request/15098/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@TimothyGu
TimothyGu merged commit 64bed08 into nodejs:master May 25, 2018
@TimothyGu

TimothyGu commented May 25, 2018

Copy link
Copy Markdown
Member Author

Landed in 8fac1d9.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@TimothyGu
TimothyGu deleted the intl-default-lang branch May 25, 2018 20:09
TimothyGu added a commit to TimothyGu/node that referenced this pull request May 25, 2018
@TimothyGu
deps: cherry-pick 6989b3f6d7 from V8 upstream
8fac1d9
Original commit message:
  Fix default Intl language tag handling

  With certain ICU data bundles (such as the Node.js "small-icu"),
  %GetDefaultICULocale() may return a more specific language tag (e.g.
  "en-US") than what's available (e.g. "en"). In those cases, consider the
  more specific language tag supported.

  This CL also resolves the following Node.js issue:
     nodejs#15223

  Bug: v8:7024
  Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
  Change-Id: Ifda0776b3418734d5caa8af4e50c17cda95add73
  Reviewed-on: https://chromium-review.googlesource.com/668350
  Commit-Queue: Daniel Ehrenberg <[email protected]>
  Reviewed-by: Daniel Ehrenberg <[email protected]>
  Cr-Commit-Position: refs/heads/master@{nodejs#52716}

PR-URL: nodejs#20826
Fixes: nodejs#15223
Refs: v8/v8@6989b3f
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
targos pushed a commit that referenced this pull request May 25, 2018
@TimothyGu @targos
deps: cherry-pick 6989b3f6d7 from V8 upstream
efc7f91
Original commit message:
  Fix default Intl language tag handling

  With certain ICU data bundles (such as the Node.js "small-icu"),
  %GetDefaultICULocale() may return a more specific language tag (e.g.
  "en-US") than what's available (e.g. "en"). In those cases, consider the
  more specific language tag supported.

  This CL also resolves the following Node.js issue:
     #15223

  Bug: v8:7024
  Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
  Change-Id: Ifda0776b3418734d5caa8af4e50c17cda95add73
  Reviewed-on: https://chromium-review.googlesource.com/668350
  Commit-Queue: Daniel Ehrenberg <[email protected]>
  Reviewed-by: Daniel Ehrenberg <[email protected]>
  Cr-Commit-Position: refs/heads/master@{#52716}

PR-URL: #20826
Fixes: #15223
Refs: v8/v8@6989b3f
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
@MylesBorins MylesBorins mentioned this pull request May 29, 2018
v10.3.0 proposal #21011
Merged
targos pushed a commit to targos/node that referenced this pull request May 31, 2018
@TimothyGu @targos
deps: cherry-pick 6989b3f6d7 from V8 upstream
4b5b1a9
Original commit message:
  Fix default Intl language tag handling

  With certain ICU data bundles (such as the Node.js "small-icu"),
  %GetDefaultICULocale() may return a more specific language tag (e.g.
  "en-US") than what's available (e.g. "en"). In those cases, consider the
  more specific language tag supported.

  This CL also resolves the following Node.js issue:
     nodejs#15223

  Bug: v8:7024
  Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
  Change-Id: Ifda0776b3418734d5caa8af4e50c17cda95add73
  Reviewed-on: https://chromium-review.googlesource.com/668350
  Commit-Queue: Daniel Ehrenberg <[email protected]>
  Reviewed-by: Daniel Ehrenberg <[email protected]>
  Cr-Commit-Position: refs/heads/master@{nodejs#52716}

PR-URL: nodejs#20826
Fixes: nodejs#15223
Refs: v8/v8@6989b3f
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
@devsnek devsnek mentioned this pull request May 31, 2018
Number.toLocaleString output is inconsistent between minor versions. #21053
Closed
MylesBorins pushed a commit that referenced this pull request Jun 1, 2018
@TimothyGu @MylesBorins
deps: cherry-pick 6989b3f6d7 from V8 upstream
a60ab57
Original commit message:
  Fix default Intl language tag handling

  With certain ICU data bundles (such as the Node.js "small-icu"),
  %GetDefaultICULocale() may return a more specific language tag (e.g.
  "en-US") than what's available (e.g. "en"). In those cases, consider the
  more specific language tag supported.

  This CL also resolves the following Node.js issue:
     #15223

  Bug: v8:7024
  Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
  Change-Id: Ifda0776b3418734d5caa8af4e50c17cda95add73
  Reviewed-on: https://chromium-review.googlesource.com/668350
  Commit-Queue: Daniel Ehrenberg <[email protected]>
  Reviewed-by: Daniel Ehrenberg <[email protected]>
  Cr-Commit-Position: refs/heads/master@{#52716}

PR-URL: #20826
Fixes: #15223
Refs: v8/v8@6989b3f
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
MylesBorins pushed a commit that referenced this pull request Jun 1, 2018
@TimothyGu @MylesBorins
deps: cherry-pick 6989b3f6d7 from V8 upstream
35d6661
Original commit message:
  Fix default Intl language tag handling

  With certain ICU data bundles (such as the Node.js "small-icu"),
  %GetDefaultICULocale() may return a more specific language tag (e.g.
  "en-US") than what's available (e.g. "en"). In those cases, consider the
  more specific language tag supported.

  This CL also resolves the following Node.js issue:
     #15223

  Bug: v8:7024
  Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
  Change-Id: Ifda0776b3418734d5caa8af4e50c17cda95add73
  Reviewed-on: https://chromium-review.googlesource.com/668350
  Commit-Queue: Daniel Ehrenberg <[email protected]>
  Reviewed-by: Daniel Ehrenberg <[email protected]>
  Cr-Commit-Position: refs/heads/master@{#52716}

PR-URL: #20826
Fixes: #15223
Refs: v8/v8@6989b3f
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
@MylesBorins MylesBorins mentioned this pull request Jun 6, 2018
v10.4.0 proposal #21167
Merged
@MylesBorins MylesBorins added the land-on-v8.x label Aug 7, 2018
@MylesBorins

MylesBorins commented Aug 7, 2018

Copy link
Copy Markdown
Contributor

I've backported this to v8.x... please lmk if this is a mistake

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

MylesBorins pushed a commit that referenced this pull request Aug 7, 2018
@TimothyGu @MylesBorins
deps: cherry-pick 6989b3f6d7 from V8 upstream
bb1e8a6
Original commit message:
  Fix default Intl language tag handling

  With certain ICU data bundles (such as the Node.js "small-icu"),
  %GetDefaultICULocale() may return a more specific language tag (e.g.
  "en-US") than what's available (e.g. "en"). In those cases, consider the
  more specific language tag supported.

  This CL also resolves the following Node.js issue:
     #15223

  Bug: v8:7024
  Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
  Change-Id: Ifda0776b3418734d5caa8af4e50c17cda95add73
  Reviewed-on: https://chromium-review.googlesource.com/668350
  Commit-Queue: Daniel Ehrenberg <[email protected]>
  Reviewed-by: Daniel Ehrenberg <[email protected]>
  Cr-Commit-Position: refs/heads/master@{#52716}

PR-URL: #20826
Fixes: #15223
Refs: v8/v8@6989b3f
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
@MylesBorins MylesBorins added backport-requested-v8.x and removed land-on-v8.x labels Aug 7, 2018
@MylesBorins

MylesBorins commented Aug 7, 2018

Copy link
Copy Markdown
Contributor

backport landed cleanly but it caused tests to break

https://ci.nodejs.org/job/node-test-commit-v8-linux/1580/nodes=ppcle-ubuntu1404,v8test=v8test/testReport/junit/(root)/v8tests/mjsunit_regress_regress_6288___nohard_abort/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@richardlau richardlau richardlau left review comments
@bnoordhuis bnoordhuis bnoordhuis approved these changes
@jasnell jasnell jasnell approved these changes
@targos targos Awaiting requested review from targos
@MylesBorins MylesBorins Awaiting requested review from MylesBorins
@ofrobots ofrobots Awaiting requested review from ofrobots
+1 more reviewer
@apapirovski apapirovski apapirovski approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

v8 engine Issues and PRs related to the V8 dependency.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Intl.NumberFormat changed behavior (possibly after ICU 58 -> 59 bump)

Uh oh!

There was an error while loading. Please reload this page.

7 participants

@TimothyGu @richardlau @jasnell @MylesBorins @apapirovski @bnoordhuis @nodejs-github-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.