Text-Fragments: Implement makeshift user-involvement
Categories
(Core :: DOM: Navigation, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox129 | --- | fixed |
People
(Reporter: jjaschke, Assigned: jjaschke)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
After implementing user activation in bug 1888756, text fragments are not scrolled to anymore if initiated by browser chrome (eg. pasting a link that contains a fragment directive into the url bar and hitting enter).
Even though user involvement is not implemented (tracked in bug 1901045), it is fairly easy to check if the current load is triggered by browser chrome: If the triggering principal is the system principal, the load is triggered from browser chrome.
Assignee | ||
Comment 1•3 months ago
|
||
User involvement as defined in the spec is not implemented in Gecko yet.
Therefore, the changes introduced in Bug 1888756 disallowed scrolling to text directives if the load was triggered by the user, eg. by pasting a link with a text fragment into the url bar.
This patch checks if the triggering principal of the load is the system principal.
This is equivalent to the "browser UI" value of user involvement.
Comment 3•3 months ago
|
||
bugherder |
Description
•