Implement transient activation flag
Categories
(Core :: DOM: Core & HTML, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: edgar, Assigned: edgar)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
See https://github.com/whatwg/html/pull/3851.
The transient activation flag indicates the current activation state: Every time document is activated, the UA sets the flag to true. And the UA sets the flag to false when the flag expires.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Assignee | ||
Comment 4•5 years ago
|
||
Assignee | ||
Comment 5•5 years ago
|
||
Comment 7•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/991685fb60f5
https://hg.mozilla.org/mozilla-central/rev/cb2ebcd8d0f5
https://hg.mozilla.org/mozilla-central/rev/2469f247e873
Updated•5 years ago
|
Comment 8•5 years ago
|
||
I don't really understand this, or what documentation is needed for it. Can you give me some help in explaining what this is for, what MDN docs need updating, and what content needs to be added? Thanks!
Comment 9•4 years ago
|
||
Edgar, we are considering the possibility of changing getDisplayMedia()
's transient activation test to look at the toplevel Window, for bug 1704278. (Feature policy default allowlist is "self", so a parent has already opted in and requiring a click in the iframe seems overkill.)
Are you aware of any reason why we should not extend WindowContext::mUserGestureStart
to out-of-process WindowContext
's?
Assignee | ||
Comment 10•4 years ago
|
||
The main reason for that is there wasn't such a use case, and referencing the user gesture status from another window isn't usually what we want, I think that is why spec defines a rule to propagate the activation state, https://html.spec.whatwg.org/multipage/interaction.html#activation-notification. The restriction of in-process-only could help to catch possible misusage.
Assignee | ||
Comment 11•2 years ago
|
||
(In reply to Chris Mills [:cmills] from comment #8)
I don't really understand this, or what documentation is needed for it. Can you give me some help in explaining what this is for, what MDN docs need updating, and what content needs to be added? Thanks!
I think the documentation for UserActivation
interface which is tracked in bug 1791079 could cover this one, so remove the dev-doc-needed here.
Description
•