Commit Graph
479 Commits
Author SHA1 Message Date
Dylan Roeh 6959532b0d Bug 1509342 - Move startService() call to BrowserApp.onResume() to guarantee we're foregrounded. r=snorp 2018-11-27 10:10:06 -06:00
Petru Lingurar 1e046e0ef9 Bug 1505685 - Part 2 - Cleanup - remove second SwitchBoard.loadConfig(); r=JanH
Summary:
Executing SwitchBoard.loadConfig() on a background thread is the main purpose
of the AsyncConfigLoader so executing it immediately again in the same thread
is redundant.

Depends on D12031

Reviewers: JanH

Reviewed By: JanH

Bug #: 1505685

Differential Revision: https://phabricator.services.mozilla.com/D12032
2018-11-21 12:15:12 +02:00
Cosmin Sabou 53d63a70cf Backed out 3 changesets (bug 1505685) for android checkstyle failures on GeckoMediaControlAgent.
Backed out changeset 6e2a67a9a9c9 (bug 1505685)
Backed out changeset a46710b7723f (bug 1505685)
Backed out changeset 9344087c8d8e (bug 1505685)
2018-11-21 11:45:59 +02:00
Petru Lingurar 8a3051fd17 Bug 1505685 - Part 2 - Cleanup - remove second SwitchBoard.loadConfig(); r=JanH
Summary:
Executing SwitchBoard.loadConfig() on a background thread is the main purpose
of the AsyncConfigLoader so executing it immediately again in the same thread
is redundant.

Depends on D12031

Reviewers: JanH

Reviewed By: JanH

Bug #: 1505685

Differential Revision: https://phabricator.services.mozilla.com/D12032
2018-11-21 11:21:01 +02:00
Dylan Roeh 792b9b3d4d Bug 1494748 - Add a service to kill the Fennec process when the user swipes-to-kill Fennec. r=snorp
Leaving the Fennec process running after a swipe-to-kill puts Fennec in an unrecoverable state; this ensures we kill the process anytime a user swipes-to-kill Fennec and therefore lets us recover as usual.
2018-11-20 09:35:29 -06:00
Jan Henning b02d8544d7 Bug 1506699 - Make dumping a profile to disk easier when using MOZ_PROFILER_SHUTDOWN. r=snorp
We're already have some special handling in the Android UI when detecting
MOZ_PROFILER_STARTUP, so we might as well handle MOZ_PROFILER_SHUTDOWN, too.

This means two things:
1. In order to actually quit the app, the "Quit" button needs to be enabled.
2. We need to wait until we're sure that the profile has been dumped to disk
   before finishing the activity (and thereby possibly killing our process).

Differential Revision: https://phabricator.services.mozilla.com/D11696
2018-11-13 06:55:03 +00:00
Agi Sferro a2f0c7beb9 Bug 1436754 - Move LayerSession and related to org.mozilla.geckoview; r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D10989
2018-11-07 17:28:17 +00:00
Petru Lingurar eefd5e0e91 Bug 1499415 - Check mExtensionPermissionsHelper for null before using it; r=sdaswani
`mExtensionPermissionsHelper` is initialized in BrowserApp's onCreate() and
nullified in it's onDestroy().
GeckoApp's onCreate() can finish after BrowserApp's onDestroy() because it uses
background initialization.
`mExtensionPermissionsHelper` will be checked for null before using it and
if null it's safe to ignore it's method's results as it only can be null if the
app was already closed.

Differential Revision: https://phabricator.services.mozilla.com/D10910
2018-11-05 17:09:43 +00:00
Jan Henning 80f8c26be7 Bug 1498854 - Rework dismissing of TabHistoryFragment. r=jchen
1. The patch from bug 1476710 was nonsense and had the same effect as simply
   deleting that line, because the ChildFragmentManager is only of interest if
   the TabHistoryFragment loaded further Fragments itself.
2. The issue at hand is that under some circumstances the TabHistoryFragment
   will be trying to dismiss itself while its responsible FragmentManager is
   already busy transacting some Fragment state changes.  More precisely, the
   fact that the Fragment is calling popBackStack*Immediately*, which isn't
   allowed if the FragmentManager is already handling some other transaction.
3. The dismiss() calls in response to the onClick() handlers are unproblematic,
   because they won't trigger any FragmentManager activity through any route
   other than the dismiss() call itself.
4. The dismiss() calls in onPause() *are* problematic because the Fragment-
   Manager will already be busy pausing the TabHistoryFragment, so triggering a
   further synchronous transaction is not allowed (and originally caused
   bug 1476710).
5. If the onPause() call happened because some external entity was attempting to
   remove the fragment (either BrowserApp directly, or indirectly by forwarding
   a back button press to the FragmentManager), then the Fragment trying to
   additionally remove itself is unnecessary.
6. If the onPause() call happens because the containing activity itself is being
   paused, then the Fragment being dismissed is the desired outcome (see
   bug 1093209), however the Fragment won't be able to remove itself because
   a) A synchronous transaction is illegal at that point in time.
   b) An async transaction would be possible, but might not complete until after
      onSaveInstanceState() had subsequently already been called, which again
      would be illegal because of state loss.
   c) An async transaction allowing state loss would succeed in any case, but
      would mean that if BrowserApp was subsequently destroyed while in back-
      ground and then later recreated from the savedInstanceState, the Tab-
      HistoryFragment would be recreated as well, which is undesired.
7. Therefore, the only way to dismiss the TabHistoryFragment when the containing
   activity is pausing is to synchronously dismiss the Fragment from inside the
   activity, *before* the onPause() call is forwarded to the FragmentManager.
8. Calling dismiss() in response to onDestroy() is unnecessary, because the
   Fragment is already irrevocably being removed as soon as we hit onPause().
9. Because it doesn't make sense to have multiple TabHistoryFragments active at
   the same time, we also change the logic such that any attempt to show a new
   TabHistoryFragment will now replace the previous fragment.
   This is also useful in view of the fact that in order to close the Fragment,
   BrowserApp retrieves it by calling findFragmentByTag(), which simply returns
   the first matching Fragment, i.e. wouldn't properly handle things if we ever
   accidentally ended up with multiple Fragment instances active at the same
   time.

Differential Revision: https://phabricator.services.mozilla.com/D8680
2018-10-16 16:17:18 +00:00
Eitan Isaacson 4ccdc54744 Bug 1479037 - Implement native accessible tree 3/4. r=Jamie
Depends on D6682

Differential Revision: https://phabricator.services.mozilla.com/D6683
2018-10-11 16:21:09 +00:00
Dorel Luca 97b9a9cf62 Backed out 4 changesets (bug 1479037) on dev's request for causing android crashes. a=backout
Backed out changeset 85f8ca59f747 (bug 1479037)
Backed out changeset 630601f0663e (bug 1479037)
Backed out changeset c926c6470235 (bug 1479037)
Backed out changeset f8a20bd86895 (bug 1479037)
2018-10-10 18:52:59 +03:00
Eitan Isaacson 9945d4f56f Bug 1479037 - Implement native accessible tree 3/4. r=jchen,yzen
Depends on D6682

Differential Revision: https://phabricator.services.mozilla.com/D6683
2018-10-09 17:20:53 +00:00
Petru Lingurar 8de5593611 Bug 1421174 - Remove old AddToHomeScreenPromotion; r=jchen
Deprecated by offering full support for Progressive Web Applications.

Differential Revision: https://phabricator.services.mozilla.com/D7696
2018-10-08 05:42:14 +00:00
Vlad Baicu 128c2e74c7 Bug 1478053 - Remove persistent notifs from the clearable list. r=jchen
Persistent notifications were not properly distinguished from clearable notifications
because they would first start as not persistent and got updated afterwards. Also added
a handle action in BrowserApp's onCreate for whenever the process gets removed.

Differential Revision: https://phabricator.services.mozilla.com/D6815
2018-09-26 22:45:35 +00:00
Andrei Lazar 2cb7fe5ead Bug 1480852 Crash in android.os.TransactionTooLargeException: data parcel size 1053364 bytes at android.os.BinderProxy.transactNative(Native Method) r=jchen
Added an extra check of bundle size due to some unexpected transactions sizes that exceed the limit.
The bundle gets lighter if the size exceeds the limit by removing the views' state as a last resort.

Differential Revision: https://phabricator.services.mozilla.com/D5682
2018-09-14 11:24:33 +00:00
Petru Lingurar 55b92ac908 Bug 1488691 - Prevent registering listeners if PIP failed; r=jchen
Also, if entering PIP fails will make sure that upon restarting the activity
it's orientation will match device's.

Differential Revision: https://phabricator.services.mozilla.com/D5035
2018-09-06 18:41:09 +00:00
Jan Henning e7eac4c3ef Bug 1485151 - Part 2 - Switch our whitelisting of StrictMode violations to try-with-resources. r=jchen
In my opinion this is an altogether nicer way of setting and resetting temporary
StrictMode exceptions. The only fly in the ointment is that this causes a
warning about a technically unused variable that subsequently needs suppressing.

Differential Revision: https://phabricator.services.mozilla.com/D4889
2018-09-04 22:28:22 +02:00
Petru Lingurar 121db1888d Bug 1480083 - After exiting PIP the restarted activity should have device's orientation; r=sdaswani
Differential Revision: https://phabricator.services.mozilla.com/D4939
2018-09-04 16:14:30 +00:00
Petru Lingurar b37a2daa15 Bug 1480091 - Don't hide the status bar when exiting PIP mode; r=jchen
From the PIP window the user can either return to the fullscreen app or exit
it entirely.
Fullscreen and subsequently hiding the status bar should only be done if the
user is returning to the app.

Differential Revision: https://phabricator.services.mozilla.com/D4676
2018-08-30 17:49:29 +00:00
alwu 7cbf9327d9 Bug 1479270 - part2 : remove HLS video player. r=snorp
Since we have native HLS support in 59 [1], we can remove those codes which is used to play HLS.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1345752

Differential Revision: https://phabricator.services.mozilla.com/D4166
2018-08-24 22:36:18 +00:00
Andreea Pavel 546d6fb079 Backed out 2 changesets (bug 1479270) for android lint on a CLOSED TREE
Backed out changeset 1676f895a710 (bug 1479270)
Backed out changeset 643ef11ea720 (bug 1479270)
2018-08-24 20:16:14 +03:00
alwu 9e058b69ab Bug 1479270 - part2 : remove HLS video player. r=snorp
Since we have native HLS support in 59 [1], we can remove those codes which is used to play HLS.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1345752

Differential Revision: https://phabricator.services.mozilla.com/D4166
2018-08-24 14:52:00 +00:00
Jan Henning d213aaca38 Bug 1414084 - Part 9 - Move add-on menu item cache out of BrowserApp. r=Grisha
Bug 832990 solved the issue of us losing the menu item cache if BrowserApp was
destroyed, however the issue remains that we'll miss any Menu:... messages that
are sent while BrowserApp doesn't exist, e.g. if Gecko is initially loaded
through a GeckoView-based activity.

Therefore we now move the menu item cache and the listener for those messages
into a separate class, whose lifetime better matches that of Gecko.

Apart from any necessary changes, we move the existing code as is. The only
additional change is that we make addAddonMenuItemToMenu() static, because we
can.

MozReview-Commit-ID: BJleonLnjmo
2018-02-25 22:22:37 +01:00
Jan Henning 80061a1823 Bug 1414084 - Part 8 - Unify menu item EventDispatcher messages. r=Grisha
As a final step, these can be merged as well. The same reasoning as in the
previous patch applies with regards to additional functionality that isn't
(yet) used by webextensions.

MozReview-Commit-ID: Ezx2mQY0s85
2018-03-18 16:42:57 +01:00
Jan Henning 53c5b2d8df Bug 1414084 - Part 7 - Use one set of functions for managing MenuItems in the UI. r=Grisha
The original add-on functions have some additional capabilities regarding e.g.
checkboxes, disabling the menu, etc. that right now aren't required for
Webextensions (yet?), but in that case they will simply not be used - in any
case BrowserActions.jsm controls what functionality is actually exposed to
add-ons.

MozReview-Commit-ID: DPT8gV2gb6q
2018-03-18 14:17:03 +01:00
Jan Henning bd38a50a80 Bug 1414084 - Part 6 - Use only one list to store menu items added from Gecko. r=Grisha
Now that the UI code for handling both the old NativeWindow API and Web-
extensions is more or less the same and both are using the same MenuItemInfo
class, there's no longer any real need to keep items added through the two APIs
in separate lists - in fact doing so makes it harder to preserve the ordering
of menu items if the activity and its menu are destroyed and need to be re-
created later on from the stored lists of MenuItemInfos.

MozReview-Commit-ID: KlJdvO9WhhY
2018-03-23 19:58:18 +01:00
Jan Henning 718b8328c9 Bug 1414084 - Part 5 - Unify menu click event handling. r=Grisha
Now that both Webextensions and the NativeWindow API manage their onClick call-
back handling by UUID, we can start using the same EventDispatcher message for
both.

MozReview-Commit-ID: J3RRXrwPdTI
2018-03-18 14:24:15 +01:00
Jan Henning d9121962ca Bug 1414084 - Part 4 - Move menu item ID generation into the UI. r=Grisha
Since the NativeWindow API now only uses UUIDs as well when dealing with its
consumers, we can leave generation of the menu to the Android UI code of
Firefox.

MozReview-Commit-ID: 1qDLDnePfFE
2018-03-18 15:43:27 +01:00
Jan Henning c880075dc4 Bug 1414084 - Part 3 - Store NativeWindow menu callbacks by UUID. r=Grisha
MozReview-Commit-ID: 7nEhAUxOIsW
2018-03-18 13:33:42 +01:00
Jan Henning 845d362f1a Bug 1414084 - Part 2 - Use UUIDs for the NativeWindow menu API, too. r=Grisha
At the moment, the code for handling of JS-created main menu items is more or
less duplicated between the old NativeWindow API and Webextensions, with the
only real difference being that the former communicates directly via menu item
IDs, while the latter uses UUIDs for messaging between Gecko and the UI.

By switching the NativeWindow API to using UUIDs as well, we will be able to
start unifying this code again.
As for backward compatibility
- the return value of NativeWindow.menu.add is valid for the current session
  only, so no migration is necessary
- the return value of NativeWindow.menu add was already effectively only an
  opaque value which only had real meaning for subsequent calls to menu.add,
  menu.update and menu.remove, so it shouldn't really matter whether we return
  a plain numeric ID or an UUID in string form
- old-style add-ons are now unsupported for better or for worse and our one in-
  tree caller won't have any problems with this change

MozReview-Commit-ID: HdRNhrx1pu7
2018-03-18 13:26:16 +01:00
Jan Henning d628dbf255 Bug 1414084 - Part 1 - No longer track MenuItemInfo "added" data. r=Grisha
We no longer use that value anywhere, so we can just stop keeping track of it.

MozReview-Commit-ID: D1IgX1t8SKI
2018-03-18 13:49:31 +01:00
Jan Henning 3336e29ec3 Bug 1414084 - Part 0 - Cleanups. r=Grisha
MozReview-Commit-ID: B3ZGN2X8JXH
2018-02-25 20:53:01 +01:00
Petru Lingurar 2fa6389321 Bug 1349523 - Add support for playing videos in Picture-in-picture mode; r=jchen
MozReview-Commit-ID: DKlBFRo9q8t
2018-06-22 12:57:02 +03:00
Andrei Lazar baef92682c Bug 1450447 - Start using notification channels. r=jchen
Made all the notifications within the app to use notification channel for devices with API26 and higher.

MozReview-Commit-ID: CVmpitNsS66
2018-07-06 17:57:22 +03:00
Petru Lingurar f70bcdebf1 Bug 1465323 - Update PackageAddedReceiver. r=JanH
This Receiver was used for implicit broadcasts and registered statically.
Refactored MmaDelegate() to register it dynamically in the init() method,
called in activity's onCreate and unregister it in activity's onDestroy.
This way we will still get notified immediately if the user installs any of
the apps we are interested in, even though he might not return to Fennec
immediately after. This will help to better asses the impact of suggestions to
install recommended packages.

For the cases in which the user installs the packages without us suggesting to
or if he kills our app before completing the new install, we will trigger a
check for the install status of the packages in MmaDelegate().init().

Also cleaned the code a little.

MozReview-Commit-ID: I00mLS2snzj
2018-07-16 21:15:32 +03:00
Petru Lingurar 00f9e9cc86 Bug 1407046 - Migrate DownloadContentService to JobIntentService. r=snorp
Broke the big IntentService into four small JobIntentServices because
the same JobIntentService class cannot be used with multiple JobIds
(https://github.com/aosp-mirror/platform_frameworks_support/blob/b6838fd2d2e834fdd38aab34511d385cb7108f63/compat/src/main/java/android/support/v4/app/JobIntentService.java#L121)
Also:
    - will make the code easier to be migrated to WorkManager in the future
    - more in line with SRP. It was initially doing too much.

Cleaned the code a little, removed the superfluous creation of new Threads for
DownloadContentCatalog().persistChanges() / .startLoadFromDisk()
as those methods are always called from the background threads
of the new JobIntentServices.
The new DlcHelper helps reducing duplicated code.

MozReview-Commit-ID: G3fsWYOGEbR
2018-06-26 17:31:19 +03:00
Petru Lingurar c3646527ee Bug 1385464 - Start using support library v. 26; r=nalexander
This patch also:
Resolves missing resources and api changes
- LeanplumActionBarActivity was removed because Support Library 26 deprecated
ActionBarActivity. Class was already not in use.
- CustomTabsService added two new methods which we need to override.
Tested to make sure that previous functionality was maintained but with the
addition of the two new methods maybe that feature could be improved.
- For checking layout direction we'll use our own new method from ViewUtil
which mimics what the now restricted method from the support library would do.
- Upgraded to use AppCompatResources#getDrawable(..) in place
of the now restricted AppCompatDrawableManager.get().getDrawable(..).

Resolves obscure leaks and crashes after the upgrade
- LoaderManager.destroyLoader(..) was added before the existing call to
LoaderManager.restartLoader(..) to prevent potential Cursor leaks
- Disable website suggestions depending on the address bar inputs when running
in automation to avoid Robocop tests failing (they were entering serially maybe
100 characters in <5 ms which created around that many new Threads,
operation that could cause the Executor to throw a RejectedExecutionException)
At the moment this functionality is not covered by tests anyway and it was the
only fix I could find that would not involve changing the whole implemenation
for address bar suggestions, implementation which in the real world works ok.

MozReview-Commit-ID: 2fX1SBHiSh0
2018-07-13 17:16:37 +03:00
Rob Wu dc75f4427d Bug 1448305 - Avoid disk cache for icons of private tab's session history. r=JanH 2018-07-16 12:19:18 +02:00
Petru Lingurar 5580ddb70b Bug 1386192 - Test Leanplum Custom Message for Onboarding; r=cnevinchen+582291
Created LeanPlumVariables to allow LeanPlum overwriting the values used for
populating the OnBoarding screens. By simply adding the @Variable annotation
to it's fields, on the first run of the app, they will appear in "LeanPlum
dashboard - Variables" and will allow overwriting for future runs.

The OnBoarding process will now try to use LeanPlum values if possible.
Because connecting to LeanPlum and downloading the Variables might take
a few seconds we use a delay of up to 3 seconds until starting to show
the Onboarding screens.
The default values will still be used if:
- if the LP experiment is not available
- if no internet connection
- if more than 3 seconds have passed and LP didn't finish it's download

Added two new events that could be tracked to Leanplum
MmaDelegate.ONBOARDING_DEFAULT_VALUES and MmaDelegate.ONBOARDING_REMOTE_VALUES
to inform if showing the Onboarding with server values was possible or not.

Because of the 3 seconds delay until showing the Onboarding panels leaking the
could be possible. Used WeakReferences for both the Activity in
OnboardingHelper and the OnboardingHelper in MmaLeanplumImp to avoid it.

MozReview-Commit-ID: H30e9Ng7jrM
2018-07-04 12:56:20 +03:00
Petru Lingurar 9388bf17de Bug 1454686 - Respond to changes in the new preference state state; r=mcomella
Because Mma cannot work if Health Report is disabled by the user (Settings - Privacy)
we will treat toggling Health Report on/off the same as we treat toggling the new preference from Settings - Notifications.
Toggling Health Report on will inform about the need to start LeanPlum (useful if the user did not explicitly stopped LP notifications but only Health Report which in turn disabled LeanPlum also) but there are other checks made afterwards (BrowserAp() is informed about this which calls GeckoPreferences.isMmaAvailable(..)) to decide if LP can and should be enabled.

Toggling any of these preferences will trigger an event caught by BrowserApp which can either
    - immediately initialize LeanPlum (if the toggle was off LP is not running) as it would normally do when the app first starts
    - stop LeanPlum reporting to servers, flush the per-session available messages
      and resets the LP started status so that it can be restarted in the same app session (like if the user toggles the feature again)

MozReview-Commit-ID: 1SmhN0NucWW
***
2018-05-16 15:54:13 +03:00
Petru Lingurar f4fda68d95 Bug 1454686 - Small refactoring of Mma related methods; r=mcomella
With the adding of the new preference that Mma depends on we need to have only one place where all the conditions for considering if Mma is available are checked - GeckoPreferences.isMmaAvailableAndEnabled()
Added only one place from where the availability of the LP experiments should be checked as that currently involves two checks - MmaDelegate.isMmaExperimentEnabled(..)
Also renamed isMmaEnabled() from MmaDelegate() and initSwitchboard from BrowserApp() to better express what those methods do.

MozReview-Commit-ID: BCJqM9b5JbW
***
2018-05-17 18:55:38 +03:00
Jim Chen f2f3a492bf Bug 1457255 - 2. Fix Java warnings; r=me
Fix all Java warnings in the Android codebase except deprecation and
serial warnings, and warnings in third-party code.

There is one required change to exoplayer2 code under thirdparty,
because that code is included directly in the geckoview project, instead
of the thirdparty project. I think I'll just make a pull-request to
upstream the change, instead of separating exoplayer2 into a
gv-thirdparty project.
2018-05-01 00:22:54 -04:00
Noemi Erli 3c14ea8f31 Backed out 4 changesets (bug 1457255) for kotlin warnings/errors are not being parsed by Treeherder a=backout
Backed out changeset 9c42ce50a911 (bug 1457255)
Backed out changeset 524a0f9fb978 (bug 1457255)
Backed out changeset a49833bfd519 (bug 1457255)
Backed out changeset 4eccde5dfbef (bug 1457255)
2018-05-02 01:16:57 +03:00
Jim Chen 1133dd50cb Bug 1457255 - 2. Fix Java warnings; r=me
Fix all Java warnings in the Android codebase except deprecation and
serial warnings, and warnings in third-party code.

There is one required change to exoplayer2 code under thirdparty,
because that code is included directly in the geckoview project, instead
of the thirdparty project. I think I'll just make a pull-request to
upstream the change, instead of separating exoplayer2 into a
gv-thirdparty project.
2018-05-01 00:22:54 -04:00
Petru Lingurar 09e3c80f37 Bug 1423045 - Drop an event when User changes default browser to Firefox; r=mcomella
Use SharedPreference to ensure we won't loose previous state if Fennec is killed, set as default, restarted.
The default browser status will only be set once, when the app is resumed, as it cannot change while the app is in foreground.
We will track "E_Changed_Default_To_Fennec" only if Fennec wasn't previously the default browser.
The method to track the event is safe to be called even before the mma init process is finished as LeanPlum postpones the track operation until it has actually been started.

Refactored MmaDelegate to not use a WeakReference for application context anymore as that should exist for the entire time the app is open, and only in that timeframe the MmaDelegate methods that use that context can be called.

MozReview-Commit-ID: JMJJclWj9fq
2018-04-18 15:21:12 +03:00
Eitan Isaacson 392de1f884 Bug 1449364 - Create SessionAccessibility for GeckoSession. r=jchen r=yzen 2018-04-12 13:46:47 -07:00
Margareta Eliza Balazs dacc6fec21 Backed out 2 changesets (bug 1449364, bug 1453278) for rc4 and 42 perma failures in layout/base/tests/test_bug332655-2.html and testInputConnection on a CLOSED TREE
Backed out changeset 7149139c60d9 (bug 1449364)
Backed out changeset bcfee006ebaa (bug 1453278)
2018-04-12 15:30:20 +03:00
Eitan Isaacson 2302d1e7dd Bug 1449364 - Create SessionAccessibility for GeckoSession. r=jchen r=yzen 2018-04-11 15:21:00 +03:00
Petru 134eaf3874 Bug 1423046 - Drop an event when User opens the Firefox app (from Leanplum contextual hints); r=mcomella
The app already sends "E_Launch_Browser" for when it is first launched.

MozReview-Commit-ID: 9BU6b3D58vY
2018-04-05 13:34:32 +03:00
Jan Henning 6c9b6523fc Bug 1450076 - Add more keyboard shortcuts for opening new tabs. r=jchen
We cannot open completely new windows on mobile, but we sort of mimic desktop
by having Ctrl + N/Ctrl + Shift + P always open a new normal/private tab,
whereas for Ctrl + T the kind of tab opened will now depend on the currently
selected tab.

MozReview-Commit-ID: KmPCcnn79OH
2018-03-29 21:05:47 +02:00