blob: 8a87ebec39203d21825d184ac4d1063367c0e313 [file] [log] [blame]
This is a testharness.js-based test.
FAIL RequestInit's window is not null assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw
PASS Input URL is not valid
PASS Input URL has credentials
PASS RequestInit's mode is navigate
PASS RequestInit's referrer is invalid
PASS RequestInit's method is invalid
PASS RequestInit's method is forbidden
PASS RequestInit's mode is no-cors and method is not simple
PASS RequestInit's cache mode is only-if-cached and mode is not same-origin
PASS Request with cache mode: only-if-cached and fetch mode cors
PASS Request with cache mode: only-if-cached and fetch mode no-cors
PASS Bad referrerPolicy init parameter value
FAIL Bad mode init parameter value assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw
FAIL Bad credentials init parameter value assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw
FAIL Bad cache init parameter value assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw
FAIL Bad redirect init parameter value assert_throws: Expect TypeError exception function "() => new Request(...args)" did not throw
PASS Request should get its content-type from the init request
PASS Request should not get its content-type from the init request if init headers are provided
PASS Request should get its content-type from the body if none is provided
PASS Request should get its content-type from init headers if one is provided
PASS Request with cache mode: only-if-cached and fetch mode: same-origin
Harness: the test ran to completion.