function afterOpen() {
is(
content.document.documentElement.textContent.indexOf("\u20AC"),
190, "Parent doc should be windows-1252 initially"
);
is(
content.frames[0].document.documentElement.textContent.indexOf("\u20AC"),
109, "Child doc should be utf-16 initially"
);
}
function afterChangeCharset() {
is(
content.document.documentElement.textContent.indexOf("\u20AC"),
190, "Parent doc should be windows-1252 subsequently"
);
is(
content.frames[0].document.documentElement.textContent.indexOf("\u20AC"),
109, "Child doc should be utf-16 subsequently"
);
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 ist noch experimentell.