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

Closed
wants to merge 4 commits into
from

Projects

None yet

2 participants

Member

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
-<?php
- header("X-Content-Security-Policy: default-src localhost 'self';");
- header("X-WebKit-CSP: script-src 'self'; style-src 'self' 'unsafe-inline'");
-?>
-<!DOCTYPE html>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>CSP Test Page</title>
-
- <script src="../dist/jquery.js"></script>
-</head>
-<body>
- <p>CSP Test Page</p>
-</body>
-</html>
gibson042
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?

Member
markelog commented Feb 4, 2013

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

Member

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