code: function () {
      try {
        return new TextDecoder().decode(new TextEncoder().encode("test"), {stream: true}) === "test";
      } catch (error) {
        console.log(error);
      }
      return false;
    }
docs: Firefox < 38 throws an error with stream option