Why does HTML test f004 extract all script elements?

Hello WG,
In the JSON-LD Test Suite, HTML test f004 [1] "Flattens all script elements
by default".  Why is this the case? In every other test case, and as far as
I can tell in the "Process HTML" documentation [2], extractAllScripts has a
default value of false, extracting only the first script element.

Thank you,
Ben
https://github.com/wallberg

[1] https://w3c.github.io/json-ld-api/tests/html-manifest.html#tf004
[2] https://www.w3.org/TR/json-ld11-api/#process-html

Received on Tuesday, 7 May 2024 10:05:32 UTC