Backed out changeset b591e1e39f80 (bug 1508996) for requent devtools failures on browser_net_service-worker-status.js CLOSED TREE
authorarthur.iakab <aiakab@mozilla.com>
Mon, 25 Feb 2019 20:58:10 +0200
changeset 518835 7d429f711f4d58978174ed1a4ec5812f675559a3
parent 518834 c3fd93ab694f412a09a85567acf52699af0abf94
child 518836 b202dfe38a82d3074a4b1fd2b33232c8a7c3241e
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1508996
milestone67.0a1
backs outb591e1e39f8004f581311acd28e8e2645011594f
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset b591e1e39f80 (bug 1508996) for requent devtools failures on browser_net_service-worker-status.js CLOSED TREE
dom/tests/mochitest/fetch/test_response.js
dom/webidl/Response.webidl
testing/web-platform/meta/fetch/api/response/response-init-001.html.ini
--- a/dom/tests/mochitest/fetch/test_response.js
+++ b/dom/tests/mochitest/fetch/test_response.js
@@ -1,15 +1,15 @@
 function testDefaultCtor() {
   var res = new Response();
   is(res.type, "default", "Default Response type is default");
   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, "", "Default statusText is an empty string");
+  is(res.statusText, "OK", "Default statusText is OK");
 }
 
 function testClone() {
   var orig = new Response("This is a body", {
               status: 404,
               statusText: "Not Found",
               headers: { "Content-Length": 5 },
             });
--- a/dom/webidl/Response.webidl
+++ b/dom/webidl/Response.webidl
@@ -39,13 +39,13 @@ Response implements Body;
 // See bug 1387483.
 partial interface Response {
   [GetterThrows, Func="mozilla::dom::DOMPrefs::javascript_options_streams"]
   readonly attribute ReadableStream? body;
 };
 
 dictionary ResponseInit {
   unsigned short status = 200;
-  ByteString statusText = "";
+  ByteString statusText = "OK";
   HeadersInit headers;
 };
 
 enum ResponseType { "basic", "cors", "default", "error", "opaque", "opaqueredirect" };
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/fetch/api/response/response-init-001.html.ini
@@ -0,0 +1,4 @@
+[response-init-001.html]
+  [Check default value for statusText attribute]
+    expected: FAIL
+