Bug 108400 - Disable process suppression of DumpRenderTree on Mac
Summary: Disable process suppression of DumpRenderTree on Mac
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kiran Muppala
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-01-30 16:18 PST by Kiran Muppala
Modified: 2015-04-27 19:46 PDT (History)
3 users (show)

See Also:


Attachments
Patch (1.57 KB, patch)
2013-01-30 16:27 PST, Kiran Muppala
no flags Details | Formatted Diff | Diff
Patch (1.49 KB, patch)
2013-01-30 16:58 PST, Kiran Muppala
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kiran Muppala 2013-01-30 16:18:46 PST
A lot of tests under animations are failing because DumpRenderTree is being process suppressed.  A assertion must be taken to prevent this.
Comment 1 Kiran Muppala 2013-01-30 16:18:59 PST
<rdar://problem/13115914>
Comment 2 Kiran Muppala 2013-01-30 16:27:14 PST
Created attachment 185614 [details]
Patch
Comment 3 Jessie Berlin 2013-01-30 16:48:43 PST
Comment on attachment 185614 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=185614&action=review

> Tools/DumpRenderTree/mac/DumpRenderTree.mm:1443
> +                                                                                 reason:@"DumpRenderTree should not be subject to process suppression"];

Please do not use colon-aligning indentation. Subsequent lines should just use a 4 space indent.

Also, you need a retain since beginSuspensionOfSystemBehaviors returns an autoreleased object.

> Tools/DumpRenderTree/mac/DumpRenderTree.mm:1444
> +    UNUSED_PARAM(assertion);

You should use ASSERT_UNUSED instead.
Comment 4 Kiran Muppala 2013-01-30 16:58:38 PST
Created attachment 185626 [details]
Patch
Comment 5 Kiran Muppala 2013-01-30 16:59:07 PST
(In reply to comment #3)
> (From update of attachment 185614 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=185614&action=review
> 
> > Tools/DumpRenderTree/mac/DumpRenderTree.mm:1443
> > +                                                                                 reason:@"DumpRenderTree should not be subject to process suppression"];
> 
> Please do not use colon-aligning indentation. Subsequent lines should just use a 4 space indent.
> 

Fixed.

> Also, you need a retain since beginSuspensionOfSystemBehaviors returns an autoreleased object.
> 
> > Tools/DumpRenderTree/mac/DumpRenderTree.mm:1444
> > +    UNUSED_PARAM(assertion);
> 
> You should use ASSERT_UNUSED instead.

Replaced with ASSERT_UNUSED.
Comment 6 WebKit Review Bot 2013-01-30 18:08:48 PST
Comment on attachment 185626 [details]
Patch

Clearing flags on attachment: 185626

Committed r141353: <http://trac.webkit.org/changeset/141353>
Comment 7 WebKit Review Bot 2013-01-30 18:08:51 PST
All reviewed patches have been landed.  Closing bug.