archives

« Bugzilla Issues Index

#4303 — 10.1.1 InitializeCollator


10.1.1 InitializeCollator (collator, locales, options)

Preamble: Incorrect use of %Collator%, remove %
> It initializes collator as a Collator object.


Step 3: Missing ReturnIfAbrupt after CanonicalizeLocaleList.

Step 6: Missing ReturnIfAbrupt after GetOption.

Step 8.a: Replace semicolon with full stop.

Step 11: Missing ReturnIfAbrupt after GetOption.

Step 13.e: Missing ReturnIfAbrupt after GetOption.

Step 13.f.i: Missing ReturnIfAbrupt after ToString.

Steps 18-19: Unnecessary steps `rExtensionKeys` is already an Array object (cf. 10.2.3 Internal Properties)

Steps 20-21: Merge Get + ToLength

Step 22.a: Change `Pk` to italic font.

Step 22.d.iii: Omit "then"

Step 22.e.iii: Omit "then"

Step 23: Missing ReturnIfAbrupt after GetOption.
Step 23: Duplicate comma

Step 24.a: Omit "then"

Step 26: Missing ReturnIfAbrupt after GetOption.

And: Missing `Return collator` after step 29.