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

27066 Коммитов

Автор SHA1 Сообщение Дата
Eitan Isaacson 3bb071595c Bug 1479037 - Introduce native event support 4/4. r=jchen,yzen?jamie
Depends on D6683

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

--HG--
extra : moz-landing-system : lando
2018-10-11 16:22:11 +00:00
Eitan Isaacson 65050213b6 Bug 1479037 - Implement native accessible tree 3/4. r=Jamie
Depends on D6682

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

--HG--
extra : moz-landing-system : lando
2018-10-11 16:21:09 +00:00
Eitan Isaacson 5c76903078 Bug 1479037 - Remove virtual content node, js autofill, and event support 2/4. r=jchen,yzen
Disabled most jsunit tests temporarily in this patch. Will modify and bring them
back up in later patches, as stuff is reimplemented.

Disabled most jsat mochitests. Will have a followup for but reënabling or
porting, depending on the test.

Depends on D6681

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

--HG--
extra : moz-landing-system : lando
2018-10-11 16:21:01 +00:00
Qinghao_Jack_Song 2d26d932b7 Bug 1486934 - Modify about:about to use fluent for localization r=Gijs,flod,jaws,Pike
Differential Revision: https://phabricator.services.mozilla.com/D5311

--HG--
extra : moz-landing-system : lando
2018-10-10 17:41:47 +00:00
Ciure Andrei 74d2eeef4c Backed out 3 changesets (bug 1496220) for browser_e10s_switchbrowser.js and test_findbar.xul failures CLOSED TREE
Backed out changeset 70505741627f (bug 1496220)
Backed out changeset daf7ced3bbcc (bug 1496220)
Backed out changeset abf2e04e30e4 (bug 1496220)
2018-10-11 01:03:27 +03:00
Jim Chen 90a2822ab1 Bug 1496220 - 2. Default to null triggering principal for GeckoView.loadUri; r=esawin
For improved security, default to a null triggering principal for
GeckoView.loadUri calls, except when loading certain privileged schemes
such as "resource" and "file".

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

--HG--
extra : moz-landing-system : lando
2018-10-05 13:43:05 +00:00
Jim Chen 46f4db9a26 Bug 1497259 - 3. Control GV logging through pref; r=droeh
Use the "geckoview.logging" pref to control GV logging.

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

--HG--
extra : moz-landing-system : lando
2018-10-10 17:36:13 +00:00
Jim Chen 006913a322 Bug 1497259 - 2. Don't log auto-fill values; r=droeh
Auto-fill values can contain personal information and must not appear in
the log.

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

--HG--
extra : moz-landing-system : lando
2018-10-10 17:36:11 +00:00
Jim Chen 3b23e49920 Bug 1497259 - 1. Fix log module names; r=droeh
Fix the GV log module names so they are all under the GeckoView group.

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

--HG--
extra : moz-landing-system : lando
2018-10-10 17:36:03 +00:00
Daniel Varga 4f26bbce63 Merge autoland to mozilla-central. a=merge 2018-10-10 19:07:16 +03:00
Dorel Luca 92a3152cee 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
Andrei Lazar e68344d8c9 Bug 1478735 Download with target=_blank switches to other tab target=_blank r=JanH,jchen
Download with target=_blank now switches to the parent tab.

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

--HG--
extra : moz-landing-system : lando
2018-10-10 09:49:07 +00:00
Nick Alexander 7a37efeec6 Bug 1418464 - Part 2: Do less work when packaging GeckoView. r=mshal,jchen
There are two significant parts to this commit.  The first avoids
scanning for duplicates in the omnijar when packaging locally.  The
Fennec/GeckoView local development edit-test-compile loop _always_
includes packaging, so these developers always pay to scan for
duplicates.  And, for historical reasons (Bug 1351000), we build both
a Fennec and a GeckoView omnijar, so these developers pay to scan
twice!  Since scanning for duplicates isn't something that local
developers are likely to act on, let's not do this at all (rather
than, say, only once for Fennec).

The second avoids stripping and XZ compressing Fennec/GeckoView asset/
libraries twice.  A little path hacking allows to exploit the fact
that the executable processing is idempotent, saving a significant
amount of time during |mach package|.

