blob: a4f12540b4722e1cd77bcb0f55519f2562234664 [file] [log] [blame]
This is a testharness.js-based test.
PASS A Keep-Alive fetch() with a small body should succeed.
FAIL A Keep-Alive fetch() with a body at the Quota Limit should succeed. promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch"
PASS A Keep-Alive fetch() with a body over the Quota Limit should reject.
FAIL A Keep-Alive fetch() should return its allocated Quota upon promise resolution. promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch"
FAIL A Keep-Alive fetch() should return only its allocated Quota upon promise resolution. promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch"
PASS A Keep-Alive fetch() should not be allowed if the Quota is used up.
Harness: the test ran to completion.