mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-22 09:12:13 -05:00
458af2d2a9
For example, for the following `includes` line in a test262 file: includes: [sm/non262-TypedArray-shell.js, sm/non262.js] We currently parse and execute each file in this list as its own script, in the order they appear in the list. Tests have recently been imported test262 from SpiderMonkey which fail with this behavior. In the above example, if the first script references some function from the second script, we will currently fail to execute that harness file. This patch changes our behavior to concatenate all harness files into a single script, which satisfies the behavior required by these new tests. This is how test262.fyi and other test262 runners already behave. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
test-invalid-unicode-js.cpp | ||
test-js.cpp | ||
test-test262.cpp | ||
test-value-js.cpp | ||
test262-runner.cpp |