Closed Bug 1667006 Opened 5 years ago Closed 5 years ago

document.open should use the url of the entry document for the session history entry as result principal uri

Categories

(Core :: DOM: Navigation, defect, P2)

defect

Tracking

()

RESOLVED FIXED
83 Branch
Fission Milestone M6b
Tracking Status
firefox83 --- fixed

People

(Reporter: peterv, Assigned: peterv)

References

Details

Attachments

(1 file)

Currently nsDocShell::UpdateActiveEntry called from nsDocShell::UpdateURLAndHistory for the replace case doesn't set the URI or the OriginalURI. This is causing issues with going back after a document.open call, we need to go back to the entry document of the document.open call.

This case is tested in parser/htmlparser/tests/mochitest/test_bug715739.html.

Assignee: nobody → peterv
Status: NEW → ASSIGNED
Summary: document.open should use the url of the entry document for the session history entry → document.open should use the url of the entry document for the session history entry as result principal uri
Severity: -- → S2
Fission Milestone: --- → M6b
Priority: -- → P2
Attachment #9177622 - Attachment description: Bug 1667006 - document.open should use the url of the entry document for the session history entry as result principal uri. r?smaug! → Bug 1667006 - document.open should set the url of the session history entry to the entry document's. r?smaug!
Pushed by pvanderbeken@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/70c423e6c9fa document.open should set the url of the session history entry to the entry document's. r=smaug
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: