Index: content/test/data/indexeddb/write_20mb_blob.html |
diff --git a/content/test/data/indexeddb/write_20mb_blob.html b/content/test/data/indexeddb/write_20mb_blob.html |
deleted file mode 100644 |
index 70720d6ea74c3334427d7b3b69e8a2ed0960c007..0000000000000000000000000000000000000000 |
--- a/content/test/data/indexeddb/write_20mb_blob.html |
+++ /dev/null |
@@ -1,48 +0,0 @@ |
-<!DOCTYPE html> |
-<html> |
-<!-- |
- Copyright 2014 The Chromium Authors. All rights reserved. |
- Use of this source code is governed by a BSD-style license that can be |
- found in the LICENSE file. |
---> |
-<head> |
-<title>IDB Test that blobs use space when created and free up space when deleted</title> |
-<script src="common.js"></script> |
-<script> |
- |
-// Constants. |
-var store_name = 'blobs'; |
-var blob_key = 'blob_key'; |
-var blob_size = 20 * 1024 * 1024; // 20MB |
- |
-// Shared variables. |
-var db; |
- |
-function test() { |
- indexedDBTest(prepareDatabase, putBlob); |
-} |
- |
-function prepareDatabase() { |
- db = event.target.result; |
- db.createObjectStore(store_name); |
-} |
- |
-function putBlob() { |
- debug("Writing blob."); |
- |
- var trans = db.transaction(store_name, 'readwrite'); |
- trans.onabort = unexpectedAbortCallback; |
- trans.oncomplete = done; |
- |
- var data = new Array(1 + blob_size).join("X"); |
- var blob = new Blob([data]); |
- var request = trans.objectStore(store_name).put(blob, blob_key); |
- request.onerror = unexpectedErrorCallback; |
-} |
- |
-</script> |
-</head> |
-<body onLoad="test()"> |
- <div id="status">Starting...<br></div> |
-</body> |
-</html> |