| data |
|
|
- |
| head_utils.js |
Constructs a new nsHttpServer instance. This function is intended to
encapsulate construction of a server so that at some point in the future it
is possible to run these tests (with at most slight modifications) against
the server when used as an XPCOM component (not as an inline script).
|
16545 |
- |
| test_async_response_sending.js |
Ensures that data a request handler writes out in response is sent only as
quickly as the client can receive it, without racing ahead and being forced
to block while writing that data.
NB: These tests are extremely tied to the current implementation, in terms of
when and how stream-ready notifications occur, the amount of data which will
be read or written at each notification, and so on. If the implementation
changes in any way with respect to stream copying, this test will probably
have to change a little at the edges as well.
|
50636 |
- |
| test_basic_functionality.js |
Basic functionality test, from the client programmer's POV.
|
4666 |
- |
| test_body_length.js |
Tests that the Content-Length header in incoming requests is interpreted as
a decimal number, even if it has the form (including leading zero) of an
octal number.
|
1689 |
- |
| test_byte_range.js |
|
6800 |
- |
| test_cern_meta.js |
|
2130 |
- |
| test_default_index_handler.js |
UTILITIES *
*********** |
7070 |
- |
| test_empty_body.js |
|
1388 |
- |
| test_errorhandler_exception.js |
|
2327 |
- |
| test_header_array.js |
HANDLERS *
********** |
1955 |
- |
| test_headers.js |
Ensures that a fieldname-fieldvalue combination is a valid header.
@param fieldName
the name of the header
@param fieldValue
the value of the header
@param headers
an nsHttpHeaders object to use to check validity
|
4950 |
- |
| test_host.js |
Tests that the scheme, host, and port of the server are correctly recorded
and used in HTTP requests and responses.
|
18707 |
- |
| test_host_identity.js |
Tests that the server accepts requests to custom host names.
This is commonly used in tests that map custom host names to the server via
a proxy e.g. by XPCShellContentUtils.createHttpServer.
|
3318 |
- |
| test_linedata.js |
|
560 |
- |
| test_load_module.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
428 |
- |
| test_name_scheme.js |
|
2567 |
- |
| test_processasync.js |
Tests for correct behavior of asynchronous responses.
|
7019 |
- |
| test_qi.js |
eslint-disable no-control-regex |
2579 |
- |
| test_registerdirectory.js |
without a base path *
********************* |
6775 |
- |
| test_registerfile.js |
|
1059 |
- |
| test_registerprefix.js |
registered prefix handler *
*************************** |
3137 |
- |
| test_request_line_split_in_two_packets.js |
Tests that even when an incoming request's data for the Request-Line doesn't
all fit in a single onInputStreamReady notification, the request is handled
properly.
|
3592 |
- |
| test_response_write.js |
|
1287 |
- |
| test_seizepower.js |
Tests that the seizePower API works correctly.
|
4763 |
- |
| test_setindexhandler.js |
|
1690 |
- |
| test_setstatusline.js |
UTILITIES *
*********** |
3780 |
- |
| test_sjs.js |
UTILITY FUNCTIONS *
******************* |
6032 |
- |
| test_sjs_object_state.js |
Tests that the object-state-preservation mechanism works correctly.
|
7231 |
- |
| test_sjs_state.js |
HANDLERS *
********** |
5233 |
- |
| test_sjs_throwing_exceptions.js |
Tests that running an SJS a whole lot of times doesn't have any ill effects
(like exceeding open-file limits due to not closing the SJS file each time,
then preventing any file from being opened).
|
1817 |
- |
| test_start_stop.js |
Tests for correct behavior of the server start() and stop() methods.
|
3187 |
- |
| test_start_stop_ipv6.js |
Tests for correct behavior of the server start_ipv6() and stop() methods.
|
3222 |
- |
| xpcshell.toml |
|
1086 |
- |