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

Issue 7715024: Add browser_tests for FileAPI with Quota. (Closed)

Created:
9 years, 4 months ago by Dai Mikurube (NOT FULLTIME)
Modified:
9 years, 3 months ago
CC:
chromium-reviews, kinuko+watch, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Add browser_tests for FileAPI with Quota, and remove unlimited access for file:/// when allow_file_access_from_files. BUG=95120 TEST=browser_tests:FileSystemBrowserTest* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99726

Patch Set 1 #

Patch Set 2 : Refined the test, and removed unlimited access for file:/// when allow_file_access_from_files. #

Patch Set 3 : Removed some unnecessary header files, and refined the test comments. #

Patch Set 4 : Moved the test from webkit/fileapi -> content/browser/file_system. #

Patch Set 5 : Rebased. #

Total comments: 13

Patch Set 6 : Reflected the comments. #

Total comments: 19

Patch Set 7 : Reflected the comments. #

Total comments: 4

Patch Set 8 : Reflected the comments. #

Patch Set 9 : Rebased. #

Patch Set 10 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+294 lines, -10 lines) Patch
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/fileapi/common.js View 1 2 3 4 5 6 1 chunk +53 lines, -0 lines 0 comments Download
A chrome/test/data/fileapi/create_test.html View 1 chunk +10 lines, -0 lines 0 comments Download
A chrome/test/data/fileapi/create_test.js View 1 2 3 4 5 6 1 chunk +19 lines, -0 lines 0 comments Download
A chrome/test/data/fileapi/quota_test.html View 1 chunk +10 lines, -0 lines 0 comments Download
A chrome/test/data/fileapi/quota_test.js View 1 2 3 4 5 6 7 1 chunk +66 lines, -0 lines 0 comments Download
A chrome/test/data/fileapi/request_test.html View 1 chunk +10 lines, -0 lines 0 comments Download
A chrome/test/data/fileapi/request_test.js View 1 2 3 4 5 6 1 chunk +19 lines, -0 lines 0 comments Download
A content/browser/file_system/file_system_browsertest.cc View 1 2 3 4 5 6 7 1 chunk +106 lines, -0 lines 0 comments Download
M webkit/fileapi/file_system_context.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M webkit/fileapi/file_system_context_unittest.cc View 1 1 chunk +0 lines, -9 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Dai Mikurube (NOT FULLTIME)
It's the first step, and not ready for review. Just uploaded to share the status.
9 years, 4 months ago (2011-08-24 06:18:48 UTC) #1
Dai Mikurube (NOT FULLTIME)
I guess this change includes minimal browser_tests for FileAPI/Quota though it might require some more ...
9 years, 4 months ago (2011-08-26 05:17:10 UTC) #2
kinuko
Thanks for working on this. http://codereview.chromium.org/7715024/diff/7001/chrome/test/data/fileapi/common.js File chrome/test/data/fileapi/common.js (right): http://codereview.chromium.org/7715024/diff/7001/chrome/test/data/fileapi/common.js#newcode69 chrome/test/data/fileapi/common.js:69: } These unexpected{Abort,Success,Complete}Callbacks do ...
9 years, 3 months ago (2011-08-29 08:55:01 UTC) #3
Dai Mikurube (NOT FULLTIME)
Thank you for reviewing, Kinuko-san. http://codereview.chromium.org/7715024/diff/7001/chrome/test/data/fileapi/common.js File chrome/test/data/fileapi/common.js (right): http://codereview.chromium.org/7715024/diff/7001/chrome/test/data/fileapi/common.js#newcode69 chrome/test/data/fileapi/common.js:69: } On 2011/08/29 08:55:01, ...
9 years, 3 months ago (2011-08-30 08:07:55 UTC) #4
kinuko
Thanks. Some more comments... http://codereview.chromium.org/7715024/diff/7001/content/browser/file_system/file_system_browsertest.cc File content/browser/file_system/file_system_browsertest.cc (right): http://codereview.chromium.org/7715024/diff/7001/content/browser/file_system/file_system_browsertest.cc#newcode91 content/browser/file_system/file_system_browsertest.cc:91: ASSERT_TRUE(helper->Run()); On 2011/08/30 08:07:55, Dai ...
9 years, 3 months ago (2011-08-30 12:12:04 UTC) #5
Dai Mikurube (NOT FULLTIME)
Thanks for reviewing. http://codereview.chromium.org/7715024/diff/12001/chrome/test/data/fileapi/create_test.js File chrome/test/data/fileapi/create_test.js (right): http://codereview.chromium.org/7715024/diff/12001/chrome/test/data/fileapi/create_test.js#newcode8 chrome/test/data/fileapi/create_test.js:8: done(); On 2011/08/30 12:12:04, kinuko wrote: ...
9 years, 3 months ago (2011-08-30 12:58:30 UTC) #6
kinuko
lgtm http://codereview.chromium.org/7715024/diff/18002/chrome/test/data/fileapi/quota_test.js File chrome/test/data/fileapi/quota_test.js (right): http://codereview.chromium.org/7715024/diff/18002/chrome/test/data/fileapi/quota_test.js#newcode38 chrome/test/data/fileapi/quota_test.js:38: } nit: semicolon after '}'
9 years, 3 months ago (2011-09-01 05:11:53 UTC) #7
kinuko
http://codereview.chromium.org/7715024/diff/18002/content/browser/file_system/file_system_browsertest.cc File content/browser/file_system/file_system_browsertest.cc (right): http://codereview.chromium.org/7715024/diff/18002/content/browser/file_system/file_system_browsertest.cc#newcode73 content/browser/file_system/file_system_browsertest.cc:73: quota::StorageType, int64>& params) { nit: weird indentation
9 years, 3 months ago (2011-09-01 05:53:30 UTC) #8
Dai Mikurube (NOT FULLTIME)
Thanks. Fixed it, rebased and submitted to try bots. http://codereview.chromium.org/7715024/diff/18002/chrome/test/data/fileapi/quota_test.js File chrome/test/data/fileapi/quota_test.js (right): http://codereview.chromium.org/7715024/diff/18002/chrome/test/data/fileapi/quota_test.js#newcode38 chrome/test/data/fileapi/quota_test.js:38: ...
9 years, 3 months ago (2011-09-01 06:54:09 UTC) #9
Dai Mikurube (NOT FULLTIME)
On 2011/09/01 06:54:09, Dai Mikurube wrote: > Thanks. Fixed it, rebased and submitted to try ...
9 years, 3 months ago (2011-09-06 11:22:12 UTC) #10
commit-bot: I haz the power
9 years, 3 months ago (2011-09-06 12:47:56 UTC) #11
Change committed as 99726

Powered by Google App Engine
This is Rietveld 408576698