* public/v3/components/instant-file-uploader.js:
(InstantFileUploader.prototype._uploadFiles):
* public/v3/models/uploaded-file.js:
(UploadedFile.fetchUploadedFileWithIdenticalHash): Renamed from fetchUnloadedFileWithIdenticalHash.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@219112
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
2017-07-03 Ryosuke Niwa <rniwa@webkit.org>
+ Fix a typo pointed out by Andreas Kling.
+
+ * public/v3/components/instant-file-uploader.js:
+ (InstantFileUploader.prototype._uploadFiles):
+ * public/v3/models/uploaded-file.js:
+ (UploadedFile.fetchUploadedFileWithIdenticalHash): Renamed from fetchUnloadedFileWithIdenticalHash.
+
+2017-07-03 Ryosuke Niwa <rniwa@webkit.org>
+
Add an admin page to manage uploaded files
https://bugs.webkit.org/show_bug.cgi?id=174089
const uploadProgress = this._uploadProgress;
for (let file of files) {
- UploadedFile.fetchUnloadedFileWithIdenticalHash(file).then((uploadedFile) => {
+ UploadedFile.fetchUploadedFileWithIdenticalHash(file).then((uploadedFile) => {
if (uploadedFile) {
this._didUploadFile(file, uploadedFile);
return;
});
}
- static fetchUnloadedFileWithIdenticalHash(file)
+ static fetchUploadedFileWithIdenticalHash(file)
{
if (file.size > UploadedFile.fileUploadSizeLimit)
return Promise.reject('FileSizeLimitExceeded');