Drop support for outdated browsers (#9956)

In particular, this includes Internet Explorer 11. Code which existed to support old browsers will be removed over the coming weeks.

https://meta.discourse.org/t/discourse-is-ending-support-for-internet-explorer-11-ie11-on-june-1-2020/137984
This commit is contained in:
David Taylor 2020-06-01 16:38:44 +01:00 committed by GitHub
parent e19d907f0f
commit 13d00eaad0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,7 @@
plugins:
discourse_unsupported_browser_enabled:
default: true
default: false
hidden: true
browser_deprecation_warning:
default: true
client: true

View File

@ -3,6 +3,8 @@
require "rails_helper"
describe Middleware::AnonymousCache::Helper do
before { SiteSetting.discourse_unsupported_browser_enabled = true }
def env(opts = {})
{
"HTTP_HOST" => "http://test.com",