mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-04 23:29:52 +00:00
LibWeb/CSS: Hyphenate request-url-modifier names
Corresponds to e1bf92d49a
Also update our imported WPT tests.
This commit is contained in:
parent
24f4356c3f
commit
5808eff1f4
Notes:
github-actions[bot]
2025-08-07 12:45:14 +00:00
Author: https://github.com/AtkinsSJ
Commit: 5808eff1f4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5758
8 changed files with 137 additions and 131 deletions
|
@ -130,11 +130,11 @@ String RequestURLModifier::to_string() const
|
|||
{
|
||||
switch (m_type) {
|
||||
case Type::CrossOrigin:
|
||||
return MUST(String::formatted("crossorigin({})", CSS::to_string(m_value.get<CrossOriginModifierValue>())));
|
||||
return MUST(String::formatted("cross-origin({})", CSS::to_string(m_value.get<CrossOriginModifierValue>())));
|
||||
case Type::Integrity:
|
||||
return MUST(String::formatted("integrity({})", serialize_a_string(m_value.get<FlyString>())));
|
||||
case Type::ReferrerPolicy:
|
||||
return MUST(String::formatted("referrerpolicy({})", CSS::to_string(m_value.get<ReferrerPolicyModifierValue>())));
|
||||
return MUST(String::formatted("referrer-policy({})", CSS::to_string(m_value.get<ReferrerPolicyModifierValue>())));
|
||||
}
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue