Bug 172376 - ★ Issue 724596 ⚐ Make form.action return the actual form submission URL
Summary: ★ Issue 724596 ⚐ Make form.action return the actual form submission URL
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-19 12:25 PDT by Domenic Denicola
Modified: 2020-06-28 08:04 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Domenic Denicola 2017-05-19 12:25:49 PDT
Tests at http://w3c-test.org/html/semantics/forms/the-form-element/form-action-reflection.html and http://w3c-test.org/html/semantics/forms/the-form-element/form-action-reflection-with-base-url.html

Spec at https://html.spec.whatwg.org/multipage/forms.html#dom-fs-action

Per the separate tests at http://w3c-test.org/html/semantics/forms/the-form-element/form-action-submission.html and http://w3c-test.org/html/semantics/forms/the-form-element/form-action-submission-with-base-url.html, Safari uses the spec's algorithm for determining the actual URL to which the form submits. However, it does not return the correct URL for form.action.

No browser seems to follow the spec here, but they violate it in different ways, so this is probably safe to change.
Comment 1 Rob Buis 2020-06-28 08:04:16 PDT
Theses tests now pass, at least partially due to https://bugs.webkit.org/show_bug.cgi?id=213205 fix.