User:Waldo/Internationalization API: Difference between revisions

Jump to navigation Jump to search
Slightly more expansion of the testing details
m (Clarify ICU API stability)
(Slightly more expansion of the testing details)
Line 95: Line 95:
==== Tests ====
==== Tests ====


Tests live in {{source|js/src/tests/test402}}, an unmodified import of the ECMA-402 test suite.  '''XXX Explain how the tests are run, how they're skipped in no-<code>Intl</code> builds, how to update them, how to contribute to them, how we disable/annotate any tests we don't pass'''
Tests live in {{source|js/src/tests/test402}}, an unmodified import of the ECMA-402 test suite.  The tests are run during the normal jstests/jsreftest suite.  '''XXX Is this true yet?'''
 
Internationalization tests are treated as a third-party import.  Contributions to them should go through '''XXX how to contribute'''.
 
As we may not have fully-correctly implemented ECMA-402 at any point, or a bug might be found before a test is committed, we require a mechanism to mark an ECMA-402 test as failing without requiring that marking be upstreamed.  '''XXX what is this mechanism?'''
 
In builds with ECMA-402 support disabled, these tests are skipped.  '''XXX how?'''


=== Implementation ===
=== Implementation ===
Confirmed users
446

edits

Navigation menu