WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
111387
Use new assertion API for process suppression on Mac
https://bugs.webkit.org/show_bug.cgi?id=111387
Summary
Use new assertion API for process suppression on Mac
Kiran Muppala
Reported
2013-03-04 17:42:51 PST
Use new [NSProcessInfo beginSuspensionOfSystemBehaviors:] API to control process suppression on Mac in place of the current WKNSProcessInfoProcessAssertionWithTypes() SPI.
Attachments
Patch: not ready for commit
(4.01 KB, patch)
2013-03-04 18:07 PST
,
Kiran Muppala
no flags
Details
Formatted Diff
Diff
Patch
(4.01 KB, patch)
2013-03-04 18:47 PST
,
Kiran Muppala
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Kiran Muppala
Comment 1
2013-03-04 17:43:02 PST
<
rdar://problem/13145081
>
Kiran Muppala
Comment 2
2013-03-04 18:07:19 PST
Created
attachment 191369
[details]
Patch: not ready for commit
Kiran Muppala
Comment 3
2013-03-04 18:47:35 PST
Created
attachment 191374
[details]
Patch
Kiran Muppala
Comment 4
2013-03-04 18:48:25 PST
(In reply to
comment #3
)
> Created an attachment (id=191374) [details] > Patch
Made a slight correction to the ChangeLog. No source changes.
Alexey Proskuryakov
Comment 5
2013-03-04 23:03:54 PST
Comment on
attachment 191374
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=191374&action=review
> WebKitLibraries/WebKitSystemInterface.h:501 > +extern const NSSystemBehaviors WKProcessSuppressionSystemBehaviors;
I don't think that this should go to WebKitSystemInterface.h. We can declare the symbol anywhere, and ChildProcessMac.mm seems like the right place for that.
Alexey Proskuryakov
Comment 6
2013-03-04 23:05:02 PST
Comment on
attachment 191374
[details]
Patch The patch name says "not ready for commit", but presumably it's ready for review.
Kiran Muppala
Comment 7
2013-03-04 23:23:41 PST
(In reply to
comment #5
)
> (From update of
attachment 191374
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=191374&action=review
> > > WebKitLibraries/WebKitSystemInterface.h:501 > > +extern const NSSystemBehaviors WKProcessSuppressionSystemBehaviors; > > I don't think that this should go to WebKitSystemInterface.h. We can declare the symbol anywhere, and ChildProcessMac.mm seems like the right place for that.
Ah, the catch is that the symbol is actually computed in WebKitSystemInterface.m, not a simple wrapper for a underlying SPI symbol. So, I thought it made sense to put it there. But, as you said, the symbol does belong in ChildProcessMac.mm and can be moved there when the API becomes is public.
Kiran Muppala
Comment 8
2013-03-04 23:25:10 PST
(In reply to
comment #6
)
> (From update of
attachment 191374
[details]
) > The patch name says "not ready for commit", but presumably it's ready for review.
Yes, I wanted it to be reviewed but not cq+'d because it needs a WebKitSystemInterface part to be committed before that. Thanks for the review.
WebKit Review Bot
Comment 9
2013-03-05 15:48:15 PST
Comment on
attachment 191374
[details]
Patch Clearing flags on attachment: 191374 Committed
r144832
: <
http://trac.webkit.org/changeset/144832
>
WebKit Review Bot
Comment 10
2013-03-05 15:48:19 PST
All reviewed patches have been landed. Closing bug.
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