Skip to content

Commit 265272b

Browse files
committed
move FormData to xhr folder
1 parent 110dc75 commit 265272b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/browser/env.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const WebApis = struct {
3535
@import("storage/storage.zig").Interfaces,
3636
@import("url/url.zig").Interfaces,
3737
@import("xhr/xhr.zig").Interfaces,
38-
@import("url/form_data.zig").Interfaces,
38+
@import("xhr/form_data.zig").Interfaces,
3939
@import("xmlserializer/xmlserializer.zig").Interfaces,
4040
});
4141
};

src/browser/url/form_data.zig renamed to src/browser/xhr/form_data.zig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ pub const Interfaces = .{
4646
// This is much easier to do with an ArrayList than a HashMap, especially given
4747
// that the FormData could be mutated while iterating.
4848
// The downside is that most of the normal operations are O(N).
49+
50+
// https://xhr.spec.whatwg.org/#interface-formdata
4951
pub const FormData = struct {
5052
entries: std.ArrayListUnmanaged(Entry),
5153

0 commit comments

Comments
 (0)