WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
107786
Switch sandbox initialization back to being at initialization message time (for now)
https://bugs.webkit.org/show_bug.cgi?id=107786
Summary
Switch sandbox initialization back to being at initialization message time (f...
Sam Weinig
Reported
2013-01-23 22:25:34 PST
Switch sandbox initialization back to being at initialization message time (for now)
Attachments
Patch
(22.51 KB, patch)
2013-01-23 22:29 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2013-01-23 22:29:10 PST
Created
attachment 184401
[details]
Patch
Sam Weinig
Comment 2
2013-01-23 22:29:35 PST
I'd like Alexey to review this.
Alexey Proskuryakov
Comment 3
2013-01-23 23:49:33 PST
Comment on
attachment 184401
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=184401&action=review
This patch is a bit incomplete, we should delete extension handle members from WebProcessCreationParameters, and stop creating them in WebContext::createNewWebProcess().
> Source/WebKit2/Shared/SandboxInitializationParameters.h:52 > + enum Mode {
Maybe ProfileSelectionMode?
> Source/WebKit2/WebProcess/WebProcess.cpp:250 > + platformInitializeSandboxInitializationParameters(parameters, sandboxParameters);
That's a mouthful!
> Source/WebKit2/WebProcess/WebProcess.cpp:251 > + initializeSandbox(sandboxParameters);
I'm not a fan of processes needing to call initializeSandbox() explicitly. Today, most of them are either not sandboxed or using custom code, but the goal is that they are all sandboxed via ChildProcess code. Not a big deal, but adds a bit more copy/pasting.
Alexey Proskuryakov
Comment 4
2013-01-24 00:30:34 PST
I just had some realizations about high level design here, might be worth holding off landing until that settles down.
Sam Weinig
Comment 5
2013-01-24 09:32:34 PST
(In reply to
comment #4
)
> I just had some realizations about high level design here, might be worth holding off landing until that settles down.
Ok. Let me know when a good time is.
Sam Weinig
Comment 6
2013-01-24 11:28:30 PST
Comment on
attachment 184401
[details]
Patch On second thought, no, lets not do this at all.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug