Граф коммитов

27588 Коммитов

Автор SHA1 Сообщение Дата
Brian Grinstead f6c12a437b Bug 1441935 - Modifications on top of the generated MozBrowser Custom Element r=mconley
In order to make the history easier to navigate, this changeset includes the
modifications required to make <xul:browser> actually work as a Custom Element,
and switches the app to use it instead of the XBL browser.

Differential Revision: https://phabricator.services.mozilla.com/D14911

--HG--
extra : moz-landing-system : lando
2019-01-10 01:45:43 +00:00
John Lin 25e943bf4d Bug 1518673 - disable adaptive playback for Galaxy S3 T999* models. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D16067

--HG--
extra : moz-landing-system : lando
2019-01-09 19:17:02 +00:00
Brindusan Cristian e4a445730d Backed out 4 changesets (bug 1508434) for mda failures on test_waveShaperPassThrough.html. CLOSED TREE
Backed out changeset 1851290ec29b (bug 1508434)
Backed out changeset 12424313d637 (bug 1508434)
Backed out changeset 8fbed3243217 (bug 1508434)
Backed out changeset 25b67aa0ef55 (bug 1508434)
2019-01-09 21:00:35 +02:00
John Lin 9101933771 Bug 1508434 - p4: release audio output buffers after processing on task queue. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D15985

--HG--
extra : moz-landing-system : lando
2019-01-09 17:40:45 +00:00
Tim Nguyen 34cebfc0b6 Bug 1437641 - Remove numberbox binding and convert usages to input[type=number]. r=bgrins,dao
Differential Revision: https://phabricator.services.mozilla.com/D15882

--HG--
rename : toolkit/themes/shared/numberbox.css => toolkit/themes/shared/numberinput.css
extra : moz-landing-system : lando
2019-01-09 08:51:32 +00:00
Axel Hecht 0361e0a6e4 Bug 1517919, put Fluent files into right subdirectory for chrome-%, r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D15883

--HG--
extra : moz-landing-system : lando
2019-01-09 00:34:45 +00:00
Emily Toop e24888e839 Bug 1500155 - Add methods for each setting in `GeckoSessionSettings`. r=snorp
Part 1 - Add methods for each setting in `GeckoSessionSettings`.
Migrate existing code to use these new methods instead of the exisiting get/set<DataType>(Key, Value) methods.

Part 2 - Make old methods and fields for get/set<DataType> in `GeckoSessionSettings` private.

Part 3 - Migrate existing code to use these new methods instead of the exisiting get/set<DataType>(Key, Value) methods.

Part 4 - Add Builder to `GeckoSessionSettings` to handle setting of init only fields.

* Make setters for init only fields protected.
* Remove tests that ensure that init only fields throw an error when set on the fly as this is no longer possible.
* Update tests to use builder when init-ing settings.
* Update API doc to reflect new public API.

Part 5 - Update `CHANGELOG.md`.

Part 6 - Update `geckoview_example` to use new methods.

Part 7 - Fetch `CHROME_URI` key when calling `getChromeUri` rather than incorrect `USER_AGENT_OVERRIDE`

Differential Revision: https://phabricator.services.mozilla.com/D15651

--HG--
extra : moz-landing-system : lando
2019-01-08 18:06:07 +00:00
Andrei Lazar 8dd6c6adf7 Bug 1505720 crash [@ java.lang.NullPointerException: at org.mozilla.gecko.fxa.authenticator.AndroidFxAccount.renameAccountIfNecessary(AndroidFxAccount.java)] r=Grisha
Refreshing account (triggered by signing in) can cause a NullPointerException after quickly signing out.
This defect consists in bad sync between the signing in state and signing out state.

Differential Revision: https://phabricator.services.mozilla.com/D14269

--HG--
extra : moz-landing-system : lando
2019-01-08 10:28:20 +00:00
Oana Pop Rus 3adbeba770 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-08 12:13:02 +02:00
Randall Barker 66b1687bfb Bug 1507852 - Add GeckoView API to toggle desktop viewport support r=geckoview-reviewers,snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D15598

--HG--
extra : moz-landing-system : lando
2019-01-08 00:58:16 +00:00
alwu b19b9b34f5 Bug 1513039 - part11 : remove pref 'media.autoplay.ask-permission'. r=cpearce
Depends on D14335

Differential Revision: https://phabricator.services.mozilla.com/D14336

--HG--
extra : moz-landing-system : lando
2019-01-07 18:41:58 +00:00
alwu edbf43dd41 Bug 1513039 - part10 : remove nsIAutoplay.PROMPT r=daleharvey,cpearce
Depends on D14334

