forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Securely handles textual web content presented on the dino page
Update the dino page code to add all downloaded textual content using the `innerText` property of elements to ensure they are handled as plain text. Also adds some comments in related areas explaining the steps taken for safely handling downloaded texts and images. TBR=palmer@chromium.org Bug: 852872 Change-Id: I8ce2827a657350100e5965cb38ceb85a8979c10f Reviewed-on: https://chromium-review.googlesource.com/c/1270002 Reviewed-by: Carlos Knippschild <carlosk@chromium.org> Reviewed-by: Edward Jung <edwardjung@chromium.org> Reviewed-by: Dan H <harringtond@google.com> Commit-Queue: Carlos Knippschild <carlosk@chromium.org> Cr-Commit-Position: refs/heads/master@{#598628}
- Loading branch information
Showing
4 changed files
with
39 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters