Fix a typo pointed out by Andreas Kling.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Jul 2017 04:08:16 +0000 (04:08 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Jul 2017 04:08:16 +0000 (04:08 +0000)
* public/v3/components/instant-file-uploader.js:
(InstantFileUploader.prototype._uploadFiles):
* public/v3/models/uploaded-file.js:
(UploadedFile.fetchUploadedFileWithIdenticalHash): Renamed from fetchUnloadedFileWithIdenticalHash.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@219112 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Websites/perf.webkit.org/ChangeLog
Websites/perf.webkit.org/public/v3/components/instant-file-uploader.js
Websites/perf.webkit.org/public/v3/models/uploaded-file.js

index 07cc7c9..667e6fa 100644 (file)
@@ -1,5 +1,14 @@
 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
 
index 339099a..21e5a9c 100644 (file)
@@ -162,7 +162,7 @@ class InstantFileUploader extends ComponentBase {
 
         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;
index bea35d3..88b11e8 100644 (file)
@@ -31,7 +31,7 @@ class UploadedFile extends DataModelObject {
         });
     }
 
-    static fetchUnloadedFileWithIdenticalHash(file)
+    static fetchUploadedFileWithIdenticalHash(file)
     {
         if (file.size > UploadedFile.fileUploadSizeLimit)
             return Promise.reject('FileSizeLimitExceeded');