Skip to content

Conversation

@gibson042
Copy link
Member

This helped work on gh-3487.

@mention-bot
Copy link

@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.

@markelog
Copy link
Member

markelog commented Jan 5, 2017

Why is this needed?

@gibson042
Copy link
Member Author

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

QUnit.config.urlConfig.push( {
, and subsequently fails to load jQuery.

@markelog
Copy link
Member

markelog commented Jan 6, 2017

Cool! Could you put that explanation in the commit? :)

Pages used for iframe tests will now successfully load jQuery, even when
opened directly in the browser.
@gibson042 gibson042 force-pushed the 2017-01-test-suite-meta-loader branch from 00e1e17 to dc41a56 Compare January 7, 2017 19:36
@gibson042
Copy link
Member Author

Done.

@timmywil timmywil added this to the 3.2.0 milestone Jan 9, 2017
@gibson042 gibson042 merged commit 14b393d into jquery:master Jan 9, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants