Skip to content

Commit

Permalink
Firefox recognizes Server-Timing header, but only partially supports …
Browse files Browse the repository at this point in the history
…it as Trailer (DevTools only)

chore(http): Clarify Trailer support, partial support for Server-Timing in Fx devtools only
  • Loading branch information
bsmth authored Nov 22, 2024
1 parent 323a517 commit af6c908
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 7 deletions.
36 changes: 36 additions & 0 deletions http/headers/Server-Timing.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,42 @@
"standard_track": true,
"deprecated": false
}
},
"trailer": {
"__compat": {
"description": "`Server-Timing` as HTTP trailer",
"support": {
"chrome": {
"version_added": false,
"impl_url": "https://crbug.com/40811358"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": "71",
"notes": "Only the `Server-Timing` header is a recognized trailer, and it is only exposed to DevTools in the network Timing tab ([bug 1403051](https://bugzil.la/1403051)). Developers cannot access trailers via the Fetch API or XHR."
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
}
}
}
Expand Down
14 changes: 7 additions & 7 deletions http/headers/Trailer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,24 @@
],
"support": {
"chrome": {
"version_added": "1"
"version_added": false
},
"chrome_android": "mirror",
"edge": {
"version_added": "12"
},
"edge": "mirror",
"firefox": {
"version_added": "1"
"version_added": "71",
"partial_implementation": true,
"notes": "Only the `Server-Timing` header is a recognized trailer, and it is only exposed to DevTools in the network Timing tab ([bug 1403051](https://bugzil.la/1403051)). Developers cannot access trailers via the Fetch API or XHR."
},
"firefox_android": "mirror",
"ie": {
"version_added": "≤11"
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "1"
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
Expand Down

0 comments on commit af6c908

Please sign in to comment.