Index: chrome/browser/apps/web_view_browsertest.cc |
diff --git a/chrome/browser/apps/web_view_browsertest.cc b/chrome/browser/apps/web_view_browsertest.cc |
index 310d076c23eaba38064bbc90e43ce296c746f43b..98faaabd5be2c76e675e449e83e06bdbec634263 100644 |
--- a/chrome/browser/apps/web_view_browsertest.cc |
+++ b/chrome/browser/apps/web_view_browsertest.cc |
@@ -1944,6 +1944,43 @@ IN_PROC_BROWSER_TEST_F(WebViewTest, DISABLED_GeolocationRequestGone) { |
<< message_; |
} |
+// In following FilesystemAPIRequestFromMainThread* tests, guest request |
+// filesystem access from main thread of the guest. |
+// FileSystemAPIRequestFromMainThread* test 1 of 3 |
+IN_PROC_BROWSER_TEST_F(WebViewTest, FileSystemAPIRequestFromMainThreadAllow) { |
+ TestHelper("testAllow", "web_view/filesystem/main", NEEDS_TEST_SERVER); |
+} |
+ |
+// FileSystemAPIRequestFromMainThread* test 2 of 3. |
+IN_PROC_BROWSER_TEST_F(WebViewTest, FileSystemAPIRequestFromMainThreadDeny) { |
+ TestHelper("testDeny", "web_view/filesystem/main", NEEDS_TEST_SERVER); |
+} |
+ |
+// FileSystemAPIRequestFromMainThread* test 3 of 3. |
+IN_PROC_BROWSER_TEST_F(WebViewTest, |
+ FileSystemAPIRequestFromMainThreadDefaultAllow) { |
+ TestHelper("testDefaultAllow", "web_view/filesystem/main", NEEDS_TEST_SERVER); |
+} |
+ |
+// In following FilesystemAPIRequestFromWorker* tests, guest create a worker |
+// to request filesystem access from worker thread. |
+// FileSystemAPIRequestFromWorker* test 1 of 3 |
+IN_PROC_BROWSER_TEST_F(WebViewTest, FileSystemAPIRequestFromWorkerAllow) { |
+ TestHelper("testAllow", "web_view/filesystem/worker", NEEDS_TEST_SERVER); |
+} |
+ |
+// FileSystemAPIRequestFromWorker* test 2 of 3. |
+IN_PROC_BROWSER_TEST_F(WebViewTest, FileSystemAPIRequestFromWorkerDeny) { |
+ TestHelper("testDeny", "web_view/filesystem/worker", NEEDS_TEST_SERVER); |
+} |
+ |
+// FileSystemAPIRequestFromWorker* test 3 of 3. |
+IN_PROC_BROWSER_TEST_F(WebViewTest, |
+ FileSystemAPIRequestFromWorkerDefaultAllow) { |
+ TestHelper( |
+ "testDefaultAllow", "web_view/filesystem/worker", NEEDS_TEST_SERVER); |
+} |
+ |
IN_PROC_BROWSER_TEST_F(WebViewTest, ClearData) { |
#if defined(OS_WIN) |
// Flaky on XP bot http://crbug.com/282674 |