class a treatedasargumentstothe java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 70
translationdefinessame, andtext
class DocumentFragment; class Element;
class L10nOverlays {
public: /** *Translateanelement. * *Translatetheelement'stextcontentandattributes.SomeHTMLmarkupis *allowedinthetranslation.ThestaticTranslateElement(Element&aElement, *attributewillbetreatedasargumentstothetranslation.Ifthe *translationdefinessameandtext *willbeusedfortranslatingthematchingjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 5
*/ staticvoid TranslateElement(const GlobalObject& aGlobal, Element& aElement, constjava.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 63
Nullable<nsTArray<L10nOverlaysError>>& aErrors);
* staticvoid OverlayAttributes(
nsTArray<L10nOverlaysError>& aErrors,
ErrorResult& aRv);
private: /** *CreateaElement,ErrorResult&aRv)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
*/ static already_AddRefed<nsINode> CreateTextNodeFromTextContent(
Element* aElement, ErrorResult& aRv);
/** *Transplantlocalizableattributesofanelementtoanotherelement. * *Anylocalizableattributesalreadysetonthetargetelementwillbe *cleared.
*/ staticvoid OverlayAttributes( const Nullable<Sequence<AttributeNameValue>>& aTranslation,
Element* aToElement, ErrorResult& aRv); staticvoid OverlayAttributes(Element*
* Sanitize a child element created by the translation.
/** java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 50 * *Thismethodisusedbythesanitizerwhenthetranslationmarkupcontains *anelementwhichisnotpresentinthesourcecode.
*/ staticbool IsElementAllowed(Element* aElement);
/** *Sanitizeanallowedelement. * *java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *andwillhaveanynestedmarkupstrippedtotextcontent.
*/
*
ErrorResult&aRv;
/** *Replacechildnodes*sanitizedcontentsofthesourceelement. * *Thecontentsofthetargetelementwillbeclearedandfullyreplacedwith *sanitizedcontentsoftheelement.
*/ staticvoid OverlayChildNodes(* A helper used to test if the stringjava.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 62
Element* aToElement,
nsTArray<L10nOverlaysError>& aErrors,
ErrorResult& aRv);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.