PDF Viewer: Forward code from key events
Currently the pdf viewer forwards the keyCode property from key events. However, this property is deprecated, see: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode Add the non-deprecated code property to the list of properties to serialize. Note: this caused a problem with key handling in Print Preview, when Print Preview was updated from using keyCode to code to identify the escape key. Bug: 890724 Change-Id: I259dd36e344f8a5095487b71df8e96d85e3af47b Reviewed-on: https://chromium-review.googlesource.com/c/1256111Reviewed-by:Demetrios Papadopoulos <dpapad@chromium.org> Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Cr-Commit-Position: refs/heads/master@{#596466}
Showing
Please register or sign in to comment