Bug 1218179: move from transitional to non-transitional IDNA2008 processing, r=jfkthame

This commit is contained in:
Simon Montagu 2015-10-25 23:53:21 -07:00
parent 06f39bb949
commit 6ca8e09bc1
3 changed files with 8 additions and 6 deletions

View File

@ -18,12 +18,12 @@
#include "punycode.h"
#ifdef IDNA2008
// Currently we use the transitional processing option -- see
// Currently we use the non-transitional processing option -- see
// http://unicode.org/reports/tr46/
// To switch to non-transitional processing, change the value of this flag
// and kTransitionalProcessing in netwerk/test/unit/test_idna2008.js to false
// (patch in bug 1218179).
const bool kIDNA2008_TransitionalProcessing = true;
// To switch to transitional processing, change the value of this flag
// and kTransitionalProcessing in netwerk/test/unit/test_idna2008.js to true
// (revert bug 1218179).
const bool kIDNA2008_TransitionalProcessing = false;
#include "ICUUtils.h"
#endif

View File

@ -1,4 +1,4 @@
const kTransitionalProcessing = true;
const kTransitionalProcessing = false;
// Four characters map differently under non-transitional processing:
const labels = [

View File

@ -220,6 +220,8 @@ skip-if = bits != 32
[test_idn_blacklist.js]
[test_idn_urls.js]
[test_idna2008.js]
# IDNA2008 depends on ICU, not available on android
skip-if = os == "android"
[test_invalidport.js]
[test_localstreams.js]
[test_mismatch_last-modified.js]