|
83 | 83 | "name": "Errors if no element found at target",
|
84 | 84 | "purpose": "Tests embedded JSON-LD in HTML with fragment identifier that doesn't exist",
|
85 | 85 | "input": "html/e011-in.html#third",
|
86 |
| - "expectErrorCode": "invalid script element", |
| 86 | + "expectErrorCode": "loading document failed", |
87 | 87 | "option": {"specVersion": "json-ld-1.1"}
|
88 | 88 | }, {
|
89 | 89 | "@id": "#te012",
|
90 | 90 | "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"],
|
91 | 91 | "name": "Errors if targeted element is not a script element",
|
92 | 92 | "purpose": "Tests embedded JSON-LD in HTML which isn't a script element",
|
93 | 93 | "input": "html/e012-in.html#first",
|
94 |
| - "expectErrorCode": "invalid script element", |
| 94 | + "expectErrorCode": "loading document failed", |
95 | 95 | "option": {"specVersion": "json-ld-1.1"}
|
96 | 96 | }, {
|
97 | 97 | "@id": "#te013",
|
98 | 98 | "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"],
|
99 | 99 | "name": "Errors if targeted element does not have type application/ld+json",
|
100 | 100 | "purpose": "Tests embedded JSON-LD in HTML with wrong type",
|
101 | 101 | "input": "html/e013-in.html#first",
|
102 |
| - "expectErrorCode": "invalid script element", |
| 102 | + "expectErrorCode": "loading document failed", |
103 | 103 | "option": {"specVersion": "json-ld-1.1"}
|
104 | 104 | }, {
|
105 | 105 | "@id": "#te014",
|
|
315 | 315 | "name": "Errors if no element found at target",
|
316 | 316 | "purpose": "Tests embedded JSON-LD in HTML with fragment identifier that doesn't exist",
|
317 | 317 | "input": "html/r011-in.html#third",
|
318 |
| - "expectErrorCode": "invalid script element", |
| 318 | + "expectErrorCode": "loading document failed", |
319 | 319 | "option": {"specVersion": "json-ld-1.1"}
|
320 | 320 | }, {
|
321 | 321 | "@id": "#tr012",
|
322 | 322 | "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"],
|
323 | 323 | "name": "Errors if targeted element is not a script element",
|
324 | 324 | "purpose": "Tests embedded JSON-LD in HTML which isn't a script element",
|
325 | 325 | "input": "html/r012-in.html#first",
|
326 |
| - "expectErrorCode": "invalid script element", |
| 326 | + "expectErrorCode": "loading document failed", |
327 | 327 | "option": {"specVersion": "json-ld-1.1"}
|
328 | 328 | }, {
|
329 | 329 | "@id": "#tr013",
|
330 | 330 | "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"],
|
331 | 331 | "name": "Errors if targeted element does not have type application/ld+json",
|
332 | 332 | "purpose": "Tests embedded JSON-LD in HTML with wrong type",
|
333 | 333 | "input": "html/r013-in.html#first",
|
334 |
| - "expectErrorCode": "invalid script element", |
| 334 | + "expectErrorCode": "loading document failed", |
335 | 335 | "option": {"specVersion": "json-ld-1.1"}
|
336 | 336 | }, {
|
337 | 337 | "@id": "#tr014",
|
|
0 commit comments