[Webkit-unassigned] [Bug 56771] New: editing commands shouldn't run when there's no body

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 21 15:09:34 PDT 2011


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

           Summary: editing commands shouldn't run when there's no body
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: eric at webkit.org, darin at apple.com, ap at webkit.org,
                    justin.garcia at apple.com, skylined at chromium.org,
                    ojan at chromium.org, enrica at apple.com,
                    leviw at chromium.org
            Blocks: 56642,56644,56652


WebKit currently allows editing commands to run without a body element when the design mode is turned on, and this behavior led to crashes such as that of the bug 56642.  We should avoid executing (most of) editing commands when there is no body element because appending a node to a body-less document isn't possible from scripts and allowing such an operation via editing commands creates an unnecessary loop-hole to break assumptions in WebCore.

As far as I checked, IE doesn't support execCommand under designMode and FF ignores execCommands when there are no body element.

-- 
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