Differential Revision: https://phabricator.services.mozilla.com/D14335

--HG--
extra : moz-landing-system : lando
2019-01-07 18:41:03 +00:00
Bogdan Tara a42405fa33 Backed out changeset 129a3f527c8e (bug 1507852) for NavigationDelegateTest.desktopMode failures CLOSED TREE 2019-01-07 23:58:38 +02:00
Csoregi Natalia 5573623926 Merge mozilla-central to autoland. CLOSED TREE 2019-01-07 23:49:15 +02:00
Csoregi Natalia 498c659ff8 Merge inbound to mozilla-central. a=merge 2019-01-07 23:46:59 +02:00
Randall Barker 907e70aa70 Bug 1507852 - Add GeckoView API to toggle desktop viewport support r=geckoview-reviewers,snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D15598

--HG--
extra : moz-landing-system : lando
2019-01-07 20:05:08 +00:00
Natalia Csoregi a0ea2d1303 Bug 1505353 - Disable org.mozilla.geckoview.test.AccessibilityTest.autoFill_navigation on debug platform for frequent failures. r=jmaher 2019-01-05 05:31:00 +02:00
Cameron McCormack 9635af505d Bug 1517175 - Part 2: Add about:memory filter r=njn
Depends on D15628

Differential Revision: https://phabricator.services.mozilla.com/D15629

--HG--
extra : moz-landing-system : lando
2019-01-07 03:04:46 +00:00
Cameron McCormack af0862d439 Bug 1516831 - Add a process index to about:memory r=njn
Differential Revision: https://phabricator.services.mozilla.com/D15495

--HG--
extra : moz-landing-system : lando
2019-01-07 03:06:27 +00:00
Razvan Maries 3a5e839ba2 Backed out changeset e38d92bc7143 (bug 1505353) for causing build bustages. CLOSED TREE 2019-01-06 15:52:10 +02:00
Natalia Csoregi 946a9de858 Bug 1505353 - Disable org.mozilla.geckoview.test.AccessibilityTest.autoFill_navigation on debug platform for frequent failures. r=jmaher 2019-01-05 05:31:00 +02:00
Csoregi Natalia 4eda4d34c0 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-01-07 23:51:06 +02:00
Cosmin Sabou 3de3011707 Backed out changeset dbea03a5c55e (bug 1497146) for bmsvc bustages on SessionStoreUtils.
SessionStoreUtils

--HG--
rename : dom/chrome-webidl/SessionStoreUtils.webidl => toolkit/components/sessionstore/nsISessionStoreUtils.idl
rename : toolkit/components/sessionstore/SessionStoreUtils.cpp => toolkit/components/sessionstore/nsSessionStoreUtils.cpp
2019-01-04 19:37:37 +02:00
Alphan Chen 15328d9c7b Bug 1497146 part 1 - Add SessionStoreUtils.webidl r=nika
Let SessionStoreUtils be a WebIDL namespace, rather than a XPCOM service

Differential Revision: https://phabricator.services.mozilla.com/D9776

--HG--
rename : toolkit/components/sessionstore/nsISessionStoreUtils.idl => dom/chrome-webidl/SessionStoreUtils.webidl
rename : toolkit/components/sessionstore/nsSessionStoreUtils.cpp => toolkit/components/sessionstore/SessionStoreUtils.cpp
extra : moz-landing-system : lando
2019-01-04 16:26:13 +00:00
Vlad Baicu 4f56e9160c Bug 1464003 - Refresh sync preference after rebuilding the list. r=Grisha
Differential Revision: https://phabricator.services.mozilla.com/D15209

--HG--
extra : moz-landing-system : lando
2019-01-04 10:17:03 +00:00
Mark Banner 8e9e4602f8 Bug 1517456 - Make Task.jsm a test-only module. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D15647

--HG--
rename : toolkit/modules/Task.jsm => toolkit/modules/tests/modules/Task.jsm
extra : moz-landing-system : lando
2019-01-04 08:41:58 +00:00
Jan Henning dbd3b4288b Bug 1499874 - Part 4: Removed closed tabs by ID when using undoCloseTab(). r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D15332

--HG--
extra : source : caee52ea697e2bc64040b1663ef7f40cfd09030b
extra : histedit_source : 9b15bddf718f885a51c2b4328a45c8115c509f5d
2018-12-23 18:42:08 +01:00
Jan Henning 7178e9149d Bug 1499874 - Part 3: Renumber recently closed tabs from the previous session when automatically restoring. r=esawin
We want to remove recently closed tabs from the session store when they get re-
stored again, and for that we need something to uniquely identify them.
As tab IDs are unique per session only, this means that the tab IDs of recently
closed tabs resurrected from the previous session could conflict with tabs that
have been freshly opened in the current session.

E.g. tab 2 has been closed in a previous session and is now part of the session
store's closed tab list. In the current session, a number of tabs are opened
again and then what is now the *current* tab 2 is closed as well. The result
would be that the session store now has two closed tabs with a tab ID of 2.

To avoid that scenario, all recently closed tabs are renumbered with an ID in
the negative range at the start of the session. Therefore all tabs originally
opened in the current session will have a tab ID >= 0, while all recently closed
tabs coming directly from a previous session will have a negative tab ID, < -1.
(-1 itself remains the sentinel value for an invalid tab ID).

Differential Revision: https://phabricator.services.mozilla.com/D15331

--HG--
extra : source : 971ebdae024e188a913d2eda452a7761b4b38d1b
extra : histedit_source : b04ac438d2d7325d35e300946fcdb2a385b1598c
2018-12-23 17:23:21 +01:00
Jan Henning c68c1f0d59 Bug 1499874 - Part 2: Remove tab IDs of tabs from the previous session file in the home panel. r=esawin
We want to remove recently closed tabs from the list that have been restored
again. At the moment this only works if the tab data never leaves Gecko, because
in undoCloseTab(), the session store determines the tab data to be removed from
its closed tab collection by checking for equality with the tab data that was
passed as an argument to undoCloseTab().

So a tab restored through the "Undo" snackbar will be removed from the "Recently
closed" list, but a tab restored from the History home panel won't, because in
the latter case the tab data will have been serialised and deserialised while
travelling back and forth between Gecko and the Android UI.

Hence we're going to switch the system to identify tabs through their tab ID
instead.

If automatic session restoring is turned off, the "Recently closed" home panel
also displays all tabs that were open in the previous session. Those tabs aren't
coming directly from the session store; instead the Android UI reads them
directly from the corresponding file on disk. Therefore, when restoring such a
tab we need to make sure that the session store won't attempt to find and remove
that tab from its own list of recently closed tabs.

To that effect, we therefore simply drop the "tabId" when parsing the "last
session" file from disk.

Differential Revision: https://phabricator.services.mozilla.com/D15330

--HG--
extra : source : cedb3b5d62a6019a1176f2196848d7bb43c74e9d
extra : histedit_source : 88e2c1f549c98d0cf9adeaf91891f3de61fca499
2018-12-23 15:45:26 +01:00
Jan Henning 3bfc0a2e5f Bug 1499874 - Part 1: Test that restoring a tab removes it from the session store. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D15329

--HG--
extra : source : f920fb20c379b24bfe0945fafd002065ac112d84
extra : histedit_source : a5b4561928d1c5be30582a0ccaa2b75c7d66bc9c
2018-12-23 21:42:30 +01:00
Jan Henning cb158a3b46 Bug 1499874 - Part 0c: Reorder imports according to coding style. r=me, trivial review comment fix
org.mozilla.* imports come first.

Differential Revision: https://phabricator.services.mozilla.com/D15866

--HG--
extra : source : eb09246916bdabc7402daf2640114392952c1b14
extra : histedit_source : 8e9e91f52ea228b175817de75f64fecff2eb01d1
2019-01-07 21:05:36 +01:00
Jan Henning d0d7ab1b82 Bug 1499874 - Part 0b: Remove SessionStore.forgetClosedTab(). r=esawin
Nobody within mobile or toolkit is currently using it.

Differential Revision: https://phabricator.services.mozilla.com/D15328

--HG--
extra : source : 531c402060ecc2bc3d1119ecaf3b49b29e03e3cc
extra : histedit_source : 0e86b12909c5f76605304a0a0ff4088031a7b8b9
2018-12-23 17:45:10 +01:00
Jan Henning adb89fdea3 Bug 1499874 - Part 0a: Use abbreviated function syntax for session store. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D15327

--HG--
extra : source : f12b87c27dfb199a380cb1f0bef175d84cc024f9
extra : histedit_source : 266c4882077f2a4afc1ebbea6ab507223ca93969
2018-12-23 17:53:49 +01:00
Emilio Cobos Álvarez 1728454f1d Bug 1517241 - Fix some more android bustage on a CLOSED TREE.
Got to love unified builds.
2019-01-03 18:43:12 +01:00
Emilio Cobos Álvarez d2ed260822 Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.

Overall it's not a very interesting patch I think.

nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.

I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.

While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Gijs Kruitbosch a1eb21f649 Bug 1516799 - add fluent branding on fennec, r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D15573

