diff --git a/index.html b/index.html
index 6c6aa58e..3ee79131 100644
--- a/index.html
+++ b/index.html
@@ -6572,7 +6572,7 @@
LoadDocumentCallback
callback LoadDocumentCallback = Promise<RemoteDocument> (
USVString url,
- optional LoadDocumentOptions? options
+ optional LoadDocumentOptions options = {}
);
diff --git a/tests/expand-manifest.html b/tests/expand-manifest.html
index 145e21c4..398410d4 100644
--- a/tests/expand-manifest.html
+++ b/tests/expand-manifest.html
@@ -3217,6 +3217,34 @@
+
+ Test t0132 @base does not expand property keys
+
+
+
+ - id
+ - #t0132
+ - Type
+ - jld:PositiveEvaluationTest, jld:ExpandTest
+ - Purpose
+ - Property keys are expanded vocabulary-relative (`@vocab`, term definitions, compact IRIs with a defined prefix). `@base` is for document-relative IRI resolution where the algorithms pass that flag (e.g., certain `@id` and `@type` values), not for unmapped simple keys. With only `@base` set, an unmapped key like `name` has no vocabulary mapping and must be dropped; a relative `@type` token still resolves against the base. See IRI Expansion in the JSON-LD 1.1 Processing Algorithms and API.
+ - input
+ -
+ expand/0132-in.jsonld
+
+ - expect
+ -
+ expand/0132-out.jsonld
+
+ - Options
+ -
+
+ - specVersion
+ - json-ld-1.1
+
+
+
+
Test tc001 adding new term
diff --git a/tests/expand-manifest.jsonld b/tests/expand-manifest.jsonld
index 1fbd5efa..d6eaac5e 100644
--- a/tests/expand-manifest.jsonld
+++ b/tests/expand-manifest.jsonld
@@ -987,6 +987,14 @@
"input": "expand/0131-in.jsonld",
"expect": "expand/0131-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
+ }, {
+ "@id": "#t0132",
+ "@type": [ "jld:PositiveEvaluationTest", "jld:ExpandTest" ],
+ "name": "@base does not expand property keys",
+ "purpose": "Property keys are expanded vocabulary-relative (`@vocab`, term definitions, compact IRIs with a defined prefix). `@base` is for document-relative IRI resolution where the algorithms pass that flag (e.g., certain `@id` and `@type` values), not for unmapped simple keys. With only `@base` set, an unmapped key like `name` has no vocabulary mapping and must be dropped; a relative `@type` token still resolves against the base. See IRI Expansion in the JSON-LD 1.1 Processing Algorithms and API.",
+ "input": "expand/0132-in.jsonld",
+ "expect": "expand/0132-out.jsonld",
+ "option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc001",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
diff --git a/tests/expand/0132-in.jsonld b/tests/expand/0132-in.jsonld
new file mode 100644
index 00000000..fd89fc38
--- /dev/null
+++ b/tests/expand/0132-in.jsonld
@@ -0,0 +1,9 @@
+{
+ "@context": {
+ "@version": 1.1,
+ "@base": "https://example.org/vocab/base/"
+ },
+ "@id": "https://example.org/doc",
+ "@type": "Thing",
+ "name": "value"
+}
diff --git a/tests/expand/0132-out.jsonld b/tests/expand/0132-out.jsonld
new file mode 100644
index 00000000..cee27d85
--- /dev/null
+++ b/tests/expand/0132-out.jsonld
@@ -0,0 +1,4 @@
+[{
+ "@id": "https://example.org/doc",
+ "@type": ["https://example.org/vocab/base/Thing"]
+}]