From: Richard Gibson Date: Mon, 28 Jan 2013 04:34:38 +0000 (-0500) Subject: Ref #13316: Sync all documents on full vs. minified source. Close gh-1147. X-Git-Tag: 2.0.0b2~35 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=363299ac;p=jquery.git Ref #13316: Sync all documents on full vs. minified source. Close gh-1147. --- diff --git a/src/support.js b/src/support.js index 35fb87612..166f50896 100644 --- a/src/support.js +++ b/src/support.js @@ -60,7 +60,7 @@ jQuery.support = (function() { support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked; // Support: Firefox 17+ - // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP), test/csp.php + // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP) div.setAttribute( "onfocusin", "t" ); support.focusinBubbles = "onfocusin" in window || div.attributes.onfocusin.expando === false; diff --git a/test/csp.php b/test/csp.php deleted file mode 100644 index 9ab18f392..000000000 --- a/test/csp.php +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - CSP Test Page - - - - -

CSP Test Page

- - diff --git a/test/data/ajax/unreleasedXHR.html b/test/data/ajax/unreleasedXHR.html index 6c3d8210b..5233354f5 100644 --- a/test/data/ajax/unreleasedXHR.html +++ b/test/data/ajax/unreleasedXHR.html @@ -3,7 +3,7 @@ Attempt to block tests because of dangling XHR requests (IE) - + - + + diff --git a/test/data/dimensions/documentSmall.html b/test/data/dimensions/documentSmall.html index 12cbf9385..63e1c2a8f 100644 --- a/test/data/dimensions/documentSmall.html +++ b/test/data/dimensions/documentSmall.html @@ -15,7 +15,7 @@
- +
diff --git a/test/data/event/onbeforeunload.html b/test/data/event/onbeforeunload.html new file mode 100644 index 000000000..11ad1964a --- /dev/null +++ b/test/data/event/onbeforeunload.html @@ -0,0 +1,20 @@ + + + + + diff --git a/test/data/event/promiseReady.html b/test/data/event/promiseReady.html index d2b166f32..17b6e7f2c 100644 --- a/test/data/event/promiseReady.html +++ b/test/data/event/promiseReady.html @@ -3,7 +3,7 @@ Test case for jQuery ticket #11470 - + + diff --git a/test/data/manipulation/iframe-denied.html b/test/data/manipulation/iframe-denied.html index 28a530575..14df26a69 100644 --- a/test/data/manipulation/iframe-denied.html +++ b/test/data/manipulation/iframe-denied.html @@ -6,7 +6,7 @@
- + + + + + + + + - - diff --git a/test/data/selector/html5_selector.html b/test/data/selector/html5_selector.html index 2124a6eb3..30f25c9d5 100644 --- a/test/data/selector/html5_selector.html +++ b/test/data/selector/html5_selector.html @@ -4,7 +4,7 @@ jQuery selector - attributes - + + - -
Worlds collide
- + diff --git a/test/data/support/bodyBackground.html b/test/data/support/bodyBackground.html index b0abc074f..8991007cf 100644 --- a/test/data/support/bodyBackground.html +++ b/test/data/support/bodyBackground.html @@ -17,7 +17,7 @@
- +
+ + + +

CSP Test Page

+ + diff --git a/test/data/support/shrinkWrapBlocks.html b/test/data/support/shrinkWrapBlocks.html index 1ae15bfb5..a2097cb21 100644 --- a/test/data/support/shrinkWrapBlocks.html +++ b/test/data/support/shrinkWrapBlocks.html @@ -12,7 +12,7 @@
- +
+ + - + \n"; - if( $lib == "prototype" ) { // prototype must be included first - array_unshift( $includes, $include ); - } else { - array_push( $includes, $include ); - } - } - - $includes = implode( "\n", $includes ); - $suite = file_get_contents( "index.html" ); - echo str_replace( "", $includes, $suite ); - exit; - } -?> - - - - - Run jQuery Test Suite Polluted - - - - -

jQuery Test Suite

- -

Choose other libraries to include

- -
- $data ) { - echo "
$name"; - $i = 0; - foreach( $data[ "versions" ] as $ver ) { - $i++; - echo ""; - if( !($i % 4) ) echo "
"; - } - echo "
"; - } - ?> - -
- - diff --git a/test/readywait.html b/test/readywait.html index 4738b1b95..7a736bef5 100644 --- a/test/readywait.html +++ b/test/readywait.html @@ -14,7 +14,7 @@ #output { background-color: green } #expectedOutput { background-color: green } - + diff --git a/test/unit/event.js b/test/unit/event.js index c72d873f0..f5dd149a3 100644 --- a/test/unit/event.js +++ b/test/unit/event.js @@ -1372,7 +1372,7 @@ test("Submit event can be stopped (#11049)", function() { // Test beforeunload event only if it supported (i.e. not Opera) if ( window.onbeforeunload === null ) { asyncTest("on(beforeunload)", 1, function() { - var iframe = jQuery(jQuery.parseHTML("