Bug 1129331 - Remove nonstandard let blocks from netwerk. r=hurley

This commit is contained in:
Chris Peterson 2015-01-24 23:36:25 -08:00
parent 164ea2c10c
commit 8654748423
2 changed files with 4 additions and 10 deletions

View File

@ -33,11 +33,9 @@ function run_test()
if ("*." == firstTwo)
{
let (rest = line.substring(2))
{
checkPublicSuffix("foo.SUPER-SPECIAL-AWESOME-PREFIX." + rest,
"SUPER-SPECIAL-AWESOME-PREFIX." + rest);
}
let rest = line.substring(2);
checkPublicSuffix("foo.SUPER-SPECIAL-AWESOME-PREFIX." + rest,
"SUPER-SPECIAL-AWESOME-PREFIX." + rest);
}
else if ("!" == line.charAt(0))
{

View File

@ -1,9 +1,5 @@
// test spdy/3.1
var Ci = Components.interfaces;
var Cc = Components.classes;
var Cu = Components.utils;
Cu.import("resource://gre/modules/Services.jsm");
// Generate a small and a large post with known pre-calculated md5 sums
@ -352,7 +348,7 @@ function test_complete() {
// a stalled stream when a SETTINGS frame arrives
var tests = [ test_spdy_post_big
, test_spdy_basic
, test_spdy_concurrent
, test_spdy_concurrent
, test_spdy_push1
, test_spdy_push2
, test_spdy_push3