goog.testing.fs.Blob
Classgoog.testing.fs.Blob(opt_data, opt_type)
A mock Blob object. The data is stored as a string.
opt_data
{string
=}
opt_type
{string
=}
.setDataInternal(data)
Sets the internal contents of the blob. This should only be called by other functions inside the {@code goog.testing.fs} namespace.
data
{string
}
.size
{number
}.slice(start, length, opt_contentType)
start
{number
}
length
{number
}
opt_contentType
{string
=}
goog.testing.fs.Blob
}
.toArrayBuffer()
ArrayBuffer
}
.toDataUrl()
string
}
.toString()
string
}
.type
{string
}