Bug 80791 - WebKit2 lacks API for obtaining a representation of the RenderLayer tree of a page, like WebRenderLayer
Summary: WebKit2 lacks API for obtaining a representation of the RenderLayer tree of a...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-11 09:55 PDT by mitz
Modified: 2012-03-11 12:50 PDT (History)
5 users (show)

See Also:


Attachments
Add WKRenderLayer and bundle API for getting the layer tree of a page (34.84 KB, patch)
2012-03-11 10:07 PDT, mitz
no flags Details | Formatted Diff | Diff
Add WKRenderLayer and bundle API for getting the layer tree of a page (42.63 KB, patch)
2012-03-11 10:08 PDT, mitz
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2012-03-11 09:55:15 PDT
It is often helpful in investigating and debugging rendering and compositing issues to be able to get a snapshot of the RenderLayer tree of a webpage. In OS X WebKit1, this is available through WebRenderLayer. WebKit2 lacks and equivalent API.
Comment 1 mitz 2012-03-11 10:07:04 PDT
Created attachment 131238 [details]
Add WKRenderLayer and bundle API for getting the layer tree of a page
Comment 2 mitz 2012-03-11 10:08:05 PDT
Created attachment 131239 [details]
Add WKRenderLayer and bundle API for getting the layer tree of a page
Comment 3 WebKit Review Bot 2012-03-11 10:10:03 PDT
Attachment 131239 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/CMakeLists.txt', u'Source/W..." exit_code: 1
Source/WebKit2/ChangeLog:60:  Need whitespace between colon and description  [changelog/filechangedescriptionwhitespace] [5]
Source/WebKit2/Shared/WebRenderLayer.h:37:  Code inside a namespace should not be indented.  [whitespace/indent] [4]
Source/WebKit2/Shared/WebRenderLayer.h:59:  The return type should use PassRefPtr instead of RefPtr.  [readability/pass_ptr] [5]
Source/WebKit2/Shared/WebRenderLayer.h:60:  The return type should use PassRefPtr instead of RefPtr.  [readability/pass_ptr] [5]
Source/WebKit2/Shared/WebRenderLayer.h:61:  The return type should use PassRefPtr instead of RefPtr.  [readability/pass_ptr] [5]
Source/WebKit2/Shared/WebRenderLayer.h:66:  The return type should use PassRefPtr instead of RefPtr.  [readability/pass_ptr] [5]
Total errors found: 6 in 16 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 mitz 2012-03-11 12:50:48 PDT
Fixed in <http://trac.webkit.org/r110397>.