summaryrefslogtreecommitdiffstats
path: root/content/browser/fileapi
diff options
context:
space:
mode:
authorzmo@chromium.org <zmo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-31 20:42:26 +0000
committerzmo@chromium.org <zmo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-31 20:42:26 +0000
commit7b253107bbb058bd2b685da8b3ae8ea34339c345 (patch)
tree5b38f78838795a9d5031c69779049f5bc51f0b9d /content/browser/fileapi
parentc2ed3f695815db91d328203a8e57d6495497c6ff (diff)
downloadchromium_src-7b253107bbb058bd2b685da8b3ae8ea34339c345.zip
chromium_src-7b253107bbb058bd2b685da8b3ae8ea34339c345.tar.gz
chromium_src-7b253107bbb058bd2b685da8b3ae8ea34339c345.tar.bz2
Revert 179635
> [content shell] ShellRenderProcessObserver no longer depends on WebTestInterfaces. > > R=jochen > BUG=173079 > > Review URL: https://chromiumcodereview.appspot.com/12090066 TBR=marja@chromium.org BUG=173456 Review URL: https://codereview.chromium.org/12124002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179946 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/fileapi')
-rw-r--r--content/browser/fileapi/blob_layout_browsertest.cc90
-rw-r--r--content/browser/fileapi/file_system_browsertest.cc10
2 files changed, 70 insertions, 30 deletions
diff --git a/content/browser/fileapi/blob_layout_browsertest.cc b/content/browser/fileapi/blob_layout_browsertest.cc
index 8188965..4f42c87 100644
--- a/content/browser/fileapi/blob_layout_browsertest.cc
+++ b/content/browser/fileapi/blob_layout_browsertest.cc
@@ -19,15 +19,23 @@ IN_PROC_BROWSER_TEST_F(BlobLayoutTest, SliceTests) {
RunLayoutTest("blob-slice-test.html");
}
-// crbug.com/169240 for disabling on Windows, crbug.com/173079 for temporary
-// disabling everywhere.
-IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_ApplyBlobUrlToImg) {
+#if defined(OS_WIN)
+// http://crbug/169240
+# define MAYBE_ApplyBlobUrlToImg DISABLED_ApplyBlobUrlToImg
+#else
+# define MAYBE_ApplyBlobUrlToImg ApplyBlobUrlToImg
+#endif
+IN_PROC_BROWSER_TEST_F(BlobLayoutTest, MAYBE_ApplyBlobUrlToImg) {
RunLayoutTest("apply-blob-url-to-img.html");
}
-// crbug.com/169240 for disabling on Windows, crbug.com/173079 for temporary
-// disabling everywhere.
-IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_ApplyBlobUrlToXhr) {
+#if defined(OS_WIN)
+// http://crbug/169240
+# define MAYBE_ApplyBlobUrlToXhr DISABLED_ApplyBlobUrlToXhr
+#else
+# define MAYBE_ApplyBlobUrlToXhr ApplyBlobUrlToXhr
+#endif
+IN_PROC_BROWSER_TEST_F(BlobLayoutTest, MAYBE_ApplyBlobUrlToXhr) {
RunLayoutTest("apply-blob-url-to-xhr.html");
}
@@ -54,21 +62,33 @@ IN_PROC_BROWSER_TEST_F(BlobLayoutTest,
RunLayoutTest("domurl-script-execution-context-crash.html");
}
-// crbug.com/169240 for disabling on Windows, crbug.com/173079 for temporary
-// disabling everywhere.
-IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_FileListTest) {
+#if defined(OS_WIN)
+// http://crbug/169240
+# define MAYBE_FileListTest DISABLED_FileListTest
+#else
+# define MAYBE_FileListTest FileListTest
+#endif
+IN_PROC_BROWSER_TEST_F(BlobLayoutTest, MAYBE_FileListTest) {
RunLayoutTest("file-list-test.html");
}
-// crbug.com/169240 for disabling on Windows, crbug.com/173079 for temporary
-// disabling everywhere.
-IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_FileReaderAbort) {
+#if defined(OS_WIN)
+// http://crbug/169240
+# define MAYBE_FileReaderAbort DISABLED_FileReaderAbort
+#else
+# define MAYBE_FileReaderAbort FileReaderAbort
+#endif
+IN_PROC_BROWSER_TEST_F(BlobLayoutTest, MAYBE_FileReaderAbort) {
RunLayoutTest("file-reader-abort.html");
}
-// crbug.com/169240 for disabling on Windows, crbug.com/173079 for temporary
-// disabling everywhere.
-IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_FileReaderDirectoryCrash) {
+#if defined(OS_WIN)
+// http://crbug/169240
+# define MAYBE_FileReaderDirectoryCrash DISABLED_FileReaderDirectoryCrash
+#else
+# define MAYBE_FileReaderDirectoryCrash FileReaderDirectoryCrash
+#endif
+IN_PROC_BROWSER_TEST_F(BlobLayoutTest, MAYBE_FileReaderDirectoryCrash) {
RunLayoutTest("file-reader-directory-crash.html");
}
@@ -76,9 +96,13 @@ IN_PROC_BROWSER_TEST_F(BlobLayoutTest, FileReaderDoneReadingAbort) {
RunLayoutTest("file-reader-done-reading-abort.html");
}
-// crbug.com/169240 for disabling on Windows, crbug.com/173079 for temporary
-// disabling everywhere.
-IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_FileReaderEventListener) {
+#if defined(OS_WIN)
+// http://crbug/169240
+# define MAYBE_FileReaderEventListener DISABLED_FileReaderEventListener
+#else
+# define MAYBE_FileReaderEventListener FileReaderEventListener
+#endif
+IN_PROC_BROWSER_TEST_F(BlobLayoutTest, MAYBE_FileReaderEventListener) {
RunLayoutTest("file-reader-event-listener.html");
}
@@ -104,21 +128,33 @@ IN_PROC_BROWSER_TEST_F(BlobLayoutTest, NotEnoughArguments) {
RunLayoutTest("not-enough-arguments.html");
}
-// crbug.com/169240 for disabling on Windows, crbug.com/173079 for temporary
-// disabling everywhere.
-IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_NullOriginString) {
+#if defined(OS_WIN)
+// http://crbug/169240
+# define MAYBE_NullOriginString DISABLED_NullOriginString
+#else
+# define MAYBE_NullOriginString NullOriginString
+#endif
+IN_PROC_BROWSER_TEST_F(BlobLayoutTest, MAYBE_NullOriginString) {
RunLayoutTest("null-origin-string.html");
}
-// crbug.com/169240 for disabling on Windows, crbug.com/173079 for temporary
-// disabling everywhere.
-IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_ReadBlobAsync) {
+#if defined(OS_WIN)
+// http://crbug/169240
+# define MAYBE_ReadBlobAsync DISABLED_ReadBlobAsync
+#else
+# define MAYBE_ReadBlobAsync ReadBlobAsync
+#endif
+IN_PROC_BROWSER_TEST_F(BlobLayoutTest, MAYBE_ReadBlobAsync) {
RunLayoutTest("read-blob-async.html");
}
-// crbug.com/169240 for disabling on Windows, crbug.com/173079 for temporary
-// disabling everywhere.
-IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_ReadFileAsync) {
+#if defined(OS_WIN)
+// http://crbug/169240
+# define MAYBE_ReadFileAsync DISABLED_ReadFileAsync
+#else
+# define MAYBE_ReadFileAsync ReadFileAsync
+#endif
+IN_PROC_BROWSER_TEST_F(BlobLayoutTest, MAYBE_ReadFileAsync) {
RunLayoutTest("read-file-async.html");
}
diff --git a/content/browser/fileapi/file_system_browsertest.cc b/content/browser/fileapi/file_system_browsertest.cc
index e9fa9cf..72cb661 100644
--- a/content/browser/fileapi/file_system_browsertest.cc
+++ b/content/browser/fileapi/file_system_browsertest.cc
@@ -108,9 +108,13 @@ IN_PROC_BROWSER_TEST_F(FileSystemLayoutTest, AsyncOperations) {
RunLayoutTest("async-operations.html");
}
-// crbug.com/172787 for disabling on Windows (flaky), crbug.com/173079 for
-// temporary disabling everywhere.
-IN_PROC_BROWSER_TEST_F(FileSystemLayoutTest, DISABLED_CrossFilesystemOp) {
+#if defined(OS_WIN)
+// Flaky timeouts on windows. http://crbug.com/172787
+# define MAYBE_CrossFilesystemOp DISABLED_CrossFilesystemOp
+#else
+# define MAYBE_CrossFilesystemOp CrossFilesystemOp
+#endif
+IN_PROC_BROWSER_TEST_F(FileSystemLayoutTest, MAYBE_CrossFilesystemOp) {
RunLayoutTest("cross-filesystem-op.html");
}