[Extensions] Simplify Extension Keybinding API Tests
The extension keybinding api tests currently include a lot of back-and-forth
by having an extension inject a script into a page, which changes the color, and
then injecting another script to see if the color did, in fact, change. Change
this to not rely on script injection.
Committed:
https://crrev.com/1d9458041f3f84ac4a6558cd65737a73bec18dfd
Cr-Commit-Position: refs/heads/master@{#313932}