Look at e.path where available (M55+)

With the fix to e.path for events on Window (issue 645527), coming in M55,
look there instead of document.activeElement when possible.

This fix is based on the currently released v1.5.1 of the extension, since the
options and popup pages are still waiting for final UI.

BUG=653993, 645527

Review URL: https://codereview.chromium.org//2407473002 .
2 files changed
tree: 761a3230cefe5847e95ecc7cc81a56471a15a060
  1. go-back-with-backspace/
  2. .gitignore