mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 18:55:08 +00:00
LibWeb: Use StringView literals for all WebIDL::SimpleException
s
This commit is contained in:
parent
14d4f227f2
commit
6ce08d3f75
6 changed files with 22 additions and 22 deletions
|
@ -212,7 +212,7 @@ WebIDL::ExceptionOr<String> serialize_node_to_xml_string_impl(JS::NonnullGCPtr<D
|
|||
|
||||
// -> Anything else
|
||||
// Throw a TypeError. Only Nodes and Attr objects can be serialized by this algorithm.
|
||||
return WebIDL::SimpleException { WebIDL::SimpleExceptionType::TypeError, "Can only serialize Nodes or Attributes." };
|
||||
return WebIDL::SimpleException { WebIDL::SimpleExceptionType::TypeError, "Can only serialize Nodes or Attributes."sv };
|
||||
}
|
||||
|
||||
// https://w3c.github.io/DOM-Parsing/#dfn-recording-the-namespace-information
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue