<script type="text/javascript">
/**
* Test that structured cloning a Blob results in distinct backing files when
* stored in IndexedDB.
*
* Currently, IndexedDB deduplicates blobs based on Blob object identity.
* Structured cloning creates a new Blob instance with a different identity,
* so the two blobs are treated as distinct and stored separately on disk.
*
* This test verifies that behavior by ensuring the cloned Blob receives a
* different fileId.
*
* TODO: Once IndexedDB switches to using BlobImpl for deduplication,
* structured-cloned blobs that share the same underlying data should be
* deduplicated and mapped to the same fileId.
*/
async function testSteps()
{
const name = window.location.pathname;
¤ 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.0.3Bemerkung:
¤
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 und die Messung sind noch experimentell.