lib/private/Security/CSP/ContentSecurityPolicyNonceManager.php
/**
	 * Check if the browser supports CSP v3
	 *
	 * @return bool
	 */
Check if the browser supports CSP v3
@return bool
Check if the browser supports CSP v3 @return bool
public function browserSupportsCspV3() {
		$browserWhitelist = [
			Request::USER_AGENT_CHROME,
			'/^Mozilla\/5\.0 \([^)]+\) Gecko\/[0-9.]+ Firefox\/(4[5-9]|[5-9][0-9])\.[0-9.]+$/',
		];
		if($this->request->isUserAgent($browserWhitelist)) {
			return true;
		}
		return false;
	}
public function browserSupportsCspV3 ( ) { $ browserWhitelist = [ Request :: USER_AGENT_CHROME , '/^Mozilla\/5\.0 \([^)]+\) Gecko\/[0-9.]+ Firefox\/(4[5-9]|[5-9][0-9])\.[0-9.]+$/' , ] ; if ( $ this -> request -> isUserAgent ( $ browserWhitelist ) ) { return true ; } return false ; }
Check if the browser supports CSP v3
 @return bool
Check if the browser supports CSP v3 @return bool
// Firefox 45+