From 61df0b90ef19a3c52daf3feada24db3ba28346ff Mon Sep 17 00:00:00 2001 From: Victor Costan Date: Mon, 18 Jun 2018 19:08:36 -0700 Subject: [PATCH] File API: Match Firefox on readAsDataURL default MIME type. In Firefox, File.readAsDataURL's default MIME type is to application/octet-stream. Chrome currently leaves the MIME type out when it is unknown. While this meets all relevant specifications, matching Firefox's behavior makes the platform easier to reason about. Bug: 48368 Change-Id: If480df5cc3a1177a58c7c3dc68c57f3d6408b9eb Reviewed-on: https://chromium-review.googlesource.com/1104183 Commit-Queue: Victor Costan Reviewed-by: Marijn Kruisselbrink Cr-Commit-Position: refs/heads/master@{#568292} --- .../filereader_readAsDataURL.html | 90 +++++++++++-------- 1 file changed, 51 insertions(+), 39 deletions(-) diff --git a/FileAPI/reading-data-section/filereader_readAsDataURL.html b/FileAPI/reading-data-section/filereader_readAsDataURL.html index f0a3957e7606b7..5bc39499a229d1 100644 --- a/FileAPI/reading-data-section/filereader_readAsDataURL.html +++ b/FileAPI/reading-data-section/filereader_readAsDataURL.html @@ -1,39 +1,51 @@ - - - - - FileAPI Test: filereader_readAsDataURL - - - - - - -
- - - - + + +FileAPI Test: FileReader.readAsDataURL + + + + + + \ No newline at end of file