mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 15:13:28 +00:00
Upgrade v8
Depends on https://github.com/lightpanda-io/zig-v8-fork/pull/93
This commit is contained in:
@@ -5,9 +5,9 @@
|
|||||||
.fingerprint = 0xda130f3af836cea0,
|
.fingerprint = 0xda130f3af836cea0,
|
||||||
.dependencies = .{
|
.dependencies = .{
|
||||||
.v8 = .{
|
.v8 = .{
|
||||||
.url = "https://github.com/lightpanda-io/zig-v8-fork/archive/d3040a953e5a37290dae20e7ddf138b7aeb5e67d.tar.gz",
|
.url = "https://github.com/lightpanda-io/zig-v8-fork/archive/bad207becebbf3760b80714277002f6fc2ac2d7b.tar.gz",
|
||||||
.hash = "v8-0.0.0-xddH6w_EAwA8vK0NAxfxfI7IcbnpkUAcXKNujn7qwnmY",
|
.hash = "v8-0.0.0-xddH6-PBAwD-PIIBTMgUv9ZfAMyCfGeXg61moiNN4qwV",
|
||||||
},
|
},
|
||||||
//.v8 = .{ .path = "../zig-v8-fork" }
|
// .v8 = .{ .path = "../zig-v8-fork" }
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -210,8 +210,8 @@ test "JS: object types" {
|
|||||||
|
|
||||||
defer runner.deinit();
|
defer runner.deinit();
|
||||||
|
|
||||||
// v8 has 5 default "own" properties
|
// v8 has 3 default "own" properties
|
||||||
const own_base = "5";
|
const own_base = "3";
|
||||||
|
|
||||||
try runner.testCases(&.{
|
try runner.testCases(&.{
|
||||||
.{ "Object.getOwnPropertyNames(MyObject).length;", own_base },
|
.{ "Object.getOwnPropertyNames(MyObject).length;", own_base },
|
||||||
|
|||||||
Reference in New Issue
Block a user