mirror of
https://github.com/servo/servo
synced 2026-05-05 06:32:13 +02:00
Update CORS naming from 'CORS' to 'Cors'.
As per: https://aturon.github.io/style/naming/README.html#general-conventions-[rfc-#430] Acronyms should be considered one word and not all caps.
This commit is contained in:
@@ -590,7 +590,7 @@ impl XMLHttpRequestMethods for XMLHttpRequest {
|
||||
// https://github.com/whatwg/xhr/issues/71
|
||||
destination: Destination::None,
|
||||
synchronous: self.sync.get(),
|
||||
mode: RequestMode::CORSMode,
|
||||
mode: RequestMode::CorsMode,
|
||||
use_cors_preflight: has_handlers,
|
||||
credentials_mode: credentials_mode,
|
||||
use_url_credentials: use_url_credentials,
|
||||
|
||||
Reference in New Issue
Block a user