Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/cachestorage/resources/credentials-iframe.html

Issue 2651943002: Block subresource requests whose URLs include credentials. (Closed)
Patch Set: Test. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/cachestorage/resources/credentials-iframe.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/cachestorage/resources/credentials-iframe.html b/third_party/WebKit/LayoutTests/http/tests/cachestorage/resources/credentials-iframe.html
index 00702df9e5b1f2b4b89d8e096121dd97e81198c2..946dedc56b417f54033cb2bc8de31e31e1825025 100644
--- a/third_party/WebKit/LayoutTests/http/tests/cachestorage/resources/credentials-iframe.html
+++ b/third_party/WebKit/LayoutTests/http/tests/cachestorage/resources/credentials-iframe.html
@@ -22,7 +22,7 @@ function xhr(url, username, password) {
window.onmessage = function(e) {
Promise.all(e.data.map(function(item) {
- return xhr(item.name, item.username, item.password);
+ return xhr(item.name, item.username, item.password).catch(_ => {});
}))
.then(function() {
navigator.serviceWorker.controller.postMessage('keys');

Powered by Google App Engine
This is Rietveld 408576698