RESOLVED FIXED 80791
WebKit2 lacks API for obtaining a representation of the RenderLayer tree of a page, like WebRenderLayer
https://bugs.webkit.org/show_bug.cgi?id=80791
Summary WebKit2 lacks API for obtaining a representation of the RenderLayer tree of a...
mitz
Reported 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.
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
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+
mitz
Comment 1 2012-03-11 10:07:04 PDT
Created attachment 131238 [details] Add WKRenderLayer and bundle API for getting the layer tree of a page
mitz
Comment 2 2012-03-11 10:08:05 PDT
Created attachment 131239 [details] Add WKRenderLayer and bundle API for getting the layer tree of a page
WebKit Review Bot
Comment 3 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.
mitz
Comment 4 2012-03-11 12:50:48 PDT
Note You need to log in before you can comment on or make changes to this bug.