Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8ff023c1c88865cbaa402745ba2dd97b675878c9
https://github.com/WebKit/WebKit/commit/8ff023c1c88865cbaa402745ba2dd97b675878c9
Author: Dewei Zhu <[email protected]>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M Websites/perf.webkit.org/public/include/uploaded-file-helpers.php
M Websites/perf.webkit.org/public/v3/components/instant-file-uploader.js
M Websites/perf.webkit.org/server-tests/privileged-api-upload-file-tests.js
Log Message:
-----------
Fix a bug that a pruned file cannot be re-uploaded from UI.
https://bugs.webkit.org/show_bug.cgi?id=276136
rdar://121951370
Reviewed by Ryosuke Niwa.
Fix a bug that a pruned file cannot be re-uploaded from UI.
Change the backend handling for re-uploaded file from creating a new database
entry to reuse existing
database entry. This change has the advantage of avoid creating unnecessary
database entries as well
as enabling retries for existing tasks that use pruned files.
* Websites/perf.webkit.org/public/include/uploaded-file-helpers.php: Change the
logic to reuse database entries
for re-uploaded files instead of creating new ones.
* Websites/perf.webkit.org/public/v3/components/instant-file-uploader.js: Add a
check on whether a file is deleted.
If the file is pruned before, it should be re-uploaded.
(InstantFileUploader.prototype._uploadFiles):
* Websites/perf.webkit.org/server-tests/privileged-api-upload-file-tests.js:
Fix and update a corresponding unit test.
(then):
Canonical link: https://commits.webkit.org/280603@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes