[Webkit-unassigned] [Bug 56642] Null pointer crash in StyleChange::init inside an empty document
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Mar 18 16:34:02 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=56642
Ryosuke Niwa <rniwa at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ap at webkit.org,
| |darin at apple.com,
| |hyatt at apple.com,
| |ojan at chromium.org,
| |simon.fraser at apple.com
--- Comment #4 from Ryosuke Niwa <rniwa at webkit.org> 2011-03-18 16:34:02 PST ---
I'm now running into the assertion in:
void Document::setCompatibilityMode(CompatibilityMode mode)
{
if (m_compatibilityModeLocked || mode == m_compatibilityMode)
return;
ASSERT(!documentElement() && !m_styleSheets->length());
bool wasInQuirksMode = inQuirksMode();
m_compatibilityMode = mode;
if (inQuirksMode() != wasInQuirksMode) {
// All user stylesheets have to reparse using the different mode.
clearPageUserSheet();
clearPageGroupUserSheets();
}
}
Maybe we shouldn't even let execCommand run when there's 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