misc: avoid splitting node labels in the middle of unicode surrogate pairs#11698
misc: avoid splitting node labels in the middle of unicode surrogate pairs#11698devtools-bot merged 12 commits intoGoogleChrome:masterfrom wildlyinaccurate:truncate-codepoints-not-bytes
Conversation
patrickhulce
left a comment
There was a problem hiding this comment.
thanks very much @wildlyinaccurate! 🎉
great find, PR much appreciated :)
|
Thanks for the suggestions @patrickhulce - much appreciated! |
|
|
|
It's actually failing on master too @wildlyinaccurate , so not your doing. We'll let this chill for a bit until we're back up and running 👍 |
|
Just landed #11702 to fix master. How is |
|
FWIW I don't think you'll need to run |
|
I think the other 2 usages of |
Co-authored-by: Patrick Hulce <[email protected]>
There are many usages of |
|
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
| # We can always use some more history | ||
| git -c protocol.version=2 fetch --deepen=100 | ||
|
|
||
| # Find out if the PR is coming from a fork |
There was a problem hiding this comment.
@paulirish how do you feel about this skipping this check entirely if it's from a fork for now instead and we can sort out the fix later?
There was a problem hiding this comment.
that works for me.. though determining that would probably have required almost this much iteration as well... so i think it's all moot.
ALL MOOT!
Co-authored-by: Patrick Hulce <[email protected]>
|
Hey, uh, does it help if I resubmit this against master as a single commit? |
haha nah man it's all good. we'll just all pretend I never had to make all that noise. the bug i had is fixed (as of my last commit), but it ends up not mattering. This should be good to go once the |
paulirish
left a comment
There was a problem hiding this comment.
@wildlyinaccurate btw this is a fantastic find and fix. Nice work. :D


Summary
Potential fix for #11697. Takes advantage of the fact that the ES6 string iterator is unicode-aware.
Related Issues/PRs
fix for part of #11697