mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-16 00:08:59 +00:00
Blob is in another castle
This commit is contained in:
@@ -563,7 +563,6 @@ pub const JsApis = flattenTypes(&.{
|
|||||||
@import("../webapi/MutationObserver.zig"),
|
@import("../webapi/MutationObserver.zig"),
|
||||||
@import("../webapi/IntersectionObserver.zig"),
|
@import("../webapi/IntersectionObserver.zig"),
|
||||||
@import("../webapi/CustomElementRegistry.zig"),
|
@import("../webapi/CustomElementRegistry.zig"),
|
||||||
@import("../webapi/ResizeObserver.zig"),
|
@import("../webapi/Blob.zig"),
|
||||||
@import("../webapi/file/Blob.zig"),
|
|
||||||
@import("../webapi/File.zig"),
|
@import("../webapi/File.zig"),
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -19,8 +19,8 @@
|
|||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const Writer = std.Io.Writer;
|
const Writer = std.Io.Writer;
|
||||||
|
|
||||||
const js = @import("../../js/js.zig");
|
const js = @import("../js/js.zig");
|
||||||
const Page = @import("../../Page.zig");
|
const Page = @import("../Page.zig");
|
||||||
|
|
||||||
/// https://w3c.github.io/FileAPI/#blob-section
|
/// https://w3c.github.io/FileAPI/#blob-section
|
||||||
/// https://developer.mozilla.org/en-US/docs/Web/API/Blob
|
/// https://developer.mozilla.org/en-US/docs/Web/API/Blob
|
||||||
@@ -294,7 +294,7 @@ pub const JsApi = struct {
|
|||||||
pub const @"type" = bridge.accessor(Blob.getType, null, .{});
|
pub const @"type" = bridge.accessor(Blob.getType, null, .{});
|
||||||
};
|
};
|
||||||
|
|
||||||
const testing = @import("../../../testing.zig");
|
const testing = @import("../../testing.zig");
|
||||||
test "WebApi: Blob" {
|
test "WebApi: Blob" {
|
||||||
try testing.htmlRunner("blob.html", .{});
|
try testing.htmlRunner("blob.html", .{});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,7 +18,8 @@
|
|||||||
|
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
|
|
||||||
const Blob = @import("file/Blob.zig");
|
const Page = @import("../Page.zig");
|
||||||
|
const Blob = @import("Blob.zig");
|
||||||
const js = @import("../js/js.zig");
|
const js = @import("../js/js.zig");
|
||||||
|
|
||||||
const File = @This();
|
const File = @This();
|
||||||
|
|||||||
Reference in New Issue
Block a user