mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-16 14:02:00 +00:00
LibWeb: Remove 'classic' from 'default classic script fetch options'
See:
- 5ee6b7b
This commit is contained in:
parent
29416befe6
commit
d6db6edaf6
Notes:
github-actions[bot]
2024-10-04 06:41:19 +00:00
Author: https://github.com/jamierocks
Commit: d6db6edaf6
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1620
3 changed files with 6 additions and 6 deletions
|
@ -42,9 +42,9 @@ PerformTheFetchHook create_perform_the_fetch_hook(JS::Heap& heap, Function<WebID
|
|||
return JS::create_heap_function(heap, move(function));
|
||||
}
|
||||
|
||||
ScriptFetchOptions default_classic_script_fetch_options()
|
||||
ScriptFetchOptions default_script_fetch_options()
|
||||
{
|
||||
// The default classic script fetch options are a script fetch options whose cryptographic nonce is the empty string,
|
||||
// The default script fetch options are a script fetch options whose cryptographic nonce is the empty string,
|
||||
// integrity metadata is the empty string, parser metadata is "not-parser-inserted", credentials mode is "same-origin",
|
||||
// referrer policy is the empty string, and fetch priority is "auto".
|
||||
return ScriptFetchOptions {
|
||||
|
|
|
@ -51,8 +51,8 @@ struct ScriptFetchOptions {
|
|||
Fetch::Infrastructure::Request::Priority fetch_priority {};
|
||||
};
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/webappapis.html#default-classic-script-fetch-options
|
||||
ScriptFetchOptions default_classic_script_fetch_options();
|
||||
// https://html.spec.whatwg.org/multipage/webappapis.html#default-script-fetch-options
|
||||
ScriptFetchOptions default_script_fetch_options();
|
||||
|
||||
class FetchContext : public JS::GraphLoadingState::HostDefined {
|
||||
JS_CELL(FetchContext, JS::GraphLoadingState::HostDefined);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue