Ref #13316: Sync all documents on full vs. minified source #1147

wants to merge 4 commits into


None yet

2 participants


A follow-up to 58cd84f that ensures use of the same jQuery source (full/minified) between the test suite proper and the iframe documents upon which some tests rely.

@markelog markelog and 1 other commented on an outdated diff Jan 28, 2013
- header("X-Content-Security-Policy: default-src localhost 'self';");
- header("X-WebKit-CSP: script-src 'self'; style-src 'self' 'unsafe-inline'");
-<!DOCTYPE html>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>CSP Test Page</title>
- <script src="../dist/jquery.js"></script>
- <p>CSP Test Page</p>
gibson042 Jan 28, 2013 Member

Ah, I didn't check src/ when looking for references. Thanks for the catch, but I'm not sure what to do with it. Is there any way to bring this into the test suite proper? If not, it seems like we should at least copy the full/minified logic from test/index.html, right?

markelog commented Feb 4, 2013

Best that i come up with is this – markelog@8f19e40
Can you cherry-pick it if applicable?


Thanks @orkel; I tweaked your solution a bit but it was exactly the right approach.

@gibson042 gibson042 closed this in 363299a Feb 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment