🌐 AI搜索 & 代理 主页
Skip to content

Commit d72face

Browse files
committed
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 1dad118) Closes gh-4584
1 parent f0d5ec6 commit d72face

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

test/unit/manipulation.js

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -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[ /\bedge\/|iphone os [789]|android 4\./i.test( navigator.userAgent ) ? "skip" : "test" ]
28952895
);
28962896

28972897
testIframe(
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[ /\bedge\/|iphone os [789]|android 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[ /\bedge\/|iphone os [789]|android 4\./i.test( navigator.userAgent ) ? "skip" : "test" ]
29182918
);
29192919

29202920
testIframe(
@@ -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

Comments
 (0)