зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1508996 - Change Response's statusText's default, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D21026 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
e50ef9e377
Коммит
dd597fbd0e
|
@ -4,7 +4,7 @@ function testDefaultCtor() {
|
|||
ok(res.headers instanceof Headers, "Response should have non-null Headers object");
|
||||
is(res.url, "", "URL should be empty string");
|
||||
is(res.status, 200, "Default status is 200");
|
||||
is(res.statusText, "OK", "Default statusText is OK");
|
||||
is(res.statusText, "", "Default statusText is an empty string");
|
||||
}
|
||||
|
||||
function testClone() {
|
||||
|
|
|
@ -44,7 +44,7 @@ partial interface Response {
|
|||
|
||||
dictionary ResponseInit {
|
||||
unsigned short status = 200;
|
||||
ByteString statusText = "OK";
|
||||
ByteString statusText = "";
|
||||
HeadersInit headers;
|
||||
};
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[response-init-001.html]
|
||||
[Check default value for statusText attribute]
|
||||
expected: FAIL
|
||||
|
Загрузка…
Ссылка в новой задаче