aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2020-01-07 23:45:41 +0100
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2020-01-08 01:30:30 +0100
commitd72faced11dc9f785dba5c24c97b045539cbce9c (patch)
treeec18dca77bd90300276f06a3815afa5e6f8c8e2a /test/unit
parentf0d5ec62c313ea2f8e0d675a876ef3db179d4c8d (diff)
downloadjquery-d72faced11dc9f785dba5c24c97b045539cbce9c.tar.gz
jquery-d72faced11dc9f785dba5c24c97b045539cbce9c.zip
Docs: Update links to EdgeHTML issues to go through Web Archive
With Microsoft going Chromium with Edge, its old EdgeHTML issues were all removed. :( The commit also reformats one manipulation unit test to use tabs instead of spaces for indentation. (partially cherry-picked from 1dad1185e0b2ca2a13bf411558eda75fb2d4da88) Closes gh-4584
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/manipulation.js44
1 files changed, 22 insertions, 22 deletions
diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js
index b0d3e3a88..d3f719d1b 100644
--- a/test/unit/manipulation.js
+++ b/test/unit/manipulation.js
@@ -2887,7 +2887,7 @@ testIframe(
// Support: Edge 18+, iOS 7-9 only, Android 4.0-4.4 only
// Edge doesn't support nonce in non-inline scripts.
- // See https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/13246371/
+ // See https://web.archive.org/web/20171203124125/https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/13246371/
// Old iOS & Android Browser versions support script-src but not nonce, making this test
// impossible to run. Browsers not supporting CSP at all are not a problem as they'll skip
// script-src restrictions completely.
@@ -2895,26 +2895,26 @@ testIframe(
);
testIframe(
- "Check if CSP nonce is preserved for external scripts with src attribute",
- "mock.php?action=cspNonce&test=external",
- function( assert, jQuery, window, document ) {
- var done = assert.async();
-
- assert.expect( 1 );
-
- supportjQuery.get( baseURL + "support/csp.log" ).done( function( data ) {
- assert.equal( data, "", "No log request should be sent" );
- supportjQuery.get( baseURL + "mock.php?action=cspClean" ).done( done );
- } );
- },
-
- // Support: Edge 18+, iOS 7-9 only, Android 4.0-4.4 only
- // Edge doesn't support nonce in non-inline scripts.
- // See https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/13246371/
- // Old iOS & Android Browser versions support script-src but not nonce, making this test
- // impossible to run. Browsers not supporting CSP at all are not a problem as they'll skip
- // script-src restrictions completely.
- QUnit[ /\bedge\/|iphone os [789]|android 4\./i.test( navigator.userAgent ) ? "skip" : "test" ]
+ "Check if CSP nonce is preserved for external scripts with src attribute",
+ "mock.php?action=cspNonce&test=external",
+ function( assert, jQuery, window, document ) {
+ var done = assert.async();
+
+ assert.expect( 1 );
+
+ supportjQuery.get( baseURL + "support/csp.log" ).done( function( data ) {
+ assert.equal( data, "", "No log request should be sent" );
+ supportjQuery.get( baseURL + "mock.php?action=cspClean" ).done( done );
+ } );
+ },
+
+ // Support: Edge 18+, iOS 7-9 only, Android 4.0-4.4 only
+ // Edge doesn't support nonce in non-inline scripts.
+ // See https://web.archive.org/web/20171203124125/https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/13246371/
+ // Old iOS & Android Browser versions support script-src but not nonce, making this test
+ // impossible to run. Browsers not supporting CSP at all are not a problem as they'll skip
+ // script-src restrictions completely.
+ QUnit[ /\bedge\/|iphone os [789]|android 4\./i.test( navigator.userAgent ) ? "skip" : "test" ]
);
testIframe(
@@ -2933,7 +2933,7 @@ testIframe(
// Support: Edge 18+, iOS 7-9 only, Android 4.0-4.4 only
// Edge doesn't support nonce in non-inline scripts.
- // See https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/13246371/
+ // See https://web.archive.org/web/20171203124125/https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/13246371/
// Old iOS & Android Browser versions support script-src but not nonce, making this test
// impossible to run. Browsers not supporting CSP at all are not a problem as they'll skip
// script-src restrictions completely.