The shortcuts should be inactive if a tab is in the background.
Created attachment 251093 [details] Patch
r183322 – r183342 http://trac.webkit.org/log/?revs=183322-183342
Comment on attachment 251093 [details] Patch Cleared review? from attachment 251093 [details] so that this bug does not appear in http://webkit.org/pending-review. If you would like this patch reviewed, please attach it to a new bug (or re-open this bug before marking it for review again).