The final part of this commit just reduces the verbosity of a
`zipalign` invocation.

Depends on D7314

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

--HG--
extra : moz-landing-system : lando
2018-10-09 18:35:51 +00:00
Nick Alexander 5d4e0021b0 Bug 1418464 - Part 1: XZ compress in the packager rather than package_fennec_apk.py. r=mshal
By doing this in the packager, it makes it easier to incorporate the
strip and XZ compress logic into the local Gradle build process.

To that end, this patch makes XZ compression a little more explicit in
package-manifest.in and lifts the logic next to the existing logic for
stripping.  Since we only want to XZ compress assets/ (and not libs/),
we need a new flag.

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

--HG--
extra : moz-landing-system : lando
2018-10-09 18:35:22 +00:00
Eitan Isaacson 8102b1e502 Bug 1479037 - Introduce native event support 4/4. r=jchen,yzen?jamie
Depends on D6683

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

--HG--
extra : moz-landing-system : lando
2018-10-09 17:21:01 +00:00
Eitan Isaacson f3d88538aa Bug 1479037 - Implement native accessible tree 3/4. r=jchen,yzen
Depends on D6682

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

--HG--
extra : moz-landing-system : lando
2018-10-09 17:20:53 +00:00
Eitan Isaacson 3d1cc19600 Bug 1479037 - Remove virtual content node, js autofill, and event support 2/4. r=jchen,yzen
Disabled most jsunit tests temporarily in this patch. Will modify and bring them
back up in later patches, as stuff is reimplemented.

Disabled most jsat mochitests. Will have a followup for but reënabling or
porting, depending on the test.

Depends on D6681

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

--HG--
extra : moz-landing-system : lando
2018-10-09 17:20:46 +00:00
Diego Pino Garcia 45377e5099 Bug 1481199 - Drop the obsolete dataType parameter for nsIBrowserSearchService.addEngine. r=mkaply 2018-10-09 13:39:35 +01:00
Petru Lingurar 53dceac9f9 Bug 1421174 - Remove old AddToHomeScreenPromotion; r=jchen
Deprecated by offering full support for Progressive Web Applications.

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

--HG--
extra : moz-landing-system : lando
2018-10-08 05:42:14 +00:00
Tiberius Oros 14deb0fb08 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-06 00:47:12 +03:00
Ciure Andrei 148577fc45 Backed out 2 changesets (bug 1418464) for test_packager.py build bustages CLOSED TREE
Backed out changeset d6794cb231e1 (bug 1418464)
Backed out changeset cc793c2d8cee (bug 1418464)
2018-10-05 22:11:05 +03:00
Nick Alexander 6775a73579 Bug 1478411 - Make DTD entity expansion in strings.xml surface errors when entities are missing. r=jchen
This is awkward but works locally (and should work in automation,
which also displays the "[Fatal Error]" strings).  The pattern was
taken from GeckoView's amplification of the Kotlin compilers output
warnings.

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

--HG--
extra : moz-landing-system : lando
2018-10-05 17:51:17 +00:00
Dorel Luca d38f8c56e1 Backed out changeset a858092c4df7 (bug 1481199) for browser chrome failure in browser/base/content/test/general/browser_contentSearchUI.js
--HG--
extra : rebase_source : dea21b63eeae35ecdbc970465beb0b015cd747fc
2018-10-05 19:30:44 +03:00
Diego Pino Garcia 15b3794bc8 Bug 1481199 - Drop the obsolete dataType parameter for nsIBrowserSearchService.addEngine. r=mkaply
--HG--
extra : rebase_source : 3c229fd8f3f99946ac178b51e7677d85d982834f
2018-10-05 08:02:00 +03:00
Eugen Sawin d3ba71da85 Bug 1495030 - [1.0] Add third-party tracker cookies blocking setting. r=snorp,baku 2018-10-05 14:55:05 +02:00
Edouard Oger 7b17823318 Bug 1484059 p3 - Bump the device registration version to 3 r=rfkelly
Depends on D7672

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

