mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 935499. r=honzab
This commit is contained in:
parent
9a2a7049eb
commit
be0206f4b3
@ -204,6 +204,10 @@ enum punycode_status punycode_decode(
|
||||
punycode_uint n, out, i, max_out, bias,
|
||||
b, j, in, oldi, w, k, digit, t;
|
||||
|
||||
if (!input_length) {
|
||||
return punycode_bad_input;
|
||||
}
|
||||
|
||||
/* Initialize the state: */
|
||||
|
||||
n = initial_n;
|
||||
|
7
netwerk/test/unit/test_bug935499.js
Normal file
7
netwerk/test/unit/test_bug935499.js
Normal file
@ -0,0 +1,7 @@
|
||||
function run_test() {
|
||||
var idnService = Cc["@mozilla.org/network/idn-service;1"]
|
||||
.getService(Ci.nsIIDNService);
|
||||
|
||||
var isASCII = {};
|
||||
do_check_eq(idnService.convertToDisplayIDN("xn--", isASCII), "xn--");
|
||||
}
|
@ -164,6 +164,7 @@ skip-if = os == "android"
|
||||
[test_bug894586.js]
|
||||
# Allocating 4GB might actually succeed on 64 bit machines
|
||||
skip-if = bits != 32
|
||||
[test_bug935499.js]
|
||||
[test_doomentry.js]
|
||||
[test_cacheflags.js]
|
||||
# Bug 675039: intermittent fail on Android-armv6
|
||||
|
Loading…
Reference in New Issue
Block a user