summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjianli@chromium.org <jianli@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2010-10-19 23:02:14 +0000
committerjianli@chromium.org <jianli@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2010-10-19 23:02:14 +0000
commit16df13763ab640288eacbe5d02529f422388da28 (patch)
tree43aa6eb687b9447d78e2b7e265df6d8a4b5279e4
parentecfc9026736c5f15572df701600515bbcd2f2ba5 (diff)
downloadchromium_src-16df13763ab640288eacbe5d02529f422388da28.zip
chromium_src-16df13763ab640288eacbe5d02529f422388da28.tar.gz
chromium_src-16df13763ab640288eacbe5d02529f422388da28.tar.bz2
Rename createBlobURL to createObjectURL and revokeBlobURL to
revokeObjectURL per the latest File API spec. https://bugs.webkit.org/show_bug.cgi?id=47934 Reviewed by Darin Fisher. WebCore: * inspector/front-end/ResourcesPanel.js: (WebInspector.ResourcesPanel.prototype._contextMenu): * inspector/front-end/utilities.js: * page/DOMWindow.cpp: (WebCore::DOMWindow::createObjectURL): (WebCore::DOMWindow::revokeObjectURL): * page/DOMWindow.h: * page/DOMWindow.idl: * workers/WorkerContext.cpp: (WebCore::WorkerContext::createObjectURL): (WebCore::WorkerContext::revokeObjectURL): * workers/WorkerContext.h: * workers/WorkerContext.idl: LayoutTests: Update all the related test and result files to account for the renaming changes. * fast/dom/Window/script-tests/window-property-descriptors.js: * fast/dom/Window/window-properties-expected.txt: * fast/dom/Window/window-properties.html: * fast/dom/script-tests/prototype-inheritance.js: * fast/files/apply-blob-url-to-img.html: * fast/files/apply-blob-url-to-xhr.html: * fast/files/create-blob-url-crash-expected.txt: * fast/files/create-blob-url-crash.html: * fast/files/revoke-blob-url-expected.txt: * fast/files/revoke-blob-url.html: * fast/files/workers/resources/worker-apply-blob-url-to-xhr.js: git-svn-id: svn://svn.chromium.org/blink/trunk@70102 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-rw-r--r--third_party/WebKit/LayoutTests/ChangeLog23
-rw-r--r--third_party/WebKit/LayoutTests/fast/dom/Window/script-tests/window-property-descriptors.js2
-rw-r--r--third_party/WebKit/LayoutTests/fast/dom/Window/window-properties-expected.txt4
-rw-r--r--third_party/WebKit/LayoutTests/fast/dom/Window/window-properties.html4
-rw-r--r--third_party/WebKit/LayoutTests/fast/dom/script-tests/prototype-inheritance.js2
-rw-r--r--third_party/WebKit/LayoutTests/fast/files/apply-blob-url-to-img.html2
-rw-r--r--third_party/WebKit/LayoutTests/fast/files/apply-blob-url-to-xhr.html4
-rw-r--r--third_party/WebKit/LayoutTests/fast/files/create-blob-url-crash-expected.txt2
-rw-r--r--third_party/WebKit/LayoutTests/fast/files/create-blob-url-crash.html4
-rw-r--r--third_party/WebKit/LayoutTests/fast/files/revoke-blob-url-expected.txt8
-rw-r--r--third_party/WebKit/LayoutTests/fast/files/revoke-blob-url.html16
-rw-r--r--third_party/WebKit/LayoutTests/fast/files/workers/resources/worker-apply-blob-url-to-xhr.js4
-rw-r--r--third_party/WebKit/WebCore/ChangeLog22
-rw-r--r--third_party/WebKit/WebCore/inspector/front-end/ResourcesPanel.js4
-rw-r--r--third_party/WebKit/WebCore/inspector/front-end/utilities.js2
-rw-r--r--third_party/WebKit/WebCore/page/DOMWindow.cpp4
-rw-r--r--third_party/WebKit/WebCore/page/DOMWindow.h4
-rw-r--r--third_party/WebKit/WebCore/page/DOMWindow.idl4
-rw-r--r--third_party/WebKit/WebCore/workers/WorkerContext.cpp4
-rw-r--r--third_party/WebKit/WebCore/workers/WorkerContext.h4
-rw-r--r--third_party/WebKit/WebCore/workers/WorkerContext.idl4
21 files changed, 86 insertions, 41 deletions
diff --git a/third_party/WebKit/LayoutTests/ChangeLog b/third_party/WebKit/LayoutTests/ChangeLog
index 31d85cb..b85e8e6 100644
--- a/third_party/WebKit/LayoutTests/ChangeLog
+++ b/third_party/WebKit/LayoutTests/ChangeLog
@@ -1,3 +1,26 @@
+2010-10-19 Jian Li <jianli@chromium.org>
+
+ Reviewed by Darin Fisher.
+
+ Rename createBlobURL to createObjectURL and revokeBlobURL to
+ revokeObjectURL per the latest File API spec.
+ https://bugs.webkit.org/show_bug.cgi?id=47934
+
+ Update all the related test and result files to account for the
+ renaming changes.
+
+ * fast/dom/Window/script-tests/window-property-descriptors.js:
+ * fast/dom/Window/window-properties-expected.txt:
+ * fast/dom/Window/window-properties.html:
+ * fast/dom/script-tests/prototype-inheritance.js:
+ * fast/files/apply-blob-url-to-img.html:
+ * fast/files/apply-blob-url-to-xhr.html:
+ * fast/files/create-blob-url-crash-expected.txt:
+ * fast/files/create-blob-url-crash.html:
+ * fast/files/revoke-blob-url-expected.txt:
+ * fast/files/revoke-blob-url.html:
+ * fast/files/workers/resources/worker-apply-blob-url-to-xhr.js:
+
2010-10-19 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Nate Chapin.
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/script-tests/window-property-descriptors.js b/third_party/WebKit/LayoutTests/fast/dom/Window/script-tests/window-property-descriptors.js
index 42b09dc..141b608 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Window/script-tests/window-property-descriptors.js
+++ b/third_party/WebKit/LayoutTests/fast/dom/Window/script-tests/window-property-descriptors.js
@@ -58,7 +58,7 @@ protoPropertyNames.sort();
for (var i = 0; i < protoPropertyNames.length; ++i) {
// Ignore these properties because they do not exist in all implementations.
- if (protoPropertyNames[i] == "createBlobURL" || protoPropertyNames[i] == "revokeBlobURL")
+ if (protoPropertyNames[i] == "createObjectURL" || protoPropertyNames[i] == "revokeObjectURL")
continue;
if (protoPropertyNames[i] == "constructor")
continue;
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/window-properties-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/Window/window-properties-expected.txt
index 96d69d4..8d4a40d 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Window/window-properties-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/dom/Window/window-properties-expected.txt
@@ -2204,7 +2204,7 @@ window.constructor.prototype.clearInterval [function]
window.constructor.prototype.clearTimeout [function]
window.constructor.prototype.close [function]
window.constructor.prototype.confirm [function]
-window.constructor.prototype.createBlobURL [function]
+window.constructor.prototype.createObjectURL [function]
window.constructor.prototype.dispatchEvent [function]
window.constructor.prototype.find [function]
window.constructor.prototype.focus [function]
@@ -2222,7 +2222,7 @@ window.constructor.prototype.releaseEvents [function]
window.constructor.prototype.removeEventListener [function]
window.constructor.prototype.resizeBy [function]
window.constructor.prototype.resizeTo [function]
-window.constructor.prototype.revokeBlobURL [function]
+window.constructor.prototype.revokeObjectURL [function]
window.constructor.prototype.scroll [function]
window.constructor.prototype.scrollBy [function]
window.constructor.prototype.scrollTo [function]
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/window-properties.html b/third_party/WebKit/LayoutTests/fast/dom/Window/window-properties.html
index 24ea0c8..d597482 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Window/window-properties.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/Window/window-properties.html
@@ -80,8 +80,8 @@ var __skip__ = {
"window.DeviceMotionEvent" : 1,
"window.ondevicemotion" : 1,
"window.webkitPerformance" : 1,
- "window.createBlobURL" : 1,
- "window.revokeBlobURL" : 1,
+ "window.createObjectURL" : 1,
+ "window.revokeObjectURL" : 1,
// showModalDialog is not implemented on all platforms in DumpRenderTree.
"window.showModalDialog" : 1,
diff --git a/third_party/WebKit/LayoutTests/fast/dom/script-tests/prototype-inheritance.js b/third_party/WebKit/LayoutTests/fast/dom/script-tests/prototype-inheritance.js
index 2a7c624..88f2793 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/script-tests/prototype-inheritance.js
+++ b/third_party/WebKit/LayoutTests/fast/dom/script-tests/prototype-inheritance.js
@@ -21,7 +21,7 @@ var skippedProperties = [
"FileError", "FileReader", "requestFileSystem",
"indexedDB", "IDBKeyRange", "IDBCursor", "IDBDatabase", "IDBDatabaseError", "IDBDatabaseException", "IDBErrorEvent", "IDBEvent", "IDBFactory", "IDBIndex", "IDBObjectStore", "IDBRequest", "IDBSuccessEvent", "IDBTransaction",
"showModalDialog",
- "createBlobURL", "revokeBlobURL",
+ "createObjectURL", "revokeObjectURL",
"DeviceOrientationEvent",
"DeviceMotionEvent",
"TEMPORARY", "PERSISTENT",
diff --git a/third_party/WebKit/LayoutTests/fast/files/apply-blob-url-to-img.html b/third_party/WebKit/LayoutTests/fast/files/apply-blob-url-to-img.html
index e1edaee..e3c0892 100644
--- a/third_party/WebKit/LayoutTests/fast/files/apply-blob-url-to-img.html
+++ b/third_party/WebKit/LayoutTests/fast/files/apply-blob-url-to-img.html
@@ -17,7 +17,7 @@ function onInputFileChange()
var img = document.getElementById('imgToReplace');
log("Old image: " + img.width + " x " + img.height);
img.onload = onImgLoad;
- img.src = window.createBlobURL(file);
+ img.src = window.createObjectURL(file);
}
function onImgLoad()
diff --git a/third_party/WebKit/LayoutTests/fast/files/apply-blob-url-to-xhr.html b/third_party/WebKit/LayoutTests/fast/files/apply-blob-url-to-xhr.html
index e163d51..6c94570 100644
--- a/third_party/WebKit/LayoutTests/fast/files/apply-blob-url-to-xhr.html
+++ b/third_party/WebKit/LayoutTests/fast/files/apply-blob-url-to-xhr.html
@@ -26,7 +26,7 @@ function sendXMLHttpRequest(method, url)
function onInputFileChange()
{
var file = document.getElementById("file").files[0];
- var fileURL = window.createBlobURL(file);
+ var fileURL = window.createObjectURL(file);
log("Test that XMLHttpRequest GET succeeds.");
sendXMLHttpRequest("GET", fileURL);
@@ -35,7 +35,7 @@ function onInputFileChange()
sendXMLHttpRequest("POST", fileURL);
log("Test that XMLHttpRequest GET fails after the blob URL is revoked.");
- window.revokeBlobURL(fileURL);
+ window.revokeObjectURL(fileURL);
sendXMLHttpRequest("GET", fileURL);
log("DONE");
diff --git a/third_party/WebKit/LayoutTests/fast/files/create-blob-url-crash-expected.txt b/third_party/WebKit/LayoutTests/fast/files/create-blob-url-crash-expected.txt
index 2b5356a..36081fa 100644
--- a/third_party/WebKit/LayoutTests/fast/files/create-blob-url-crash-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/files/create-blob-url-crash-expected.txt
@@ -1,4 +1,4 @@
-Test that createBlobURL with no argument should not cause crash.
+Test that createObjectURL with no argument should not cause crash.
PASS
DONE
diff --git a/third_party/WebKit/LayoutTests/fast/files/create-blob-url-crash.html b/third_party/WebKit/LayoutTests/fast/files/create-blob-url-crash.html
index 7b66221..51aefad 100644
--- a/third_party/WebKit/LayoutTests/fast/files/create-blob-url-crash.html
+++ b/third_party/WebKit/LayoutTests/fast/files/create-blob-url-crash.html
@@ -9,8 +9,8 @@ function log(message)
function test()
{
- log("Test that createBlobURL with no argument should not cause crash.");
- var url = createBlobURL();
+ log("Test that createObjectURL with no argument should not cause crash.");
+ var url = createObjectURL();
log(url == undefined ? "PASS" : "FAIL");
log("DONE");
diff --git a/third_party/WebKit/LayoutTests/fast/files/revoke-blob-url-expected.txt b/third_party/WebKit/LayoutTests/fast/files/revoke-blob-url-expected.txt
index 5c26191..efad151 100644
--- a/third_party/WebKit/LayoutTests/fast/files/revoke-blob-url-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/files/revoke-blob-url-expected.txt
@@ -1,10 +1,10 @@
-Test calling revokeBlobURL with no argument.
+Test calling revokeObjectURL with no argument.
PASS
-Test calling revokeBlobURL with empty URL.
+Test calling revokeObjectURL with empty URL.
PASS
-Test calling revokeBlobURL with invalid URL.
+Test calling revokeObjectURL with invalid URL.
PASS
-Test calling revokeBlobURL with non-existent URL.
+Test calling revokeObjectURL with non-existent URL.
PASS
DONE
diff --git a/third_party/WebKit/LayoutTests/fast/files/revoke-blob-url.html b/third_party/WebKit/LayoutTests/fast/files/revoke-blob-url.html
index 16acb5c..7716ad7 100644
--- a/third_party/WebKit/LayoutTests/fast/files/revoke-blob-url.html
+++ b/third_party/WebKit/LayoutTests/fast/files/revoke-blob-url.html
@@ -9,20 +9,20 @@ function log(message)
function test()
{
- log("Test calling revokeBlobURL with no argument.");
- var url = revokeBlobURL();
+ log("Test calling revokeObjectURL with no argument.");
+ var url = revokeObjectURL();
log(url == undefined ? "PASS" : "FAIL");
- log("Test calling revokeBlobURL with empty URL.");
- revokeBlobURL("");
+ log("Test calling revokeObjectURL with empty URL.");
+ revokeObjectURL("");
log("PASS");
- log("Test calling revokeBlobURL with invalid URL.");
- revokeBlobURL("[foo bar]");
+ log("Test calling revokeObjectURL with invalid URL.");
+ revokeObjectURL("[foo bar]");
log("PASS");
- log("Test calling revokeBlobURL with non-existent URL.");
- revokeBlobURL("blob:non-existent");
+ log("Test calling revokeObjectURL with non-existent URL.");
+ revokeObjectURL("blob:non-existent");
log("PASS");
log("DONE");
diff --git a/third_party/WebKit/LayoutTests/fast/files/workers/resources/worker-apply-blob-url-to-xhr.js b/third_party/WebKit/LayoutTests/fast/files/workers/resources/worker-apply-blob-url-to-xhr.js
index 62904e5..cdcd0cf 100644
--- a/third_party/WebKit/LayoutTests/fast/files/workers/resources/worker-apply-blob-url-to-xhr.js
+++ b/third_party/WebKit/LayoutTests/fast/files/workers/resources/worker-apply-blob-url-to-xhr.js
@@ -19,7 +19,7 @@ function sendXMLHttpRequest(method, url)
onmessage = function(event)
{
var file = event.data;
- var fileURL = createBlobURL(file);
+ var fileURL = createObjectURL(file);
log("Test that XMLHttpRequest GET succeeds.");
sendXMLHttpRequest("GET", fileURL);
@@ -29,7 +29,7 @@ onmessage = function(event)
sendXMLHttpRequest("POST", fileURL);
log("Test that XMLHttpRequest GET fails after the blob URL is revoked.");
- revokeBlobURL(fileURL);
+ revokeObjectURL(fileURL);
sendXMLHttpRequest("GET", fileURL);
log("DONE");
diff --git a/third_party/WebKit/WebCore/ChangeLog b/third_party/WebKit/WebCore/ChangeLog
index 38c48b7..76209a9 100644
--- a/third_party/WebKit/WebCore/ChangeLog
+++ b/third_party/WebKit/WebCore/ChangeLog
@@ -1,3 +1,25 @@
+2010-10-19 Jian Li <jianli@chromium.org>
+
+ Reviewed by Darin Fisher.
+
+ Rename createBlobURL to createObjectURL and revokeBlobURL to
+ revokeObjectURL per the latest File API spec.
+ https://bugs.webkit.org/show_bug.cgi?id=47934
+
+ * inspector/front-end/ResourcesPanel.js:
+ (WebInspector.ResourcesPanel.prototype._contextMenu):
+ * inspector/front-end/utilities.js:
+ * page/DOMWindow.cpp:
+ (WebCore::DOMWindow::createObjectURL):
+ (WebCore::DOMWindow::revokeObjectURL):
+ * page/DOMWindow.h:
+ * page/DOMWindow.idl:
+ * workers/WorkerContext.cpp:
+ (WebCore::WorkerContext::createObjectURL):
+ (WebCore::WorkerContext::revokeObjectURL):
+ * workers/WorkerContext.h:
+ * workers/WorkerContext.idl:
+
2010-10-19 Alexey Proskuryakov <ap@apple.com>
Reviewed by Anders Carlsson.
diff --git a/third_party/WebKit/WebCore/inspector/front-end/ResourcesPanel.js b/third_party/WebKit/WebCore/inspector/front-end/ResourcesPanel.js
index 4cebf06..ae67bef 100644
--- a/third_party/WebKit/WebCore/inspector/front-end/ResourcesPanel.js
+++ b/third_party/WebKit/WebCore/inspector/front-end/ResourcesPanel.js
@@ -1274,8 +1274,8 @@ WebInspector.ResourcesPanel.prototype = {
resource = resourceTreeItem.treeElement.representedObject;
var needSeparator = false;
- // createBlobURL is enabled conditionally, do not expose resource export if it's not available.
- if (typeof window.createBlobURL === "function" && Preferences.resourceExportEnabled) {
+ // createObjectURL is enabled conditionally, do not expose resource export if it's not available.
+ if (typeof window.createObjectURL === "function" && Preferences.resourceExportEnabled) {
if (resource)
contextMenu.appendItem(WebInspector.UIString("Export to HAR"), this._exportResource.bind(this, resource));
contextMenu.appendItem(WebInspector.UIString("Export all to HAR"), this._exportAll.bind(this));
diff --git a/third_party/WebKit/WebCore/inspector/front-end/utilities.js b/third_party/WebKit/WebCore/inspector/front-end/utilities.js
index 7f0ee5e..3aff6bb 100644
--- a/third_party/WebKit/WebCore/inspector/front-end/utilities.js
+++ b/third_party/WebKit/WebCore/inspector/front-end/utilities.js
@@ -997,6 +997,6 @@ function offerFileForDownload(contents)
var builder = new BlobBuilder();
builder.append(contents);
var blob = builder.getBlob("application/octet-stream");
- var url = window.createBlobURL(blob);
+ var url = window.createObjectURL(blob);
window.open(url);
}
diff --git a/third_party/WebKit/WebCore/page/DOMWindow.cpp b/third_party/WebKit/WebCore/page/DOMWindow.cpp
index 9d6c610..d756cce 100644
--- a/third_party/WebKit/WebCore/page/DOMWindow.cpp
+++ b/third_party/WebKit/WebCore/page/DOMWindow.cpp
@@ -1576,12 +1576,12 @@ EventTargetData* DOMWindow::ensureEventTargetData()
}
#if ENABLE(BLOB)
-String DOMWindow::createBlobURL(Blob* blob)
+String DOMWindow::createObjectURL(Blob* blob)
{
return scriptExecutionContext()->createPublicBlobURL(blob).string();
}
-void DOMWindow::revokeBlobURL(const String& blobURLString)
+void DOMWindow::revokeObjectURL(const String& blobURLString)
{
scriptExecutionContext()->revokePublicBlobURL(KURL(KURL(), blobURLString));
}
diff --git a/third_party/WebKit/WebCore/page/DOMWindow.h b/third_party/WebKit/WebCore/page/DOMWindow.h
index e958b38..2156791 100644
--- a/third_party/WebKit/WebCore/page/DOMWindow.h
+++ b/third_party/WebKit/WebCore/page/DOMWindow.h
@@ -392,8 +392,8 @@ namespace WebCore {
DOMApplicationCache* optionalApplicationCache() const { return m_applicationCache.get(); }
#endif
#if ENABLE(BLOB)
- String createBlobURL(Blob*);
- void revokeBlobURL(const String&);
+ String createObjectURL(Blob*);
+ void revokeObjectURL(const String&);
#endif
using RefCounted<DOMWindow>::ref;
diff --git a/third_party/WebKit/WebCore/page/DOMWindow.idl b/third_party/WebKit/WebCore/page/DOMWindow.idl
index 0e83556..0ae1069 100644
--- a/third_party/WebKit/WebCore/page/DOMWindow.idl
+++ b/third_party/WebKit/WebCore/page/DOMWindow.idl
@@ -763,8 +763,8 @@ module window {
attribute [Conditional=BLOB] BlobBuilderConstructor BlobBuilder;
#if defined(ENABLE_BLOB) && ENABLE_BLOB
- [ConvertNullStringTo=Undefined] DOMString createBlobURL(in Blob blob);
- void revokeBlobURL(in DOMString blobURL);
+ [ConvertNullStringTo=Undefined] DOMString createObjectURL(in Blob blob);
+ void revokeObjectURL(in DOMString blobURL);
#endif
#endif // defined(LANGUAGE_JAVASCRIPT)
diff --git a/third_party/WebKit/WebCore/workers/WorkerContext.cpp b/third_party/WebKit/WebCore/workers/WorkerContext.cpp
index 478b360..a535191 100644
--- a/third_party/WebKit/WebCore/workers/WorkerContext.cpp
+++ b/third_party/WebKit/WebCore/workers/WorkerContext.cpp
@@ -340,12 +340,12 @@ EventTargetData* WorkerContext::ensureEventTargetData()
}
#if ENABLE(BLOB)
-String WorkerContext::createBlobURL(Blob* blob)
+String WorkerContext::createObjectURL(Blob* blob)
{
return scriptExecutionContext()->createPublicBlobURL(blob).string();
}
-void WorkerContext::revokeBlobURL(const String& blobURLString)
+void WorkerContext::revokeObjectURL(const String& blobURLString)
{
scriptExecutionContext()->revokePublicBlobURL(KURL(ParsedURLString, blobURLString));
}
diff --git a/third_party/WebKit/WebCore/workers/WorkerContext.h b/third_party/WebKit/WebCore/workers/WorkerContext.h
index 08804d2..5d15d94 100644
--- a/third_party/WebKit/WebCore/workers/WorkerContext.h
+++ b/third_party/WebKit/WebCore/workers/WorkerContext.h
@@ -121,8 +121,8 @@ namespace WebCore {
virtual bool isJSExecutionTerminated() const;
#if ENABLE(BLOB)
- String createBlobURL(Blob*);
- void revokeBlobURL(const String&);
+ String createObjectURL(Blob*);
+ void revokeObjectURL(const String&);
#endif
#if ENABLE(FILE_SYSTEM)
diff --git a/third_party/WebKit/WebCore/workers/WorkerContext.idl b/third_party/WebKit/WebCore/workers/WorkerContext.idl
index 9db4da0..45ac5b1 100644
--- a/third_party/WebKit/WebCore/workers/WorkerContext.idl
+++ b/third_party/WebKit/WebCore/workers/WorkerContext.idl
@@ -101,8 +101,8 @@ module threads {
attribute BlobBuilderConstructor BlobBuilder;
attribute FileReaderConstructor FileReader;
attribute FileReaderSyncConstructor FileReaderSync;
- DOMString createBlobURL(in Blob blob);
- void revokeBlobURL(in DOMString blobURL);
+ DOMString createObjectURL(in Blob blob);
+ void revokeObjectURL(in DOMString blobURL);
#endif
#if defined(ENABLE_FILE_SYSTEM) && ENABLE_FILE_SYSTEM