mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:57:35 +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
|
@ -163,7 +163,7 @@ WebIDL::ExceptionOr<JS::Value> XMLHttpRequest::response()
|
|||
// 7. Otherwise, if this’s response type is "document", set a document response for this.
|
||||
else if (m_response_type == Bindings::XMLHttpRequestResponseType::Document) {
|
||||
// FIXME: Implement this.
|
||||
return WebIDL::SimpleException { WebIDL::SimpleExceptionType::TypeError, "XHR Document type not implemented" };
|
||||
return WebIDL::SimpleException { WebIDL::SimpleExceptionType::TypeError, "XHR Document type not implemented"sv };
|
||||
}
|
||||
// 8. Otherwise:
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue