Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
test262
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pmaksimo
test262
Commits
4986474f
Commit
4986474f
authored
6 years ago
by
Ms2ger
Committed by
Rick Waldron
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Intl: Add an overlong language to getInvalidLocaleArguments().
parent
b7fb4ade
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
harness/testIntl.js
+1
-0
1 addition, 0 deletions
harness/testIntl.js
with
1 addition
and
0 deletions
harness/testIntl.js
+
1
−
0
View file @
4986474f
...
...
@@ -812,6 +812,7 @@ function getInvalidLocaleArguments() {
"
u-nu-latn-cu-bob
"
,
// extension sequence without language
"
hans-cmn-cn
"
,
// "hans" could theoretically be a 4-letter language code,
// but those can't be followed by extlang codes.
"
abcdefghi
"
,
// overlong language
"
cmn-hans-cn-u-u
"
,
// duplicate singleton
"
cmn-hans-cn-t-u-ca-u
"
,
// duplicate singleton
"
de-gregory-gregory
"
,
// duplicate variant
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment