When closing many tabs, it is easy to hold down ctrl+f4. The tabs close fast, but App Tabs (which are promoted to a higher-class, longer-living tab) are also closed by ctrl+f4. To prevent user errors, we shouldn't allow ctrl+f4 to close app tabs.
Created attachment 571484 [details] [diff] [review] Patch for bug 699240 I ran the mochitest-browser-chrome tests locally with no failures.
Pushed to try: https://tbpl.mozilla.org/?tree=Try&rev=00930bf79d18
Created attachment 571500 [details] [diff] [review] Patch for bug 699240 Removed the check for ctrlPageUpPageDown since it is unnecessary based on this comment: https://bugzilla.mozilla.org/show_bug.cgi?id=628918#c1 Pushed to try: https://tbpl.mozilla.org/?tree=Try&rev=a41e006b29e0
Fixed in fx-team: https://hg.mozilla.org/integration/fx-team/rev/73e8ca9230d6
backed-out in: https://hg.mozilla.org/mozilla-central/rev/2be7246491d5 wrong commit message.
Repushed with fixed commit message: https://hg.mozilla.org/integration/fx-team/rev/ae7e205b7dc4