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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/async-xhr-revalidate-after-sync-xhr-expected.txt

Issue 2391523002: Do not revalidate when ResourceLoaderOptions.synchronousPolicy is different (Closed)
Patch Set: git cl format Created 4 years, 2 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/xmlhttprequest/async-xhr-revalidate-after-sync-xhr-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/local/formdata/send-form-data-with-string-containing-null-expected.txt b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/async-xhr-revalidate-after-sync-xhr-expected.txt
similarity index 58%
copy from third_party/WebKit/LayoutTests/http/tests/local/formdata/send-form-data-with-string-containing-null-expected.txt
copy to third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/async-xhr-revalidate-after-sync-xhr-expected.txt
index 0198f504ff4ad3238af34af0d92862cb98287684..59f491df1b0e072ac82e123d1ed1ff15549af531 100644
--- a/third_party/WebKit/LayoutTests/http/tests/local/formdata/send-form-data-with-string-containing-null-expected.txt
+++ b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/async-xhr-revalidate-after-sync-xhr-expected.txt
@@ -1,10 +1,11 @@
-CONSOLE WARNING: line 13: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
-Test that we can send textarea data containing null characters.
+CONSOLE WARNING: line 12: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
+Async XHR should not turn sync due to revalidation.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS the string containing a null byte is echoed correctly.
+PASS xhr2SendIsReturned is true
+PASS xhr1.responseText is not xhr2.responseText
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698