--HG--
extra : moz-landing-system : lando
2018-10-05 01:45:15 +00:00
Edouard Oger 5f5805efba Bug 1484059 p2 - Use sendRequestForResult instead of sendRequest when dispatching an error r=lina
The Java PushService drops messages without a callback, fix this by calling
sendRequestForResult instead which sends a callback along messages.

Depends on D7671

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

--HG--
extra : moz-landing-system : lando
2018-10-05 01:32:21 +00:00
Edouard Oger ad5e1f5d33 Bug 1484059 p1 - Pass both the profile name and the profile dir in initGecko() r=jchen
GeckoProfile.initFromArgs is called using the values set in initGecko.
initFromArgs will then only recognize a profileDir, leave profileName null,
and then call GeckoProfile.get who will then create a "Custom (anonymous)
profile with specified dir." type of GeckoProfile, which is incorrect.
We fix the profile by specifying both -profile and -P in the args string.

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

--HG--
extra : moz-landing-system : lando
2018-10-05 03:15:41 +00:00
Nick Alexander 8ccc27975c Bug 1495544 - Don't run dexcount in local (non-official) Gradle builds. r=jchen
Differential Revision: https://phabricator.services.mozilla.com/D7634

--HG--
extra : moz-landing-system : lando
2018-10-04 03:28:26 +00:00
Nick Alexander 52b602c138 Bug 1418464 - Part 2: Do less work when packaging GeckoView. r=mshal,jchen
There are two significant parts to this commit.  The first avoids
scanning for duplicates in the omnijar when packaging locally.  The
Fennec/GeckoView local development edit-test-compile loop _always_
includes packaging, so these developers always pay to scan for
duplicates.  And, for historical reasons (Bug 1351000), we build both
a Fennec and a GeckoView omnijar, so these developers pay to scan
twice!  Since scanning for duplicates isn't something that local
developers are likely to act on, let's not do this at all (rather
than, say, only once for Fennec).

The second avoids stripping and XZ compressing Fennec/GeckoView asset/
libraries twice.  A little path hacking allows to exploit the fact
that the executable processing is idempotent, saving a significant
amount of time during |mach package|.

The final part of this commit just reduces the verbosity of a
`zipalign` invocation.

Depends on D7314

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

--HG--
extra : moz-landing-system : lando
2018-10-05 18:29:04 +00:00
Nick Alexander 2f10ff4106 Bug 1418464 - Part 1: XZ compress in the packager rather than package_fennec_apk.py. r=mshal
By doing this in the packager, it makes it easier to incorporate the
strip and XZ compress logic into the local Gradle build process.

To that end, this patch makes XZ compression a little more explicit in
package-manifest.in and lifts the logic next to the existing logic for
stripping.  Since we only want to XZ compress assets/ (and not libs/),
we need a new flag.

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

--HG--
extra : moz-landing-system : lando
2018-10-05 18:29:12 +00:00
Jim Chen 605abe9bb4 Bug 1492704 - 2. Keep track of the auto-fill focus root node; r=droeh
The crash is happening because we may not have a full node tree when
looking at a particular node; in that case we may not be able to find
the root node. This patch makes us keep track of the root node from the
beginning, so we always know what the root node is.

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

--HG--
extra : moz-landing-system : lando
2018-10-04 20:41:40 +00:00
Jim Chen 60f51ffb1e Bug 1492704 - 1. Update auto-fill then selecting tabs; r=petru
Update auto-fill info when selecting tabs. Also for auto-fill focus and
page events, only handle those events for the foreground tab, so
events from background tabs don't inadvertently affect auto-fill for the
foreground tab.

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

--HG--
extra : moz-landing-system : lando
2018-10-04 20:41:37 +00:00
Narcis Beleuzu bcd56bfa14 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-04 12:29:16 +03:00
Petru Lingurar d7ba417b2c Bug 1496073 - [Tablets] Hide Notification settings header when unnecessary; r=jchen
Followup to bug 1456110 which didn't account for the Settings headers
used on tablets.

Currently the Notification settings screen lets the user enable/disable
two types of notifications, both depending on Switchboard experiments.
If none of those experiments are available for the user, the entire settings
group will be hidden to avoid any confusion.

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

