Bug 85032 - [EFL][DRT] EFL's DRT does not fully support page visibility
Summary: [EFL][DRT] EFL's DRT does not fully support page visibility
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords:
Depends on: 85347
Blocks: 85601
  Show dependency treegraph
 
Reported: 2012-04-26 23:51 PDT by Chris Dumez
Modified: 2012-05-08 06:56 PDT (History)
4 users (show)

See Also:


Attachments
Patch (11.34 KB, patch)
2012-04-27 01:37 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (12.03 KB, patch)
2012-05-02 03:04 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (4.46 KB, patch)
2012-05-06 23:25 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2012-04-26 23:51:50 PDT
setPageVisibility() and resetPageVisibility() need to be implemented in EFL's LayoutTestController.
Comment 1 Chris Dumez 2012-04-27 01:37:16 PDT
Created attachment 139148 [details]
Patch
Comment 2 Chris Dumez 2012-05-02 03:04:01 PDT
Created attachment 139779 [details]
Patch

Rebase on master and call DumpRenderTreeSupportEfl::resetPageVisibility() from DumpRenderTreeChrome::resetDefaultsToConsistentValues() for safety.
Comment 3 Raphael Kubo da Costa (:rakuco) 2012-05-06 18:48:57 PDT
Comment on attachment 139779 [details]
Patch

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

> Tools/ChangeLog:8
> +        Implement page visibility API support in EFL's DRT.

This is a very laconic description :-) Not only do you plug the EFL bits, but you also fix the argumentCount check in LTC and add stubs to the other ports' LTCs, so a better description (either here or in the method list below) would be very welcome.

> Tools/DumpRenderTree/LayoutTestController.cpp:1746
>      // Has mac & windows implementation

I think this comment can go away too.

> Tools/DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:902
> +    // FIXME: implement.

We generally add a notImplemented() call instead (this applies to all the other FIXME comments).
Comment 4 Chris Dumez 2012-05-06 23:17:33 PDT
It seems there is some overlap with Samsung's patch at Bug 85347 (which already landed). I will rebase my patch since some functionality is missing in Samsung's patch.
Comment 5 Chris Dumez 2012-05-06 23:25:55 PDT
Created attachment 140483 [details]
Patch

Rebase patch due to Bug 85347. Remaining in the patch:
- Properly reset visibility state between tests
- Add support for "preview" visibility state
- Fix argumentCount check in resetPageVisibilityCallback()
- Unskip remaining page visibility tests in EFL
Comment 6 Gyuyoung Kim 2012-05-06 23:52:11 PDT
Comment on attachment 140483 [details]
Patch

Looks fine to me.
Comment 7 Raphael Kubo da Costa (:rakuco) 2012-05-07 08:03:00 PDT
Comment on attachment 140483 [details]
Patch

Looks great, thank you.
Comment 8 WebKit Review Bot 2012-05-08 06:56:37 PDT
Comment on attachment 140483 [details]
Patch

Clearing flags on attachment: 140483

Committed r116416: <http://trac.webkit.org/changeset/116416>
Comment 9 WebKit Review Bot 2012-05-08 06:56:44 PDT
All reviewed patches have been landed.  Closing bug.