mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-12 20:11:51 +00:00
LibWeb: Ensure requests modules is not empty before indexing into it
Regression from 5af613aa65
Fixes: #2676
This commit is contained in:
parent
2ff03ea7d2
commit
30c8510725
Notes:
github-actions[bot]
2024-12-01 14:50:09 +00:00
Author: https://github.com/shannonbooth
Commit: 30c8510725
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2677
Reviewed-by: https://github.com/awesomekling
4 changed files with 64 additions and 47 deletions
|
@ -0,0 +1,5 @@
|
|||
// NOTE: Doesn't matter what this imports, but this imports itself so there is no import error in test logs.
|
||||
import("./import-in-a-module.js");
|
||||
|
||||
const returnValue = "PASS! (Didn't crash)";
|
||||
export default returnValue;
|
Loading…
Add table
Add a link
Reference in a new issue