mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 07:03:29 +00:00
remove unused import, add debug statement
This commit is contained in:
@@ -165,7 +165,6 @@ fn common(b: *std.Build, opts: *std.Build.Step.Options, step: *std.Build.Step.Co
|
||||
);
|
||||
mod.link_libcpp = true;
|
||||
mod.addObjectFile(mod.owner.path(lib_path));
|
||||
mod.addIncludePath(b.path("src/runtime/v8"));
|
||||
|
||||
switch (target.result.os.tag) {
|
||||
.macos => {
|
||||
|
||||
@@ -97,6 +97,8 @@ test "JS: object types" {
|
||||
// v8 has 5 default "own" properties
|
||||
const own_base = "5";
|
||||
|
||||
std.debug.print("MASKING: {d} {d}\n", .{@import("v8").PropertyHandlerFlags.OnlyInterceptStrings, @import("v8").PropertyHandlerFlags.NonMasking});
|
||||
|
||||
try runner.testCases(&.{
|
||||
.{ "Object.getOwnPropertyNames(MyObject).length;", own_base },
|
||||
.{ "let myObj = new MyObject(true);", "undefined" },
|
||||
|
||||
Reference in New Issue
Block a user