[Webkit-unassigned] [Bug 118380] New: Calling setEditable on a document with a namespaced body Element results in a EXC_BAD_ACCESS error
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 4 01:16:57 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=118380
Summary: Calling setEditable on a document with a namespaced
body Element results in a EXC_BAD_ACCESS error
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebCore JavaScript
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: philip.peitsch at gmail.com
Created an attachment (id=206061)
--> (https://bugs.webkit.org/attachment.cgi?id=206061&action=review)
Reproduction document to be loaded using a WebView
Reproduction steps:
1. Load the very simply attached document in a WebView (this was done using Cocoa for my purposes)
2. After the page has loaded, call setEditable:YES on the WebView
3. Observe the crash!
As per https://trac.webkit.org/browser/trunk/Source/WebCore/editing/Editor.cpp?rev=152203#L2760,
the Editor assumes everything that is called "body" is a styled element. I discovered this bug
whilst using webodf to load an ODF document into a browser, which creates an office:body tag that
is a namespaced 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