--HG--
extra : moz-landing-system : lando
2019-01-02 22:50:45 +00:00
Agi Sferro c0eb110828 Bug 1515978 - Make GeckoRuntime#getSettings @NonNull. r=geckoview-reviewers,droeh
Differential Revision: https://phabricator.services.mozilla.com/D15217

--HG--
extra : moz-landing-system : lando
2019-01-02 20:06:32 +00:00
James Willcox d72a96de1f Bug 1450762 - Don't prompt for device permissions on Android in MediaDevices.enumerateDevices() r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D14575

--HG--
extra : moz-landing-system : lando
2019-01-02 16:44:35 +00:00
Agi Sferro 5dc04f9f8d Bug 1515960 - Add links to CHANGELOG.md. r=snorp,geckoview-reviewers
This adds links from the CHANGELOG to the javadoc.

Differential Revision: https://phabricator.services.mozilla.com/D15213

--HG--
extra : moz-landing-system : lando
2018-12-26 17:25:55 +00:00
Emily Toop eb10410004 Bug 1510663 - Address WifiManager Potential Leak warning. r=geckoview-reviewers,snorp
On versions prior to Android N (24), initializing the WifiManager via Context#getSystemService can cause a memory leak if the context is not the application context.

Differential Revision: https://phabricator.services.mozilla.com/D14721

--HG--
extra : moz-landing-system : lando
2018-12-19 15:50:05 +00:00
Emily Toop 110522d32d Bug 1510648 - Suppress MissingPermission warnings. r=geckoview-reviewers,snorp
This is because these persmissions are the responsibility of the embedding app to request,not GeckoView's.

Differential Revision: https://phabricator.services.mozilla.com/D14722

--HG--
extra : moz-landing-system : lando
2018-12-19 15:49:42 +00:00
Jan Henning 6f640302c0 Bug 1506649 - Part 3: Guess ExternalStorageProvider file paths for non-primary volumes. r=snorp
The AOSP ExternalStorageProvider always creates document IDs of the form
"storage device ID" + ':' + "document path", where the storage device ID will
be "primary" for the primary emulated storage and the file system UUID for
everything else.

Assuming that OEMs won't customise this behaviour, the main problem that needs
to be handled is how to turn the file system UUID back into a file system path.

Differential Revision: https://phabricator.services.mozilla.com/D15259

--HG--
extra : moz-landing-system : lando
2018-12-26 20:38:01 +00:00
Jan Henning 04948eb567 Bug 1506649 - Part 2: Better API version linting. r=snorp
Because getOriginalFilePathFromUri() doesn't use framework methods newer than
Kitkat, instead of a generic @SuppressLint("NewAPI") it would be better to use
@TargetApi(19), so you still get warned if you start using framework methods
more recent than API19.

However because the isKitkat helper variable is only used in one place, in the
end we simply replace it with a direct Build.VERSION.SDK_INT check, so that we
don't have to use any special handling for the linter.

Differential Revision: https://phabricator.services.mozilla.com/D15258

--HG--
extra : moz-landing-system : lando
2018-12-26 20:19:22 +00:00
Jan Henning 13289db4f3 Bug 1506649 - Part 1: Avoid exeception-based control-flow for resolving content://-URIs. r=snorp
Instead, getOriginalFilePathFromUri() will simply *always* return null if it
cannot divine the original file path, and consequently resolveContentUri() will
then always fall back to the temp file method if getOriginalFilePathFromUri()
returns null.

Differential Revision: https://phabricator.services.mozilla.com/D15257

--HG--
extra : moz-landing-system : lando
2018-12-26 20:19:15 +00:00
Hiroyuki Ikezoe f36f418011 Bug 1516307 - Make nsIDOMWindowUtils.getResolution return the result value. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D15318

--HG--
extra : moz-landing-system : lando
2018-12-30 01:15:27 +00:00
Michael Kaply 17389dd116 Bug 1510296 - Update Google search for new codes. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D13087

--HG--
extra : moz-landing-system : lando
2018-12-29 14:21:27 +00:00
Ciure Andrei 13346881fe Backed out changeset f6790e7386ac (bug 1510296) for causing Android build bustages CLOSED TREE 2018-12-29 15:54:35 +02:00
Michael Kaply b79e575381 Bug 1510296 - Update Google search for new codes. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D13087

--HG--
extra : moz-landing-system : lando
2018-12-29 13:19:42 +00:00
Mark Banner 89c3a48f36 Bug 1515729 - Remove Task.jsm usage from mobile/android. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D15464

--HG--
extra : moz-landing-system : lando
2018-12-28 22:36:18 +00:00
Bogdan Tara ddb8707cbc Backed out changeset 2b4dd7891375 (bug 1510296) for build bustages CLOSED TREE 2018-12-29 07:30:23 +02:00