mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-02 04:27:12 +02:00
LibJS: Remove support for the "assert" keyword for import attributes
This was removed from the spec some time ago. See: https://github.com/tc39/proposal-import-attributes/commit/14286bb
This commit is contained in:
committed by
Andreas Kling
parent
47ba231a9b
commit
b64a355a30
Notes:
github-actions[bot]
2025-01-21 13:59:26 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/b64a355a303 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3324
@@ -4,7 +4,7 @@ describe("basic behavior", () => {
|
||||
let error = null;
|
||||
let result = null;
|
||||
|
||||
import("./json-module.json", { assert: { type: "json" } })
|
||||
import("./json-module.json", { with: { type: "json" } })
|
||||
.then(jsonObj => {
|
||||
passed = true;
|
||||
result = jsonObj;
|
||||
|
||||
Reference in New Issue
Block a user