mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 15:10:19 +00:00
LibJS: Use an Intl prototype for a Function.prototype.toString test
The Temporal.TimeZone object no longer exists in the Temporal spec.
This commit is contained in:
parent
ed76e1ed4b
commit
8bd394f349
Notes:
github-actions[bot]
2024-11-18 22:47:41 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/8bd394f3496 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2387
1 changed files with 2 additions and 2 deletions
|
@ -128,8 +128,8 @@ describe("correct behavior", () => {
|
|||
expect(console.debug.toString()).toBe("function debug() { [native code] }");
|
||||
expect(Function.toString()).toBe("function Function() { [native code] }");
|
||||
expect(
|
||||
Object.getOwnPropertyDescriptor(Temporal.TimeZone.prototype, "id").get.toString()
|
||||
).toBe("function get id() { [native code] }");
|
||||
Object.getOwnPropertyDescriptor(Intl.NumberFormat.prototype, "format").get.toString()
|
||||
).toBe("function get format() { [native code] }");
|
||||
|
||||
const values = [
|
||||
// Callable Proxy
|
||||
|
|
Loading…
Reference in a new issue