[Webkit-unassigned] [Bug 113768] New: Web Inspector: crash in WebCore::InspectorLayerTreeAgent::buildObjectForLayer if a layer is created for an anonymous RenderObject (:first-letter)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 2 04:29:06 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=113768

           Summary: Web Inspector: crash in
                    WebCore::InspectorLayerTreeAgent::buildObjectForLayer
                    if a layer is created for an anonymous RenderObject
                    (:first-letter)
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://sahilparikh.com/post/46741689726/building-a-saa
                    s-business-2007-vs-2013
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: graouts at apple.com
                CC: timothy at apple.com, keishi at webkit.org,
                    pmuellr at yahoo.com, joepeck at webkit.org,
                    pfeldman at chromium.org, yurys at chromium.org,
                    apavlov at chromium.org, loislo at chromium.org,
                    vsevik at chromium.org,
                    webkit-bug-importer at group.apple.com,
                    web-inspector-bugs at googlegroups.com


Steps to reproduce:

1. Load <http://sahilparikh.com/post/46741689726/building-a-saas-business-2007-vs-2013#> in a WebKit nightly
2. Open the Safari Web Inspector
3. Click on the layers pane
4. *crash*

The issue here is that a CSS rule using the :first-letter pseudo-element creates a composited layer (due to "backface-visilibity: hidden") and the InspectorLayerTreeAgent doesn't know how to handle such "special" RenderObjects. As a result, we get a null Node and when we ask for its nodeId, we eventually crash. We should be both more protective of unknown nodes and handle anonymous RenderObjects specifically.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list