OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "content/test/layout_browsertest.h" | |
6 | |
7 namespace content { | |
8 | |
9 class BlobLayoutTest : public InProcessBrowserLayoutTest { | |
10 public: | |
11 BlobLayoutTest() : | |
12 InProcessBrowserLayoutTest( | |
13 base::FilePath(), | |
14 base::FilePath(FILE_PATH_LITERAL("fast/files")). | |
15 NormalizePathSeparators()) { | |
16 } | |
17 }; | |
18 | |
19 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, SliceTests) { | |
20 RunLayoutTest("blob-slice-test.html"); | |
21 } | |
22 | |
23 // crbug.com/169240 for disabling on Windows, crbug.com/173079 for temporary | |
24 // disabling everywhere. | |
25 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_ApplyBlobUrlToImg) { | |
26 RunLayoutTest("apply-blob-url-to-img.html"); | |
27 } | |
28 | |
29 // crbug.com/169240 for disabling on Windows, crbug.com/173079 for temporary | |
30 // disabling everywhere. | |
31 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_ApplyBlobUrlToXhr) { | |
32 RunLayoutTest("apply-blob-url-to-xhr.html"); | |
33 } | |
34 | |
35 // webkit.org/b/85174 | |
36 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_BlobConstructor) { | |
37 RunLayoutTest("blob-constructor.html"); | |
38 } | |
39 | |
40 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, BlobSliceOverflow) { | |
41 RunLayoutTest("blob-slice-overflow.html"); | |
42 } | |
43 | |
44 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, BlobSliceTest) { | |
45 RunLayoutTest("blob-slice-test.html"); | |
46 } | |
47 | |
48 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, CreateBlobUrlCrash) { | |
49 RunLayoutTest("create-blob-url-crash.html"); | |
50 } | |
51 | |
52 // crbug.com/170155 | |
53 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, | |
54 DISABLED_DomurlScriptExecutionContextCrash) { | |
55 RunLayoutTest("domurl-script-execution-context-crash.html"); | |
56 } | |
57 | |
58 // crbug.com/169240 for disabling on Windows, crbug.com/173079 for temporary | |
59 // disabling everywhere. | |
60 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_FileListTest) { | |
61 RunLayoutTest("file-list-test.html"); | |
62 } | |
63 | |
64 // crbug.com/169240 for disabling on Windows, crbug.com/173079 for temporary | |
65 // disabling everywhere. | |
66 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_FileReaderAbort) { | |
67 RunLayoutTest("file-reader-abort.html"); | |
68 } | |
69 | |
70 // crbug.com/169240 for disabling on Windows, crbug.com/173079 for temporary | |
71 // disabling everywhere. | |
72 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_FileReaderDirectoryCrash) { | |
73 RunLayoutTest("file-reader-directory-crash.html"); | |
74 } | |
75 | |
76 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, FileReaderDoneReadingAbort) { | |
77 RunLayoutTest("file-reader-done-reading-abort.html"); | |
78 } | |
79 | |
80 // crbug.com/169240 for disabling on Windows, crbug.com/173079 for temporary | |
81 // disabling everywhere. | |
82 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_FileReaderEventListener) { | |
83 RunLayoutTest("file-reader-event-listener.html"); | |
84 } | |
85 | |
86 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, FileReaderFffd) { | |
87 RunLayoutTest("file-reader-fffd.html"); | |
88 } | |
89 | |
90 // crbug.com/170154 | |
91 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_FileReaderFileUrl) { | |
92 RunLayoutTest("file-reader-file-url.html"); | |
93 } | |
94 | |
95 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, FileReaderImmediateAbort) { | |
96 RunLayoutTest("file-reader-immediate-abort.html"); | |
97 } | |
98 | |
99 // crbug.com/170154 | |
100 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_FileReaderSandboxIframe) { | |
101 RunLayoutTest("file-reader-sandbox-iframe.html"); | |
102 } | |
103 | |
104 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, NotEnoughArguments) { | |
105 RunLayoutTest("not-enough-arguments.html"); | |
106 } | |
107 | |
108 // crbug.com/169240 for disabling on Windows, crbug.com/173079 for temporary | |
109 // disabling everywhere. | |
110 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_NullOriginString) { | |
111 RunLayoutTest("null-origin-string.html"); | |
112 } | |
113 | |
114 // crbug.com/169240 for disabling on Windows, crbug.com/173079 for temporary | |
115 // disabling everywhere. | |
116 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_ReadBlobAsync) { | |
117 RunLayoutTest("read-blob-async.html"); | |
118 } | |
119 | |
120 // crbug.com/169240 for disabling on Windows, crbug.com/173079 for temporary | |
121 // disabling everywhere. | |
122 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_ReadFileAsync) { | |
123 RunLayoutTest("read-file-async.html"); | |
124 } | |
125 | |
126 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, RevokeBlobUrl) { | |
127 RunLayoutTest("revoke-blob-url.html"); | |
128 } | |
129 | |
130 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, UrlNull) { | |
131 RunLayoutTest("url-null.html"); | |
132 } | |
133 | |
134 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, UrlRequiredArguments) { | |
135 RunLayoutTest("url-required-arguments.html"); | |
136 } | |
137 | |
138 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, XhrResponseBlob) { | |
139 RunLayoutTest("xhr-response-blob.html"); | |
140 } | |
141 | |
142 // crbug.com/170154 | |
143 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_WorkersInlineWorkerViaBlobUrl) { | |
144 RunLayoutTest("workers/inline-worker-via-blob-url.html"); | |
145 } | |
146 | |
147 // webkit.org/b/101099 | |
148 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, | |
149 DISABLED_WorkersWorkerApplyBlobUrlToXhr) { | |
150 RunLayoutTest("workers/worker-apply-blob-url-to-xhr.html"); | |
151 } | |
152 | |
153 // webkit.org/b/79540 | |
154 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_WorkersWorkerReadBlobAsync) { | |
155 RunLayoutTest("workers/worker-read-blob-async.html"); | |
156 } | |
157 | |
158 // webkit.org/b/79540 | |
159 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_WorkersWorkerReadBlobSync) { | |
160 RunLayoutTest("workers/worker-read-blob-sync.html"); | |
161 } | |
162 | |
163 // crbug.com/170152 | |
164 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_WorkersWorkerReadFileAsync) { | |
165 RunLayoutTest("workers/worker-read-file-async.html"); | |
166 } | |
167 | |
168 // crbug.com/170152 | |
169 IN_PROC_BROWSER_TEST_F(BlobLayoutTest, DISABLED_WorkersWorkerReadFileSync) { | |
170 RunLayoutTest("workers/worker-read-file-sync.html"); | |
171 } | |
172 | |
173 } // namespace content | |
OLD | NEW |