[Bug 251519] [NEW] method execCommand("formatblock", false, "p") with empty line

Jan janys.p at seznam.cz
Thu Jul 24 15:00:20 UTC 2008

Public bug reported:

Binary package hint: firefox-3.0

If I use method execCommand("formatblock", false, "p") with empty line
(only <br>) it causes error - document.designMode is 'on'.

Chyba: [Exception... "Component returned failure code: 0x80004005
(NS_ERROR_FAILURE) [nsIDOMNSHTMLDocument.execCommand]"  nsresult:
"0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame ::
file:///home/jan/Plocha/play/develFFnode.html :: klaves :: line 61"
data: no]

Ubuntu 8.04
kernel 2.6.24-19-generic
GNOME 2.22.2

package 3.0.1+build+nobinonly-0ubuntu0.8.04.2

ProblemType: Bug
Architecture: i386
Date: Thu Jul 24 16:46:32 2008
DistroRelease: Ubuntu 8.04
Package: firefox-3.0 3.0.1+build1+nobinonly-0ubuntu0.8.04.2
PackageArchitecture: i386
SourcePackage: firefox-3.0
Uname: Linux 2.6.24-19-generic i686

** Affects: firefox-3.0 (Ubuntu)
     Importance: Undecided
         Status: New

** Tags: apport-bug

method execCommand("formatblock", false, "p") with empty line
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox-3.0 in ubuntu.

More information about the Ubuntu-mozillateam-bugs mailing list