Closed Bug 1825745 Opened 1 year ago Closed 10 months ago

Make form submits do a replace load if they happen before document load has ended

Categories

(Core :: DOM: Core & HTML, defect)

defect

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: peterv, Assigned: peterv)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

No description provided.
Pushed by pvanderbeken@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ef7d2e82eb5a
Make form submits do a replace load if they happen before document load has ended. r=smaug

Backed out for causing assertion failure on nsDocShell.cpp

Backout link

Push with failures

Failure log

Flags: needinfo?(peterv)

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:peterv, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit auto_nag documentation.

Flags: needinfo?(smaug)
Flags: needinfo?(peterv)
Flags: needinfo?(smaug)
Flags: needinfo?(peterv)
Pushed by pvanderbeken@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/17472385b962
Make form submits do a replace load if they happen before document load has ended. r=smaug

Backed out for form-submit related wpt failures.

Flags: needinfo?(peterv)

The form submit wpt tests uncovered a different bug, where button.click() doesn't submit, because we don't yet have a prescontext. Flushing causes creation of the prescontext, but Olly is worried about the performance implications. I have attached a wip patch that tries out this approach. Olly, to be clear, this would be about the performance of a button.click() in a document where we haven't constructed the prescontext?

Flags: needinfo?(peterv) → needinfo?(smaug)

Ah, true, maybe it wouldn't be too bad, it would happen only once.

Flags: needinfo?(smaug)
Attachment #9338420 - Attachment description: WIP: Bug 1825745 - Fix intermittent failure of testing/web-platform/tests/html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/form-submit-button-click.html. → Bug 1825745 - Fix intermittent failure of testing/web-platform/tests/html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/form-submit-button-click.html. r?smaug!
Pushed by pvanderbeken@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2ce4ceb5a39d
Make form submits do a replace load if they happen before document load has ended. r=smaug
https://hg.mozilla.org/integration/autoland/rev/eb77df0ccca6
Fix intermittent failure of testing/web-platform/tests/html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/form-submit-button-click.html. r=smaug
Pushed by pvanderbeken@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ecff353e8d46
Make form submits do a replace load if they happen before document load has ended. r=smaug
https://hg.mozilla.org/integration/autoland/rev/76d329038df4
Fix intermittent failure of testing/web-platform/tests/html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/form-submit-button-click.html. r=smaug
https://hg.mozilla.org/integration/autoland/rev/9a98c67180c5
Fix intermittent failure of testing/web-platform/tests/html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/form-requestsubmit.html. r=smaug
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
Flags: needinfo?(peterv)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: