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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/sync-xhr-revalidate-after-async-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/sync-xhr-revalidate-after-async-xhr-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/cache/subresource-fragment-identifier-expected.txt b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/sync-xhr-revalidate-after-async-xhr-expected.txt
similarity index 57%
copy from third_party/WebKit/LayoutTests/http/tests/cache/subresource-fragment-identifier-expected.txt
copy to third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/sync-xhr-revalidate-after-async-xhr-expected.txt
index c439d550796af16279d19d1e594d67e9fdc9eb4f..ac4066faf41cb6528ccb6af103e45d8237c83990 100644
--- a/third_party/WebKit/LayoutTests/http/tests/cache/subresource-fragment-identifier-expected.txt
+++ b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/sync-xhr-revalidate-after-async-xhr-expected.txt
@@ -1,13 +1,11 @@
-CONSOLE WARNING: line 14: 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 resources with fragment identifiers are loaded only once.
+CONSOLE WARNING: line 15: 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/.
+Sync XHR should not turn async due to revalidation.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-Resource Requeset Log:
-
-
-bg_pattern.jpg
+PASS xhr2SendIsReturned is false
+PASS xhr1.responseText is not xhr2.responseText
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698