--HG--
extra : moz-landing-system : lando
2018-10-04 03:27:42 +00:00
Noemi Erli 8bb8254a13 Merge inbound to mozilla-central. a=merge 2018-10-04 07:03:25 +03:00
Gabriele Svelto 48c15cfda0 Bug 1494203 - Ensure the pattern we're highlighting is not interpreted as a regular expression r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D6891

--HG--
extra : moz-landing-system : lando
2018-10-03 16:24:51 +00:00
Nick Alexander ceef29e5a6 Bug 1443332 - Fold APK signing from android-common.mk into upload-files-APK.mk. r=firefox-build-system-reviewers,mshal
This merely centralizes logic that was formerly used at multiple sites
into the single remaining use site.

None of the JAVA* flags have been used for a long time.

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

--HG--
extra : moz-landing-system : lando
2018-10-03 18:05:27 +00:00
Timothy Guan-tin Chien 2e00212a8e Bug 1483656 - Part II, Allow CastingApps to send its events to the right place r=jaws
When the chrome script receives a DOM event, Event.target is no longer the
NAC-containing <video> element. This patch allow the CastingApps.js to find
the right element.

Depends on D5085

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

--HG--
extra : moz-landing-system : lando
2018-10-02 20:07:39 +00:00
Timothy Guan-tin Chien ab99365a10 Bug 1483656 - Part I, Correct references in TouchUtils r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D6423

--HG--
extra : moz-landing-system : lando
2018-10-03 15:14:36 +00:00
Noemi Erli 59a5180ce6 Backed out changeset a42437c2e1fe (bug 1478735) for failures in mobile/android/tests/browser/chrome/test_session_parentid.html 2018-10-03 20:20:20 +03:00
Andrei Lazar 51c4e21fd2 Bug 1496079 cannot view files due to missing READ_STORAGE_PERMISSION r=JanH
Fixed the issue where the read storage permission was not requested due to a typo.

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

--HG--
extra : moz-landing-system : lando
2018-10-03 14:36:51 +00:00
Andrei Lazar 98afc06efc Bug 1478735 Download with target=_blank switches to other tab target=_blank r=JanH,jchen
Download with target=_blank now switches to the parent tab.

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

--HG--
extra : moz-landing-system : lando
2018-10-02 20:13:32 +00:00
Randall Barker 6e23a6c1c5 Bug 1495907 - Ensure MediaService self terminates when parent process dies r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D7548

--HG--
extra : moz-landing-system : lando
2018-10-03 14:43:43 +00:00
Vlad Baicu 24ebfe37a7 Bug 1397174 - Fix scale issue for AdaptiveIconDrawables. r=JanH
Added a check for AdaptiveIconDrawables and a way to resize them to our specific size.

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

--HG--
extra : moz-landing-system : lando
2018-10-02 18:54:15 +00:00
Daniel Varga 85e94da039 Merge mozilla-inbound to mozilla-central. a=merge 2018-10-03 08:04:21 +03:00
Daniel Varga 2e77181988 Merge mozilla-central to autoland. a=merge on a CLOSED TREE
--HG--
extra : rebase_source : 62429b85fcd6af71ca898dc36c3f0f4a2c4ee5ae
2018-10-03 00:49:53 +03:00
Jim Chen 713d1d9d23 Bug 1492308 - 5. Make various objects use the new disposal mechanism; r=snorp
Make LayerViewSupport, NPZCSupport, GeckoEditableSupport, and
SessionAccessibility use the new disposal mechanism to ensure the
disposal is performed safely.

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

--HG--
extra : moz-landing-system : lando
2018-10-02 19:59:40 +00:00
Jim Chen d1b555666e Bug 1492308 - 3. Add test for tapping after content crash; r=snorp
Add a test for the crash scenario where PZC is used after content
crashes and restarts.

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

--HG--
extra : moz-landing-system : lando
2018-10-02 19:59:34 +00:00
Jim Chen 53c6c70b65 Bug 1492308 - 1. Generate natives binding for all JNIObject classes; r=snorp
Right now we skip generating natives binding for a class if the class
doesn't have native methods. However, we should still generate the
natives binding for JNIObject classes because these classes can still be
attached to C++ objects even without native methods.

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

--HG--
extra : moz-landing-system : lando
2018-10-02 19:59:28 +00:00