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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/open-async-overload.html

Issue 23702040: Send synchronous loads through the cache. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments Created 7 years, 3 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: LayoutTests/http/tests/xmlhttprequest/open-async-overload.html
diff --git a/LayoutTests/http/tests/xmlhttprequest/open-async-overload.html b/LayoutTests/http/tests/xmlhttprequest/open-async-overload.html
index 4c7784de85651ca831d2ae4891ad9f28cdc421ad..2463869fe39b0f411851ac66718a62f1a1fbf1a7 100644
--- a/LayoutTests/http/tests/xmlhttprequest/open-async-overload.html
+++ b/LayoutTests/http/tests/xmlhttprequest/open-async-overload.html
@@ -29,23 +29,23 @@
testRunner.dumpAsText();
req = new XMLHttpRequest();
- req.open("GET", "methods.cgi", true);
+ req.open("GET", "methods.cgi?1", true);
shouldSendBehaveAs(req, true, "if async argument is true, send() should behave asynchronously");
req = new XMLHttpRequest();
- req.open("GET", "methods.cgi", false);
+ req.open("GET", "methods.cgi?2", false);
shouldSendBehaveAs(req, false, "if async argument is false, send() should behave synchronously");
req = new XMLHttpRequest();
- req.open("GET", "methods.cgi");
+ req.open("GET", "methods.cgi?3");
shouldSendBehaveAs(req, true, "if async argument is not given, send() should behave like as async=true");
req = new XMLHttpRequest();
- req.open("GET", "methods.cgi", undefined);
+ req.open("GET", "methods.cgi?4", undefined);
shouldSendBehaveAs(req, false, "if async argument is undefined, send() should behave like as async=false");
req = new XMLHttpRequest();
- req.open("GET", "methods.cgi", "OK");
+ req.open("GET", "methods.cgi?5", "OK");
shouldSendBehaveAs(req, true, "if async argument is a non-empty string, send() should behave like as async=true");
</script>

Powered by Google App Engine
This is Rietveld 408576698