@@ -2887,34 +2887,34 @@ testIframe(
28872887
28882888 // Support: Edge 18+, iOS 7-9 only, Android 4.0-4.4 only
28892889 // Edge doesn't support nonce in non-inline scripts.
2890- // See https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/13246371/
2890+ // See https://web.archive.org/web/20171203124125/https:// developer.microsoft.com/en-us/microsoft-edge/platform/issues/13246371/
28912891 // Old iOS & Android Browser versions support script-src but not nonce, making this test
28922892 // impossible to run. Browsers not supporting CSP at all are not a problem as they'll skip
28932893 // script-src restrictions completely.
28942894 QUnit [ / \b e d g e \/ | i p h o n e o s [ 7 8 9 ] | a n d r o i d 4 \. / i. test ( navigator . userAgent ) ? "skip" : "test" ]
28952895) ;
28962896
28972897testIframe (
2898- "Check if CSP nonce is preserved for external scripts with src attribute" ,
2899- "mock.php?action=cspNonce&test=external" ,
2900- function ( assert , jQuery , window , document ) {
2901- var done = assert . async ( ) ;
2902-
2903- assert . expect ( 1 ) ;
2904-
2905- supportjQuery . get ( baseURL + "support/csp.log" ) . done ( function ( data ) {
2906- assert . equal ( data , "" , "No log request should be sent" ) ;
2907- supportjQuery . get ( baseURL + "mock.php?action=cspClean" ) . done ( done ) ;
2908- } ) ;
2909- } ,
2910-
2911- // Support: Edge 18+, iOS 7-9 only, Android 4.0-4.4 only
2912- // Edge doesn't support nonce in non-inline scripts.
2913- // See https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/13246371/
2914- // Old iOS & Android Browser versions support script-src but not nonce, making this test
2915- // impossible to run. Browsers not supporting CSP at all are not a problem as they'll skip
2916- // script-src restrictions completely.
2917- QUnit [ / \b e d g e \/ | i p h o n e o s [ 7 8 9 ] | a n d r o i d 4 \. / i. test ( navigator . userAgent ) ? "skip" : "test" ]
2898+ "Check if CSP nonce is preserved for external scripts with src attribute" ,
2899+ "mock.php?action=cspNonce&test=external" ,
2900+ function ( assert , jQuery , window , document ) {
2901+ var done = assert . async ( ) ;
2902+
2903+ assert . expect ( 1 ) ;
2904+
2905+ supportjQuery . get ( baseURL + "support/csp.log" ) . done ( function ( data ) {
2906+ assert . equal ( data , "" , "No log request should be sent" ) ;
2907+ supportjQuery . get ( baseURL + "mock.php?action=cspClean" ) . done ( done ) ;
2908+ } ) ;
2909+ } ,
2910+
2911+ // Support: Edge 18+, iOS 7-9 only, Android 4.0-4.4 only
2912+ // Edge doesn't support nonce in non-inline scripts.
2913+ // See https://web.archive.org/web/20171203124125/ https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/13246371/
2914+ // Old iOS & Android Browser versions support script-src but not nonce, making this test
2915+ // impossible to run. Browsers not supporting CSP at all are not a problem as they'll skip
2916+ // script-src restrictions completely.
2917+ QUnit [ / \b e d g e \/ | i p h o n e o s [ 7 8 9 ] | a n d r o i d 4 \. / i. test ( navigator . userAgent ) ? "skip" : "test" ]
29182918) ;
29192919
29202920testIframe (
@@ -2933,7 +2933,7 @@ testIframe(
29332933
29342934 // Support: Edge 18+, iOS 7-9 only, Android 4.0-4.4 only
29352935 // Edge doesn't support nonce in non-inline scripts.
2936- // See https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/13246371/
2936+ // See https://web.archive.org/web/20171203124125/https:// developer.microsoft.com/en-us/microsoft-edge/platform/issues/13246371/
29372937 // Old iOS & Android Browser versions support script-src but not nonce, making this test
29382938 // impossible to run. Browsers not supporting CSP at all are not a problem as they'll skip
29392939 // script-src restrictions completely.
0 commit comments