Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put browser-compat info in front-runner for http/headers/* #5469

Merged

Conversation

teoli2003
Copy link
Contributor

What was wrong/why is this fix needed? (quick summary only)

We want to have browser-compat in front-runner: this allows us to write {{Compat}} without parameter, and in the future, {{Spec}} (and likely more).

This PR covers api/headers/* for the case without problem: 1 macro Compat in the page and its parameter matching the slug. Other cases (no Compat macros on a page, multiple Compat macros, macro not matching the slug, will be done at a later stage).

MDN URL of the main page changed

124 files in api/*

Issue number (if there is an associated issue)

openwebdocs/project#36

Anything else that could help us review it

@teoli2003 teoli2003 requested a review from a team as a code owner May 30, 2021 09:21
@teoli2003 teoli2003 requested review from mirunacurtean and removed request for a team May 30, 2021 09:21
@github-actions
Copy link
Contributor

github-actions bot commented May 30, 2021

Preview URLs

Flaws

Note! 109 documents with no flaws that don't need to be listed. 🎉

URL: /en-US/docs/Web/HTTP/Headers/Clear-Site-Data
Title: Clear-Site-Data
on GitHub
Flaw count: 1

  • broken_links:
    • Can't resolve /en-US/docs/Web/HTML/Using_the_application_cache

URL: /en-US/docs/Web/HTTP/Headers/Public-Key-Pins-Report-Only
Title: Public-Key-Pins-Report-Only
on GitHub
Flaw count: 1

  • macros:
    • /en-US/docs/Glossary/SPKI does not exist

URL: /en-US/docs/Web/HTTP/Headers/Link
Title: Link
on GitHub
Flaw count: 1

  • bad_bcd_queries:
    • No BCD data for query: http.headers.Link

URL: /en-US/docs/Web/HTTP/Headers/Proxy-Authenticate
Title: Proxy-Authenticate
on GitHub
Flaw count: 1

  • broken_links:
    • Is currently http:// but can become https://

URL: /en-US/docs/Web/HTTP/Headers/DPR
Title: DPR
on GitHub
Flaw count: 1

  • macros:
    • /en-US/docs/Glossary/DPR does not exist

URL: /en-US/docs/Web/HTTP/Headers/Large-Allocation
Title: Large-Allocation
on GitHub
Flaw count: 1

  • broken_links:
    • Can't resolve /en-US/docs/Mozilla/Add-ons/SDK

URL: /en-US/docs/Web/HTTP/Headers/Sec-WebSocket-Accept
Title: Sec-WebSocket-Accept
on GitHub
Flaw count: 1

  • bad_bcd_queries:
    • No BCD data for query: http.headers.Sec-WebSocket-Accept

URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy
Title: Feature-Policy
on GitHub
Flaw count: 2

  • macros:
    • /en-US/docs/Web/API/Navigator/requestMIDIAccess does not exist
  • broken_links:
    • Can't resolve /en-US/docs/Web/API/Web_MIDI_API

URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/autoplay
Title: Feature-Policy: autoplay
on GitHub
Flaw count: 1

  • macros:
    • wrong xref macro used (consider changing which macro you use)

URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/camera
Title: Feature-Policy: camera
on GitHub
Flaw count: 1

  • macros:
    • /en-US/docs/Web/API/NotAllowedError does not exist

URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/midi
Title: Feature-Policy: midi
on GitHub
Flaw count: 2

  • macros:
    • /en-US/docs/Web/API/Navigator/requestMIDIAccess does not exist
  • broken_links:
    • Can't resolve /en-US/docs/Web/API/Web_MIDI_API

URL: /en-US/docs/Web/HTTP/Headers/WWW-Authenticate
Title: WWW-Authenticate
on GitHub
Flaw count: 1

  • broken_links:
    • Is currently http:// but can become https://

URL: /en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only
Title: Content-Security-Policy-Report-Only
on GitHub
Flaw count: 1

  • broken_links:
    • Can't resolve /en-US/docs/Tools/GCLI/Display_security_and_privacy_policies

URL: /en-US/docs/Web/HTTP/Headers/Public-Key-Pins
Title: Public-Key-Pins
on GitHub
Flaw count: 1

  • macros:
    • /en-US/docs/Glossary/SPKI does not exist

URL: /en-US/docs/Web/HTTP/Headers/X-XSS-Protection
Title: X-XSS-Protection
on GitHub
Flaw count: 1

  • macros:
    • /en-US/docs/Glossary/XSS redirects to /en-US/docs/Glossary/Cross-site_scripting

External URLs

URL: /en-US/docs/Web/HTTP/Headers/Clear-Site-Data
Title: Clear-Site-Data
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Content-Language
Title: Content-Language
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Range
Title: Range
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Accept-Language
Title: Accept-Language
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Accept
Title: Accept
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Via
Title: Via
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Age
Title: Age
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Sec-Fetch-Mode
Title: Sec-Fetch-Mode
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Public-Key-Pins-Report-Only
Title: Public-Key-Pins-Report-Only
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Link
Title: Link
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Want-Digest
Title: Want-Digest
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/ETag
Title: ETag
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Proxy-Authenticate
Title: Proxy-Authenticate
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/TE
Title: TE
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Access-Control-Max-Age
Title: Access-Control-Max-Age
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Sec-Fetch-Dest
Title: Sec-Fetch-Dest
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Cross-Origin-Embedder-Policy
Title: Cross-Origin-Embedder-Policy
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/If-Unmodified-Since
Title: If-Unmodified-Since
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Vary
Title: Vary
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Date
Title: Date
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin
Title: Access-Control-Allow-Origin
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/DPR
Title: DPR
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/X-DNS-Prefetch-Control
Title: X-DNS-Prefetch-Control
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Warning
Title: Warning
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Device-Memory
Title: Device-Memory
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Alt-Svc
Title: Alt-Svc
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Access-Control-Request-Method
Title: Access-Control-Request-Method
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Pragma
Title: Pragma
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Expect
Title: Expect
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Accept-Encoding
Title: Accept-Encoding
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Server-Timing
Title: Server-Timing
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/DNT
Title: DNT
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Forwarded
Title: Forwarded
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Timing-Allow-Origin
Title: Timing-Allow-Origin
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Large-Allocation
Title: Large-Allocation
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/X-Forwarded-For
Title: X-Forwarded-For
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers
Title: Access-Control-Expose-Headers
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Sec-Fetch-User
Title: Sec-Fetch-User
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Keep-Alive
Title: Keep-Alive
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Upgrade-Insecure-Requests
Title: Upgrade-Insecure-Requests
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Sec-WebSocket-Accept
Title: Sec-WebSocket-Accept
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Connection
Title: Connection
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/X-Forwarded-Host
Title: X-Forwarded-Host
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Cache-Control
Title: Cache-Control
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers
Title: Access-Control-Allow-Headers
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Accept-CH-Lifetime
Title: Accept-CH-Lifetime
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Accept-CH
Title: Accept-CH
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Cross-Origin-Resource-Policy
Title: Cross-Origin-Resource-Policy
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/NEL
Title: NEL
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Save-Data
Title: Save-Data
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Last-Modified
Title: Last-Modified
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/If-Modified-Since
Title: If-Modified-Since
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy
Title: Feature-Policy
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/fullscreen
Title: Feature-Policy: fullscreen
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/battery
Title: Feature-Policy: battery
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/magnetometer
Title: Feature-Policy: magnetometer
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/autoplay
Title: Feature-Policy: autoplay
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/camera
Title: Feature-Policy: camera
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/legacy-image-formats
Title: Feature-Policy: legacy-image-formats
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/gyroscope
Title: Feature-Policy: gyroscope
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/encrypted-media
Title: Feature-Policy: encrypted-media
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/publickey-credentials-get
Title: Feature-Policy: publickey-credentials-get
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/unoptimized-images
Title: Feature-Policy: unoptimized-images
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/vr
Title: Feature-Policy: vr
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/ambient-light-sensor
Title: Feature-Policy: ambient-light-sensor
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/web-share
Title: web-share
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/unsized-media
Title: Feature-Policy: unsized-media
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/document-domain
Title: Feature-Policy: document-domain
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/geolocation
Title: Feature-Policy: geolocation
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/vibrate
Title: Feature-Policy: vibrate
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/midi
Title: Feature-Policy: midi
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/display-capture
Title: Feature-Policy: display-capture
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/oversized-images
Title: Feature-Policy: oversized-images
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/payment
Title: Feature-Policy: payment
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/accelerometer
Title: Feature-Policy: accelerometer
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/picture-in-picture
Title: Feature-Policy: picture-in-picture
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/microphone
Title: Feature-Policy: microphone
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/layout-animations
Title: Feature-Policy: layout-animations
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/usb
Title: Feature-Policy: usb
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/sync-xhr
Title: Feature-Policy: sync-xhr
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/xr-spatial-tracking
Title: Feature-Policy: xr-spatial-tracking
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Feature-Policy/screen-wake-lock
Title: Feature-Policy: screen-wake-lock
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/WWW-Authenticate
Title: WWW-Authenticate
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/User-Agent
Title: User-Agent
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Location
Title: Location
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers
Title: Access-Control-Request-Headers
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/SourceMap
Title: SourceMap
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Retry-After
Title: Retry-After
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Cookie2
Title: Cookie2
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Referer
Title: Referer
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Content-Range
Title: Content-Range
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/If-None-Match
Title: If-None-Match
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods
Title: Access-Control-Allow-Methods
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only
Title: Content-Security-Policy-Report-Only
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Referrer-Policy
Title: Referrer-Policy
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials
Title: Access-Control-Allow-Credentials
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Expect-CT
Title: Expect-CT
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Accept-Ranges
Title: Accept-Ranges
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Cookie
Title: Cookie
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Server
Title: Server
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Public-Key-Pins
Title: Public-Key-Pins
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Digest
Title: Digest
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Tk
Title: Tk
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/If-Match
Title: If-Match
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Sec-Fetch-Site
Title: Sec-Fetch-Site
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/X-Frame-Options
Title: X-Frame-Options
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Upgrade
Title: Upgrade
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Strict-Transport-Security
Title: Strict-Transport-Security
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/If-Range
Title: If-Range
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/From
Title: From
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Cross-Origin-Opener-Policy
Title: Cross-Origin-Opener-Policy
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Origin
Title: Origin
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Set-Cookie2
Title: Set-Cookie2
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Transfer-Encoding
Title: Transfer-Encoding
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/X-XSS-Protection
Title: X-XSS-Protection
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Expires
Title: Expires
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Trailer
Title: Trailer
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Content-Type
Title: Content-Type
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Content-Disposition
Title: Content-Disposition
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Content-Location
Title: Content-Location
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto
Title: X-Forwarded-Proto
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Host
Title: Host
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/Early-Data
Title: Early-Data
on GitHub

No new external URLs


URL: /en-US/docs/Web/HTTP/Headers/X-Content-Type-Options
Title: X-Content-Type-Options
on GitHub

No new external URLs

(this comment was updated 2021-06-01 05:06:18.625721)

Copy link
Member

@Elchi3 Elchi3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes to two files required

files/en-us/web/http/headers/content-type/index.html Outdated Show resolved Hide resolved
files/en-us/web/http/headers/server-timing/index.html Outdated Show resolved Hide resolved
@teoli2003 teoli2003 requested a review from Elchi3 June 1, 2021 05:19
Copy link
Member

@Elchi3 Elchi3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect! 👍

@Elchi3 Elchi3 merged commit 0c91a1c into mdn:main Jun 1, 2021
@teoli2003 teoli2003 deleted the move-browser-compat-in-front-runner-http-headers branch June 1, 2021 05:59
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants