RESOLVED FIXED 111132
[WK2] Make in-memory blobs work in NetworkProcess
https://bugs.webkit.org/show_bug.cgi?id=111132
Summary [WK2] Make in-memory blobs work in NetworkProcess
Alexey Proskuryakov
Reported 2013-02-28 17:37:31 PST
This patch makes blobs work, except it doesn't track sandbox extensions for files.
Attachments
proposed patch (40.65 KB, patch)
2013-02-28 17:53 PST, Alexey Proskuryakov
webkit-ews: commit-queue-
with some build fixing (44.85 KB, patch)
2013-03-01 10:59 PST, Alexey Proskuryakov
no flags
fix style too (44.84 KB, patch)
2013-03-01 11:02 PST, Alexey Proskuryakov
buildbot: commit-queue-
with more build fix (44.81 KB, patch)
2013-03-01 11:55 PST, Alexey Proskuryakov
sam: review+
Alexey Proskuryakov
Comment 1 2013-02-28 17:53:13 PST
Created attachment 190859 [details] proposed patch
WebKit Review Bot
Comment 2 2013-02-28 17:57:13 PST
Attachment 190859 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/ChangeLog', u'Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.cpp', u'Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.h', u'Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.messages.in', u'Source/WebKit2/NetworkProcess/NetworkProcess.cpp', u'Source/WebKit2/NetworkProcess/NetworkProcessPlatformStrategies.cpp', u'Source/WebKit2/NetworkProcess/NetworkProcessPlatformStrategies.h', u'Source/WebKit2/Shared/FileAPI/BlobRegistrationData.cpp', u'Source/WebKit2/Shared/FileAPI/BlobRegistrationData.h', u'Source/WebKit2/WebKit2.xcodeproj/project.pbxproj', u'Source/WebKit2/WebProcess/FileAPI/BlobRegistryProxy.cpp', u'Source/WebKit2/WebProcess/FileAPI/BlobRegistryProxy.h', u'Source/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp', u'Source/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.h']" exit_code: 1 Source/WebKit2/WebProcess/FileAPI/BlobRegistryProxy.cpp:32: Alphabetical sorting problem. [build/include_order] [4] Source/WebKit2/Shared/FileAPI/BlobRegistrationData.cpp:126: Extra space before ) in for [whitespace/parens] [5] Source/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:254: An else statement can be removed when the prior "if" concludes with a return, break, continue or goto statement. [readability/control_flow] [4] Total errors found: 3 in 14 files If any of these errors are false positives, please file a bug against check-webkit-style.
Early Warning System Bot
Comment 3 2013-02-28 18:01:27 PST
EFL EWS Bot
Comment 4 2013-02-28 18:03:01 PST
Adam Barth
Comment 5 2013-02-28 18:12:31 PST
Comment on attachment 190859 [details] proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=190859&action=review > Source/WebKit2/NetworkProcess/NetworkProcessPlatformStrategies.h:53 > + virtual WebCore::BlobRegistry* createBlobRegistry() OVERRIDE; Not PassOwnPtr?
Build Bot
Comment 6 2013-02-28 18:33:11 PST
Comment on attachment 190859 [details] proposed patch Attachment 190859 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-commit-queue.appspot.com/results/16753242
Alexey Proskuryakov
Comment 7 2013-02-28 18:38:52 PST
> Not PassOwnPtr? PassOwnPtr cannot be used with BlobRegistry, because its destructor is protected. One way or another, we never delete these.
Build Bot
Comment 8 2013-02-28 19:02:43 PST
Alexey Proskuryakov
Comment 9 2013-03-01 10:59:21 PST
Created attachment 190989 [details] with some build fixing Unsure what went wrong with Mac builds, trying again. This should fix Qt and EFL though.
Alexey Proskuryakov
Comment 10 2013-03-01 11:02:08 PST
Created attachment 190990 [details] fix style too
Build Bot
Comment 11 2013-03-01 11:35:45 PST
Comment on attachment 190990 [details] fix style too Attachment 190990 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-commit-queue.appspot.com/results/16675348
Alexey Proskuryakov
Comment 12 2013-03-01 11:55:39 PST
Created attachment 191001 [details] with more build fix The new Mac build failure made sense.
Alexey Proskuryakov
Comment 13 2013-03-01 14:03:03 PST
Note You need to log in before you can comment on or make changes to this bug.