This helped work on gh-3487.
@gibson042, thanks for your PR! By analyzing the history of the files in this pull request, we identified @timmywil and @markelog to be potential reviewers.
Why is this needed?
It's not needed, but being able to open the iframe-test pages in a browser tab and make the same jQuery calls as their respective tests is definitely a worthwhile convenience, especially when we can get it without breaking anything. But absent this fix, opening e.g. test/data/offset/absolute.html generates Uncaught TypeError: Cannot read property 'config' of undefined from https://github.com/jquery/jquery/blob/a8816caf26c0acc7067cd5bad9c03cfb54e54979/test/jquery.js#L11 , and subsequently fails to load jQuery.
Uncaught TypeError: Cannot read property 'config' of undefined
Cool! Could you put that explanation in the commit? :)
Tests: Update the loader so test pages always get jQuery
Pages used for iframe tests will now successfully load jQuery, even when
opened directly in the browser.