Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(815)

Unified Diff: Source/core/fileapi/Blob.idl

Issue 1153543012: Sync the File API interfaces with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/fileapi/BlobPropertyBag.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fileapi/Blob.idl
diff --git a/Source/core/fileapi/Blob.idl b/Source/core/fileapi/Blob.idl
index 0f3230fa9d38fa04139acf0cb759abcd278bf88d..4abe9ed0ebb6662aa29a30c099dcd05e3c942ab9 100644
--- a/Source/core/fileapi/Blob.idl
+++ b/Source/core/fileapi/Blob.idl
@@ -28,7 +28,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-// http://dev.w3.org/2006/webapi/FileAPI/#dfn-Blob
+// https://w3c.github.io/FileAPI/#blob
+
[
GarbageCollected,
Constructor,
@@ -42,6 +43,7 @@
// readonly attribute boolean isClosed;
// TODO(jsbell): start and end arguments should be [Clamp]
+ // TODO(philipj): contentType should not be optional or nullable.
[RaisesException] Blob slice(optional long long start, optional long long end, [TreatUndefinedAs=NullString] optional DOMString? contentType);
[RaisesException, CallWith=ExecutionContext, RuntimeEnabled=FileAPIBlobClose] void close();
};
« no previous file with comments | « no previous file | Source/core/fileapi/BlobPropertyBag.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698