Bug 1501674 - Update MDN HTTP doc mappings. r=Honza
authortanhengyeow <E0032242@u.nus.edu>
Thu, 25 Oct 2018 14:39:57 +0000
changeset 491340 a6499b00d6d6bac010206d457bb1643f7f68e1ed
parent 491339 58bb389b133cea716345b7ba78beec04202321aa
child 491341 f01896424c3a2fa77c20f9b9b40da89a2a09c1ba
push id247
push userfmarier@mozilla.com
push dateSat, 27 Oct 2018 01:06:44 +0000
reviewersHonza
bugs1501674
milestone65.0a1
Bug 1501674 - Update MDN HTTP doc mappings. r=Honza Update MDN HTTP doc mappings. Differential Revision: https://phabricator.services.mozilla.com/D9668
devtools/client/netmonitor/src/utils/mdn-utils.js
--- a/devtools/client/netmonitor/src/utils/mdn-utils.js
+++ b/devtools/client/netmonitor/src/utils/mdn-utils.js
@@ -21,33 +21,37 @@ const SUPPORTED_HEADERS = [
   "Access-Control-Expose-Headers",
   "Access-Control-Max-Age",
   "Access-Control-Request-Headers",
   "Access-Control-Request-Method",
   "Age",
   "Allow",
   "Authorization",
   "Cache-Control",
+  "Clear-Site-Data",
   "Connection",
   "Content-Disposition",
   "Content-Encoding",
   "Content-Language",
   "Content-Length",
   "Content-Location",
   "Content-Range",
   "Content-Security-Policy",
   "Content-Security-Policy-Report-Only",
   "Content-Type",
   "Cookie",
   "Cookie2",
   "DNT",
   "Date",
   "ETag",
+  "Early-Data",
   "Expect",
+  "Expect-CT",
   "Expires",
+  "Feature-Policy",
   "Forwarded",
   "From",
   "Host",
   "If-Match",
   "If-Modified-Since",
   "If-None-Match",
   "If-Range",
   "If-Unmodified-Since",
@@ -61,20 +65,23 @@ const SUPPORTED_HEADERS = [
   "Proxy-Authorization",
   "Public-Key-Pins",
   "Public-Key-Pins-Report-Only",
   "Range",
   "Referer",
   "Referrer-Policy",
   "Retry-After",
   "Server",
+  "Server-Timing",
   "Set-Cookie",
   "Set-Cookie2",
+  "SourceMap",
   "Strict-Transport-Security",
   "TE",
+  "Timing-Allow-Origin",
   "Tk",
   "Trailer",
   "Transfer-Encoding",
   "Upgrade-Insecure-Requests",
   "User-Agent",
   "Vary",
   "Via",
   "WWW-Authenticate",
@@ -122,16 +129,18 @@ const SUPPORTED_HTTP_CODES = [
     "411",
     "412",
     "413",
     "414",
     "415",
     "416",
     "417",
     "418",
+    "422",
+    "425",
     "426",
     "428",
     "429",
     "431",
     "451",
     "500",
     "501",
     "502",