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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/credentialmanager/passwordcredential-fetch.html

Issue 2482443002: Fix a 'promise_test' bug in 'http/tests/credentialmanager/passwordcredential-fetch.html'. (Closed)
Patch Set: Expectation. Created 4 years, 1 month 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/credentialmanager/passwordcredential-fetch-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/credentialmanager/passwordcredential-fetch.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/credentialmanager/passwordcredential-fetch.html b/third_party/WebKit/LayoutTests/http/tests/credentialmanager/passwordcredential-fetch.html
index 207ab1f543b456d11b6b70d8cf5aedd75a9e25f1..9bc065fac1bd261f763c32d1d682f551801c93f6 100644
--- a/third_party/WebKit/LayoutTests/http/tests/credentialmanager/passwordcredential-fetch.html
+++ b/third_party/WebKit/LayoutTests/http/tests/credentialmanager/passwordcredential-fetch.html
@@ -39,7 +39,7 @@ promise_test(_ => {
]);
}, "Creating/cloning a 'Request' does not expose the credential.");
-promise_test(_ => {
+test(_ => {
assert_throws(new TypeError(), _ => new Request("https://cross-origin.example.test/", { credentials: c, method: 'POST' }));
assert_throws(new TypeError(), _ => new Request("/", { credentials: c, method: 'GET' }));
assert_throws(new TypeError(), _ => new Request("/", { credentials: c, method: 'HEAD' }));
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/credentialmanager/passwordcredential-fetch-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698