Stuffing the overlay files with useless comments (eg. until they're 10 MB) allows to interrupt the loadOverlay calls. In this case, the testcase will fail - but I wouldn't expect it to work in this case anyway.
I didn't see any suspicious behaviour either, so maybe the testcase is just too simple for testing such edge case. Suggestions?
Otherwise, I'd suggest asking for first reviews...
Stuffing the overlay files with useless comments (eg. until they're 10 MB) allows to interrupt the loadOverlay calls. In this case, the testcase will fail - but I wouldn't expect it to work in this case anyway.
I didn't see any suspicious behaviour either, so maybe the testcase is just too simple for testing such edge case. Suggestions?
Otherwise, I'd suggest asking for first reviews...