[encode-utf8.https.any.serviceworker.html]
  expected: TIMEOUT

[encode-utf8.any.worker.html]
  [two leading chunks should result in two replacement characters]
    expected: FAIL

  [characters in the ISO-8859-1 range should be encoded correctly]
    expected: FAIL

  [a terminal unpaired trailing surrogate should immediately be replaced]
    expected: FAIL

  [a character split between chunks should be correctly encoded]
    expected: FAIL

  [an empty string should result in no output chunk]
    expected: FAIL

  [an unmatched surrogate at the end of a chunk followed by an ascii character in the next chunk should be replaced with the replacement character at the start of the next output chunk]
    expected: FAIL

  [a leading empty chunk should be ignored]
    expected: FAIL

  [encoding one string of UTF-8 should give one complete chunk]
    expected: FAIL

  [a leading surrogate chunk should be carried past empty chunks]
    expected: FAIL

  [a leading surrogate chunk should error when it is clear it didn't form a pair]
    expected: FAIL

  [a trailing empty chunk should be ignored]
    expected: FAIL

  [a plain ASCII chunk should be converted]
    expected: FAIL

  [a character following one split between chunks should be correctly encoded]
    expected: FAIL

  [an unmatched surrogate at the end of a chunk followed by a plane 1 character split into two chunks should result in the encoded plane 1 character appearing in the last output chunk]
    expected: FAIL

  [an unmatched surrogate at the end of a chunk followed by an astral character in the next chunk should be replaced with the replacement character at the start of the next output chunk]
    expected: FAIL

  [two consecutive astral characters each split down the middle should be correctly reassembled]
    expected: FAIL

  [a non-terminal unpaired leading surrogate should immediately be replaced]
    expected: FAIL

  [two consecutive astral characters each split down the middle with an invalid surrogate in the middle should be correctly encoded]
    expected: FAIL

  [a stream ending in a leading surrogate should emit a replacement character as a final chunk]
    expected: FAIL


[encode-utf8.any.html]
  [two leading chunks should result in two replacement characters]
    expected: FAIL

  [characters in the ISO-8859-1 range should be encoded correctly]
    expected: FAIL

  [a terminal unpaired trailing surrogate should immediately be replaced]
    expected: FAIL

  [a character split between chunks should be correctly encoded]
    expected: FAIL

  [an empty string should result in no output chunk]
    expected: FAIL

  [an unmatched surrogate at the end of a chunk followed by an ascii character in the next chunk should be replaced with the replacement character at the start of the next output chunk]
    expected: FAIL

  [a leading empty chunk should be ignored]
    expected: FAIL

  [encoding one string of UTF-8 should give one complete chunk]
    expected: FAIL

  [a leading surrogate chunk should be carried past empty chunks]
    expected: FAIL

  [a leading surrogate chunk should error when it is clear it didn't form a pair]
    expected: FAIL

  [a trailing empty chunk should be ignored]
    expected: FAIL

  [a plain ASCII chunk should be converted]
    expected: FAIL

  [a character following one split between chunks should be correctly encoded]
    expected: FAIL

  [an unmatched surrogate at the end of a chunk followed by a plane 1 character split into two chunks should result in the encoded plane 1 character appearing in the last output chunk]
    expected: FAIL

  [an unmatched surrogate at the end of a chunk followed by an astral character in the next chunk should be replaced with the replacement character at the start of the next output chunk]
    expected: FAIL

  [two consecutive astral characters each split down the middle should be correctly reassembled]
    expected: FAIL

  [a non-terminal unpaired leading surrogate should immediately be replaced]
    expected: FAIL

  [two consecutive astral characters each split down the middle with an invalid surrogate in the middle should be correctly encoded]
    expected: FAIL

  [a stream ending in a leading surrogate should emit a replacement character as a final chunk]
    expected: FAIL


[encode-utf8.any.sharedworker.html]
  [two leading chunks should result in two replacement characters]
    expected: FAIL

  [characters in the ISO-8859-1 range should be encoded correctly]
    expected: FAIL

  [a terminal unpaired trailing surrogate should immediately be replaced]
    expected: FAIL

  [a character split between chunks should be correctly encoded]
    expected: FAIL

  [an empty string should result in no output chunk]
    expected: FAIL

  [an unmatched surrogate at the end of a chunk followed by an ascii character in the next chunk should be replaced with the replacement character at the start of the next output chunk]
    expected: FAIL

  [a leading empty chunk should be ignored]
    expected: FAIL

  [encoding one string of UTF-8 should give one complete chunk]
    expected: FAIL

  [a leading surrogate chunk should be carried past empty chunks]
    expected: FAIL

  [a leading surrogate chunk should error when it is clear it didn't form a pair]
    expected: FAIL

  [a trailing empty chunk should be ignored]
    expected: FAIL

  [a plain ASCII chunk should be converted]
    expected: FAIL

  [a character following one split between chunks should be correctly encoded]
    expected: FAIL

  [an unmatched surrogate at the end of a chunk followed by a plane 1 character split into two chunks should result in the encoded plane 1 character appearing in the last output chunk]
    expected: FAIL

  [an unmatched surrogate at the end of a chunk followed by an astral character in the next chunk should be replaced with the replacement character at the start of the next output chunk]
    expected: FAIL

  [two consecutive astral characters each split down the middle should be correctly reassembled]
    expected: FAIL

  [a non-terminal unpaired leading surrogate should immediately be replaced]
    expected: FAIL

  [two consecutive astral characters each split down the middle with an invalid surrogate in the middle should be correctly encoded]
    expected: FAIL

  [a stream ending in a leading surrogate should emit a replacement character as a final chunk]
    expected: FAIL


[encode-utf8.any.serviceworker.html]
  [two leading chunks should result in two replacement characters]
    expected: FAIL

  [characters in the ISO-8859-1 range should be encoded correctly]
    expected: FAIL

  [a terminal unpaired trailing surrogate should immediately be replaced]
    expected: FAIL

  [a character split between chunks should be correctly encoded]
    expected: FAIL

  [an empty string should result in no output chunk]
    expected: FAIL

  [an unmatched surrogate at the end of a chunk followed by an ascii character in the next chunk should be replaced with the replacement character at the start of the next output chunk]
    expected: FAIL

  [a leading empty chunk should be ignored]
    expected: FAIL

  [encoding one string of UTF-8 should give one complete chunk]
    expected: FAIL

  [a leading surrogate chunk should be carried past empty chunks]
    expected: FAIL

  [a leading surrogate chunk should error when it is clear it didn't form a pair]
    expected: FAIL

  [a trailing empty chunk should be ignored]
    expected: FAIL

  [a plain ASCII chunk should be converted]
    expected: FAIL

  [a character following one split between chunks should be correctly encoded]
    expected: FAIL

  [an unmatched surrogate at the end of a chunk followed by a plane 1 character split into two chunks should result in the encoded plane 1 character appearing in the last output chunk]
    expected: FAIL

  [an unmatched surrogate at the end of a chunk followed by an astral character in the next chunk should be replaced with the replacement character at the start of the next output chunk]
    expected: FAIL

  [two consecutive astral characters each split down the middle should be correctly reassembled]
    expected: FAIL

  [a non-terminal unpaired leading surrogate should immediately be replaced]
    expected: FAIL

  [two consecutive astral characters each split down the middle with an invalid surrogate in the middle should be correctly encoded]
    expected: FAIL

  [a stream ending in a leading surrogate should emit a replacement character as a final chunk]
    expected: FAIL

