Fix unrecognized feature: 'oversized-images'
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
This commit is contained in:
parent
9bf218ed9f
commit
4bbe89a74c
@ -371,7 +371,7 @@ class Header
|
||||
*
|
||||
* @see https://developer.mozilla.org/docs/Web/HTTP/Headers/Permissions-Policy
|
||||
*/
|
||||
$headers['Permissions-Policy'] = 'fullscreen=(self), oversized-images=(self), interest-cohort=()';
|
||||
$headers['Permissions-Policy'] = 'fullscreen=(self), interest-cohort=()';
|
||||
|
||||
$headers = array_merge($headers, Core::getNoCacheHeaders());
|
||||
|
||||
|
||||
@ -192,7 +192,7 @@ class HeaderTest extends AbstractTestCase
|
||||
'X-Content-Type-Options' => 'nosniff',
|
||||
'X-Permitted-Cross-Domain-Policies' => 'none',
|
||||
'X-Robots-Tag' => 'noindex, nofollow',
|
||||
'Permissions-Policy' => 'fullscreen=(self), oversized-images=(self), interest-cohort=()',
|
||||
'Permissions-Policy' => 'fullscreen=(self), interest-cohort=()',
|
||||
'Expires' => $date,
|
||||
'Cache-Control' => 'no-store, no-cache, must-revalidate, pre-check=0, post-check=0, max-age=0',
|
||||
'Pragma' => 'no-cache',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user