Open Bug 1901045 Opened 4 months ago Updated 1 month ago

Navigation API / Text Fragments: Implement User Involvement

Categories

(Core :: DOM: Navigation, task)

task

Tracking

()

People

(Reporter: jjaschke, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug, )

Details

Attachments

(1 obsolete file)

The HTML Standard defines User Involvement. This is being referenced in the Text Fragments spec to determine if a text directive is allowed to be scrolled to. Gecko currently does not implement User Involvement.

Tagging this as "see also" instead of "blocks" for Bug 1753933 and Bug 1777171.

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.

Assignee: nobody → jjaschke
Status: NEW → ASSIGNED

Here is a try run, in which this patch is based off of Bug 1888756 (which at this point of time is only in autoland, not in central).

Attachment #9408674 - Attachment is obsolete: true

(Let's use bug 1904773 for the makeshift solution and keep this one for a potential real implementation of user involvement.)

See Also: 1777171
Depends on: 1904773
Assignee: jjaschke → nobody
Status: ASSIGNED → NEW
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: