Implement SessionHistoryEntry::Get/SetHasUserInteraction
Categories
(Core :: DOM: Navigation, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox85 | --- | fixed |
People
(Reporter: peterv, Assigned: johannh)
References
(Blocks 1 open bug)
Details
Attachments
(4 files)
Updated•4 years ago
|
Comment 1•4 years ago
|
||
Get/SetHasUserInteraction is no longer shipping so not a Fission blocker right now.
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
Peter, I assume it's okay for me to take this?
Assignee | ||
Comment 3•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 4•4 years ago
|
||
This will ensure we reflect changes that were made to that entry after it was added, see
https://phabricator.services.mozilla.com/D93346#inline-535006 for more context.
Updated•4 years ago
|
Assignee | ||
Comment 5•4 years ago
|
||
This is more consistent than an assertion and it should be safe, considering that the field
should be unused on child entries anyway, so we might as well return the value from the root.
Depends on D93346
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 6•4 years ago
|
||
When re-enabling the test case blocked by bug 1670933 it became apparent that we were not allowing
session history entries to be marked with user interaction when the SH entry was created by navigation
through a sub-frame. The code that we had for this only covered updating SH entries after pushState etc.,
not adding new entries for document loads.
When SH lives in the child this is easier to manage in nsDocShell, but with Fission it probably makes sense
to move this code to the parent.
Depends on D95300
Comment 8•4 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/bb32728a96fc95fa4d0822fed30c6eb198f96298
https://hg.mozilla.org/mozilla-central/rev/adf238e6c6069008269fddfb18e1761b02f37e03
https://hg.mozilla.org/mozilla-central/rev/2acf8a782450d36dc9e8c334d93f583f5a91f79a
https://hg.mozilla.org/mozilla-central/rev/53c001f9225366cdabbbc38c1d560cdb482bd0db
Description
•