RESOLVED FIXED 207016
[GTK] http/tests/misc/form-submit-file-cross-site-redirect.html fails with incomplete form data
https://bugs.webkit.org/show_bug.cgi?id=207016
Summary [GTK] http/tests/misc/form-submit-file-cross-site-redirect.html fails with in...
Lauro Moura
Reported 2020-01-30 13:55:57 PST
With b206517 fixed, this test submits the test file metadata correctly (like the non-redirect version) but no payload is sent. --- /home/lauro/dev/WebKit/layout-test-results/http/tests/misc/form-submit-file-cross-site-redirect-expected.txt +++ /home/lauro/dev/WebKit/layout-test-results/http/tests/misc/form-submit-file-cross-site-redirect-actual.txt @@ -2,6 +2,6 @@ This tests verifies the test file included in the multipart form data: PASS: File is present PASS: File upload was successful -PASS: File size is greater than 0 +FAIL: File size is 0 Payload with `var_dump($_FILES['data']);` in the PHP script: ``` array(5) { ["name"]=> string(8) "test.tmp" ["type"]=> string(24) "application/octet-stream" ["tmp_name"]=> string(14) "/tmp/php0dQ3qM" ["error"]=> int(0) ["size"]=> int(0) } ``` Using the original test from Julio in b201950[1] with Minibrowser it seems to work normally. [1] https://redirection-experiment.herokuapp.com/
Attachments
Patch (1.52 KB, patch)
2020-02-14 12:29 PST, Lauro Moura
no flags
Carlos Alberto Lopez Perez
Comment 1 2020-02-03 09:10:30 PST
(In reply to Lauro Moura from comment #0) > With b206517 fixed tips: - instead of " b206517 " use format: " bug 206517 " so bugzilla makes automatic links - if the bug its related to GTK or WPE releated, always CC the virtual user bugs-noreply@webkitgtk.org
Lauro Moura
Comment 2 2020-02-14 12:29:51 PST
WebKit Commit Bot
Comment 3 2020-02-14 13:26:57 PST
The commit-queue encountered the following flaky tests while processing attachment 390796 [details]: editing/spelling/spellcheck-async-remove-frame.html bug 158401 (authors: morrita@google.com, rniwa@webkit.org, and tony@chromium.org) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 4 2020-02-14 13:27:38 PST
Comment on attachment 390796 [details] Patch Clearing flags on attachment: 390796 Committed r256638: <https://trac.webkit.org/changeset/256638>
WebKit Commit Bot
Comment 5 2020-02-14 13:27:39 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6 2020-02-14 13:28:16 PST
Note You need to log in before you can comment on or make changes to this bug.