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

Unified Diff: android_webview/test/data/device_files/xhr_access.html

Issue 10911097: [Android] Upstream org.chromium.base.test.UrlUtils (partially) and device files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed layering violation Created 8 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: android_webview/test/data/device_files/xhr_access.html
diff --git a/android_webview/test/data/device_files/xhr_access.html b/android_webview/test/data/device_files/xhr_access.html
new file mode 100644
index 0000000000000000000000000000000000000000..18ee9230ad80562b6cc0867264f36a57fc470255
--- /dev/null
+++ b/android_webview/test/data/device_files/xhr_access.html
@@ -0,0 +1,16 @@
+<html>
+ <head>
+ <script>
+ var xhr = new XMLHttpRequest();
+ xhr.open("GET", "hello_world.html", false);
+ try {
+ xhr.send();
+ document.write(xhr.responseText);
+ } catch (e) {
+ document.title = "Exception";
+ }
+ </script>
+ </head>
+ <body>
+ </body>
+</html>
« no previous file with comments | « android_webview/test/data/device_files/script.js ('k') | base/android/javatests/src/org/chromium/base/test/UrlUtils.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698