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

Issue 1012353002: Fix WebSQL error on sandboxed OSX and Linux. (Closed)

Created:
5 years, 9 months ago by Scott Hess - ex-Googler
Modified:
5 years, 8 months ago
Reviewers:
michaeln
CC:
blink-reviews, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Fix WebSQL error on sandboxed OSX and Linux. Both restrict the ftruncate() system call. Proxy it over to the browser process. BUG=457905 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=193230

Patch Set 1 #

Total comments: 13

Patch Set 2 : Rebase #

Patch Set 3 : Remove redundant expectations files. #

Patch Set 4 : Variable renaming, whitespace cleanup, use wrapped vfs appropriately. #

Patch Set 5 : test-authorizer-expected.txt also fixed! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -169 lines) Patch
M LayoutTests/platform/linux/storage/websql/sql-error-codes-expected.txt View 1 2 1 chunk +0 lines, -12 lines 0 comments Download
D LayoutTests/platform/linux/storage/websql/test-authorizer-expected.txt View 1 2 3 4 1 chunk +0 lines, -69 lines 0 comments Download
M LayoutTests/platform/mac/storage/websql/sql-error-codes-expected.txt View 1 2 1 chunk +0 lines, -12 lines 0 comments Download
D LayoutTests/platform/mac/storage/websql/test-authorizer-expected.txt View 1 2 3 4 1 chunk +0 lines, -69 lines 0 comments Download
M Source/modules/webdatabase/sqlite/SQLiteFileSystemPosix.cpp View 1 2 3 6 chunks +141 lines, -7 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
Scott Hess - ex-Googler
browser side of the patch: https://codereview.chromium.org/1006423008
5 years, 9 months ago (2015-03-18 01:41:56 UTC) #1
Scott Hess - ex-Googler
I think this is getting into the right region for implementing a proxied xTruncate call ...
5 years, 9 months ago (2015-03-18 01:45:46 UTC) #3
michaeln
thank you for doing this! https://codereview.chromium.org/1012353002/diff/1/Source/modules/webdatabase/sqlite/SQLiteFileSystemPosix.cpp File Source/modules/webdatabase/sqlite/SQLiteFileSystemPosix.cpp (right): https://codereview.chromium.org/1012353002/diff/1/Source/modules/webdatabase/sqlite/SQLiteFileSystemPosix.cpp#newcode150 Source/modules/webdatabase/sqlite/SQLiteFileSystemPosix.cpp:150: sqlite3_file* id, int desiredFlags, ...
5 years, 9 months ago (2015-03-19 00:14:05 UTC) #4
Scott Hess - ex-Googler
https://codereview.chromium.org/1012353002/diff/1/Source/modules/webdatabase/sqlite/SQLiteFileSystemPosix.cpp File Source/modules/webdatabase/sqlite/SQLiteFileSystemPosix.cpp (right): https://codereview.chromium.org/1012353002/diff/1/Source/modules/webdatabase/sqlite/SQLiteFileSystemPosix.cpp#newcode150 Source/modules/webdatabase/sqlite/SQLiteFileSystemPosix.cpp:150: sqlite3_file* id, int desiredFlags, int* usedFlags) On 2015/03/19 00:14:04, ...
5 years, 9 months ago (2015-03-25 20:19:55 UTC) #5
Scott Hess - ex-Googler
OK - this version is good to go! AFIACT at this point, SQLite intentionally considers ...
5 years, 8 months ago (2015-04-06 20:12:58 UTC) #6
michaeln
lgtm, much tidier!
5 years, 8 months ago (2015-04-06 22:37:50 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1012353002/80001
5 years, 8 months ago (2015-04-06 23:17:59 UTC) #10
Scott Hess - ex-Googler
On 2015/04/06 22:37:50, michaeln wrote: > lgtm, much tidier! Ha, the red layout tests were ...
5 years, 8 months ago (2015-04-06 23:19:30 UTC) #11
commit-bot: I haz the power
5 years, 8 months ago (2015-04-07 00:48:42 UTC) #12
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=193230

Powered by Google App Engine
This is Rietveld 408576698