mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
bug 1102923 - give spdy push test an error handler r=test-only
This commit is contained in:
parent
9134477c28
commit
3de09b658c
@ -140,7 +140,7 @@ function handleRequest(req, res) {
|
||||
function(err, stream) {
|
||||
if (err) return;
|
||||
stream.end('// comments');
|
||||
});
|
||||
}).on('error', function(){});
|
||||
content = '<head> <script src="push.js"/></head>body text';
|
||||
} else if (u.pathname == "/push2") {
|
||||
res.push('/push2.js',
|
||||
@ -151,7 +151,7 @@ function handleRequest(req, res) {
|
||||
function(err, stream) {
|
||||
if (err) return;
|
||||
stream.end('// comments');
|
||||
});
|
||||
}).on('error', function(){});
|
||||
content = '<head> <script src="push2.js"/></head>body text';
|
||||
} else if (u.pathname == "/big") {
|
||||
content = getHugeContent(128 * 1024);
|
||||
|
Loading…
Reference in New Issue
Block a user