mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-22 09:12:13 -05:00
LibWeb/Fetch: Remove FIXME for since fixed spec bug
This commit is contained in:
parent
3d20587911
commit
c33d72bb41
Notes:
github-actions[bot]
2025-01-16 01:17:45 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/c33d72bb412 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3268 Reviewed-by: https://github.com/tcl3 ✅
1 changed files with 1 additions and 4 deletions
|
@ -147,10 +147,7 @@ WebIDL::ExceptionOr<JS::Value> package_data(JS::Realm& realm, ByteBuffer bytes,
|
|||
// 1. Let entries be the result of parsing bytes.
|
||||
auto entries = DOMURL::url_decode(StringView { bytes });
|
||||
|
||||
// 2. If entries is failure, then throw a TypeError.
|
||||
// FIXME: Spec bug? It doesn't seem possible to throw an error here.
|
||||
|
||||
// 3. Return a new FormData object whose entry list is entries.
|
||||
// 2. Return a new FormData object whose entry list is entries.
|
||||
return TRY(XHR::FormData::create(realm, entries));
|
||||
}
|
||||
// Otherwise, throw a TypeError.
|
||||
|
|
Loading…
Reference in a new issue