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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/cache/sync-xhr-304-expected.txt

Issue 1558703002: Synchronous requests that get a 304 clobber the cached response body. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment Created 4 years, 11 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/cache/sync-xhr-304-expected.txt
diff --git a/third_party/WebKit/LayoutTests/dom/svg/level3/xpath/Attribute_Nodes-expected.txt b/third_party/WebKit/LayoutTests/http/tests/cache/sync-xhr-304-expected.txt
similarity index 55%
copy from third_party/WebKit/LayoutTests/dom/svg/level3/xpath/Attribute_Nodes-expected.txt
copy to third_party/WebKit/LayoutTests/http/tests/cache/sync-xhr-304-expected.txt
index 2b35a89079b26bd089960b5c6f3f913f4d5b1c73..fc922384b3fcff59a66e6d2899f42a48075c98f3 100644
--- a/third_party/WebKit/LayoutTests/dom/svg/level3/xpath/Attribute_Nodes-expected.txt
+++ b/third_party/WebKit/LayoutTests/http/tests/cache/sync-xhr-304-expected.txt
@@ -1,2 +1,3 @@
CONSOLE WARNING: 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/.
-Attribute_Nodes: Success
+Send 2 sync xhrs to the same url such that the 2nd should return a 304. Ensure that the responseText for the 2nd XHR is non-empty.
+xhr2.responseText: foo

Powered by Google App Engine
This is Rietveld 408576698