Skip to content

Commit

Permalink
Add non-normative note about find-in-page details privacy
Browse files Browse the repository at this point in the history
Adding in response to this comment:
w3ctag/design-reviews#677 (comment)
  • Loading branch information
josepharhar committed Oct 15, 2021
1 parent 5d515fa commit 771027d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -77019,6 +77019,13 @@ body { display:none }
revealing algorithm</span> on <var>node</var>.</p></li>
</ol>

<p class="XXX">When find-in-page auto-expands a <code>details</code> element like this, it will
fire a <code data-x="event-toggle">toggle</code> event. As with the <code
data-x="event-scroll">scroll</code> event that find-in-page fires, this event could be used by the
page to snoop on what the user is typing into the find-in-page dialog. More details and
mitigations in the privacy review <a
href="https://github.com/WICG/display-locking/blob/main/privacy-assessments/auto-expanding-details-privacy.md">here</a>.</p>

<h4>Interaction with selection</h4>

<p>The find-in-page process is invoked in the context of a document, and may have an effect on
Expand Down

0 comments on commit 771027d

Please sign in to comment.