Problem/Motivation
The X-UA-Compatibleheader allows indicating to Internet Explorer that it should render the page in the document mode for a previous version of Internet Explorer. Setting the value to IE=edge ensures that the page is rendered in standards mode when a valid DOCTYPE is not provided, but otherwise has no effect.
With Drupal 9 only supporting IE 11, and Drupal 10 no longer supporting IE, this header can be removed.
@see
https://docs.microsoft.com/en-us/openspecs/ie_standards/ms-iedoco/380e24...
https://docs.microsoft.com/en-ca/previous-versions/windows/internet-explorer/ie-developer/dev-guides/bg182625(v=vs.85)#document-mode-changes
Steps to reproduce
Proposed resolution
Remove setting X-UA-Compatible from FinishResponseSubscriber
Remaining tasks
Release notes snippet
Issue fork drupal-3214211
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3214211-stop-setting-x-ua-compatible
changes, plain diff MR !675
Comments
Comment #2
gappleComment #5
gappleSetting meta issue as parent
Comment #6
longwaveNo other instances of X-UA-Compatible in core, so this is straightforward.
Comment #7
longwaveBut we can only do this in 10.0.x :)
Comment #8
alexpottCommitted 4c6d65d and pushed to 10.0.x. Thanks!