зеркало из https://github.com/mozilla/gecko-dev.git
Bug 289714 - Make console XML Parsing notices more informative. r=jst
--HG-- extra : rebase_source : a3d4cce2ebdf91eda7581dccc565f5607381f448
This commit is contained in:
Родитель
756abf6cfa
Коммит
f69944c26d
|
@ -42,7 +42,7 @@ const TESTS = [
|
|||
// #4
|
||||
file: "test-bug-595934-malformedxml.xhtml",
|
||||
category: "malformed-xml",
|
||||
matchString: "no element found",
|
||||
matchString: "no root element found",
|
||||
},
|
||||
{
|
||||
// #5
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# Map Expat error codes to error strings
|
||||
1 = out of memory
|
||||
2 = syntax error
|
||||
3 = no element found
|
||||
3 = no root element found
|
||||
4 = not well-formed
|
||||
5 = unclosed token
|
||||
6 = partial character
|
||||
|
|
|
@ -947,7 +947,7 @@ nsExpatDriver::HandleError()
|
|||
nsCOMPtr<nsIScriptError> serr(do_CreateInstance(NS_SCRIPTERROR_CONTRACTID));
|
||||
nsresult rv = NS_ERROR_FAILURE;
|
||||
if (serr) {
|
||||
rv = serr->InitWithWindowID(description,
|
||||
rv = serr->InitWithWindowID(errorText,
|
||||
mURISpec,
|
||||
mLastLine,
|
||||
lineNumber, colNumber,
|
||||
|
|
Загрузка…
Ссылка в новой задаче