Bug 699749 - Avoid the term "astral" in error messages. r=l10n.
authorHenri Sivonen <hsivonen@iki.fi>
Fri, 04 Nov 2011 15:36:29 +0200
changeset 79760 98712a13f4ac96a6892c724fe60dce3a5aa43d3f
parent 79759 6beb79fc1c1a195a7ed5d6d3f2ea16ff2949d55e
child 79761 5bbc4fb5b277ea0212f4c210f2a7238dbbe70904
push id21423
push usermbrubeck@mozilla.com
push dateFri, 04 Nov 2011 18:28:39 +0000
treeherdermozilla-central@5ebd59b5a94a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersl10n
bugs699749
milestone10.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 699749 - Avoid the term "astral" in error messages. r=l10n.
dom/locales/en-US/chrome/layout/htmlparser.properties
parser/html/nsHtml5TokenizerCppSupplement.h
--- a/dom/locales/en-US/chrome/layout/htmlparser.properties
+++ b/dom/locales/en-US/chrome/layout/htmlparser.properties
@@ -71,17 +71,16 @@ errNoNamedCharacterMatch=“&” did not start a character reference. (“&” probably should have been escaped as “&amp;”.)
 errQuoteBeforeAttributeName=Saw a quote when expecting an attribute name. Probable cause: “=” missing immediately before.
 errLtInAttributeName=“<” in attribute name. Probable cause: “>” missing immediately before.
 errQuoteInAttributeName=Quote in attribute name. Probable cause: Matching quote missing somewhere earlier.
 errExpectedPublicId=Expected a public identifier but the doctype ended.
 errBogusDoctype=Bogus doctype.
 maybeErrAttributesOnEndTag=End tag had attributes.
 maybeErrSlashInEndTag=Stray “/” at the end of an end tag.
 errNcrNonCharacter=Character reference expands to a non-character.
-errAstralNonCharacter=Character reference expands to an astral non-character.
 errNcrSurrogate=Character reference expands to a surrogate.
 errNcrControlChar=Character reference expands to a control character.
 errNcrCr=A numeric character reference expanded to carriage return.
 errNcrInC1Range=A numeric character reference expanded to the C1 controls range.
 errEofInPublicId=End of file inside public identifier.
 errEofInComment=End of file inside comment.
 errEofInDoctype=End of file inside doctype.
 errEofInAttributeValue=End of file reached when inside an attribute value. Ignoring tag.
--- a/parser/html/nsHtml5TokenizerCppSupplement.h
+++ b/parser/html/nsHtml5TokenizerCppSupplement.h
@@ -174,17 +174,17 @@ nsHtml5Tokenizer::errNcrNonCharacter(PRU
   }
   return ch;
 }
 
 void
 nsHtml5Tokenizer::errAstralNonCharacter(int ch)
 {
   if (NS_UNLIKELY(mViewSource)) {
-    mViewSource->AddErrorToCurrentNode("errAstralNonCharacter");
+    mViewSource->AddErrorToCurrentNode("errNcrNonCharacter");
   }
 }
 
 PRUnichar
 nsHtml5Tokenizer::errNcrControlChar(PRUnichar ch)
 {
   if (NS_UNLIKELY(mViewSource)) {
     mViewSource->AddErrorToCurrentNode("errNcrControlChar");