function afterOpen() {
is(
content.document.documentElement.textContent.indexOf("\u20AC"),
151, "Parent doc should be windows-1252 initially"
);
is(
content.frames[0].document.documentElement.textContent.indexOf("\u20AC"),
71, "Child doc should be utf-8 initially"
);
}
function afterChangeCharset() {
is(
content.document.documentElement.textContent.indexOf("\u20AC"),
151, "Parent doc should be windows-1252 initially"
);
is(
content.frames[0].document.documentElement.textContent.indexOf("\u20AC"),
71, "Child doc should decode as utf-8 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.