Commit Graph

592758 Commits

Author SHA1 Message Date
Margareta Eliza Balazs
36dec78aec Merge inbound to mozilla-central. a=merge
--HG--
rename : toolkit/mozapps/extensions/internal/XPIProviderUtils.js => toolkit/mozapps/extensions/internal/XPIDatabase.jsm
2018-04-24 12:42:08 +03:00
Boris Zbarsky
36ff5f731b Bug 1456169 part 3. Remove the now-unnecessary nsITextControlElement::GetPreviewNode. r=emilio
MozReview-Commit-ID: 3goF5VXvQap
2018-04-24 02:17:18 -04:00
Boris Zbarsky
f82660f831 Bug 1456169 part 2. Remove the now-unnecessary nsITextControlElement::GetPlaceholderNode. r=emilio
MozReview-Commit-ID: FcVbeHEwkMz
2018-04-24 02:17:17 -04:00
Boris Zbarsky
ca622386bd Bug 1456169 part 1. Remove the now-unnecessary nsITextControlElement::GetRootEditorNode. r=emilio
MozReview-Commit-ID: 6DYEtQMTCRF
2018-04-24 02:17:17 -04:00
Tom Prince
25fe6ae3a0 Bug 1455448: [taskcluster] Use taskgraph indexed decision tasks for finding parameters; r=me
Now that 28db2c96ac69 has been uplifted, get parameters from the new index paths.

--HG--
extra : rebase_source : 17166c55ad85ee153196e1797fe027dc6895beb2
2018-04-23 22:59:59 -06:00
Jim Chen
1184465553 Bug 1448095 - 2. Fix javadoc warnings; r=me 2018-04-24 00:43:51 -04:00
Jim Chen
92148e02ed Bug 1448095 - 1. Add AIDL output to javadoc source; r=me
Add AIDL output directory to javadoc source paths so AIDL classes are
picked up.
2018-04-24 00:43:50 -04:00
Kris Maglione
39792c8bdf Bug 1449071: Disable browser_file_xpi_no_process_switch for too frequent failures. r=me,test-only DONTBUILD
MozReview-Commit-ID: IUOwdb4XHv3
2018-04-23 21:30:39 -07:00
Kris Maglione
7f57158c87 Bug 1363925: Follow-up: Fix more rebase bustage. r=bustage
MozReview-Commit-ID: CpJkphCaNuE
2018-04-23 21:15:56 -07:00
Kris Maglione
b34897b3b6 Bug 1456291: Follow-up: Fix dummy GMP data. r=bustage
MozReview-Commit-ID: 94xc6yDoHls

--HG--
extra : rebase_source : 4fc3d8b7f8b058b568d1f3455a43aee9f9a870e8
2018-04-23 20:50:54 -07:00
Andreea Pavel
1d89ab6a3a Backed out changeset 42781c597745 (bug 1448703) cpu process leakcchecks 2018-04-24 06:47:19 +03:00
Kris Maglione
c655361fd7 Bug 1363925: Follow-up: Fix eslint bustage after rebase. r=bustage DONTBUILD
MozReview-Commit-ID: JOPfyCxb65B
2018-04-23 20:37:06 -07:00
Kris Maglione
e109e359c0 Bug 1363925: Part 8e - Convert AddonInternal classes to ES6 classes. r=aswan
MozReview-Commit-ID: LUwU0JbRn2H

--HG--
extra : rebase_source : f4bbed728a20c799c239640f6676e35ebf0324ef
extra : histedit_source : 2f6dce596319efb28181bafcb7a0eefd3c15b0a9
2018-04-22 15:21:30 -07:00
Kris Maglione
294399b3fb Bug 1363925: Part 8d - Move updateAddonDisabledState to XPIDatabase. r=aswan
This code is large and complex, and can only be called when we have an
AddonInternal object from XPIDatabase.jsm. It should live with that code.

MozReview-Commit-ID: 3ssV5aH9NUJ

--HG--
extra : rebase_source : d54474f67213420678706f04291b246ceee154de
extra : histedit_source : d1a3ca6fd05856a6675380717351e2e1d1568cf1
2018-04-22 15:00:08 -07:00
Kris Maglione
4f17dc56da Bug 1363925: Part 8c - Move isUsableAddon to XPIDatabase.jsm. r=aswan
MozReview-Commit-ID: 1aIA9Lu5sS2

--HG--
extra : rebase_source : ed39e7050d21d116338000234ab0cc4c6d34cf51
extra : histedit_source : f23e525032390d32e203d0b505cbf19d228d5ff6
2018-04-22 14:52:27 -07:00
Kris Maglione
980c561d2e Bug 1363925: Part 8b - Move AddonInternal to XPIDatabase.jsm. r=aswan
AddonInternal objects are only ever created after the database is loaded, so
there's no reason to load that code beforehand. More importantly, creating
the AddonWrapper class is expecially expensive, since most of their properties
are created dynamically. We should avoid doing that at startup when at all
possible.

MozReview-Commit-ID: AaRVN12e1qM

--HG--
extra : rebase_source : d5f9da1f8a54cdeecc45aa9857c6a6329821bb34
extra : histedit_source : 73c67373ad04a397bf9b2c2174c637f8ba645a95
2018-04-22 14:45:02 -07:00
Kris Maglione
a6683dff36 Bug 1363925: Part 8a - Migrate XPIProviderUtils.js to XPIDatabase.jsm. r=aswan
MozReview-Commit-ID: CNfHgCYCkNd

--HG--
rename : toolkit/mozapps/extensions/internal/XPIProviderUtils.js => toolkit/mozapps/extensions/internal/XPIDatabase.jsm
extra : rebase_source : 968e0072b9dfaf7d9f3f9b2c551ae34582ff1934
extra : histedit_source : a5ad9c4e61f8a92f3830953d3db88213f12a5c8b
2018-04-22 14:22:59 -07:00
Kris Maglione
17554348ca Bug 1363925: Part 7c - Turn on valid-jsdoc rule for XPIProviderUtils.js. r=me,npotb
MozReview-Commit-ID: ENdbZ8dicVX

--HG--
extra : rebase_source : 5b87da8abd55ed49d2b03c686545ad4cbacb09c6
extra : histedit_source : 098718bfd845fcc1b3bfff4aecafcdf1d84a82c3
2018-04-22 14:05:17 -07:00
Kris Maglione
fdcc021e51 Bug 1363925: Part 7b - Turn on valid-jsdoc rule for XPIProvider.jsm. r=me,npotb
MozReview-Commit-ID: BQ6N84B2pC3

--HG--
extra : rebase_source : 04b9d4f3331d0de1ef8225b56e0f069265d7d4f4
extra : histedit_source : 287ad8e3c17f19cc7d140fed4f4ef5f4a36a0dc9
2018-04-21 20:51:52 -07:00
Kris Maglione
65b6ddb7e2 Bug 1363925: Part 7a - Turn on valid-jsdoc rule for XPIInstall.jsm. r=me,npotb
MozReview-Commit-ID: Ch1NaeLAxtJ

--HG--
extra : rebase_source : 26ebeec5db42c7ed27bb536cbfb81c41983cb1cc
extra : histedit_source : 4764ba7f0c7239fdca1fb2540e1e92ed07a4569f
2018-04-21 20:28:19 -07:00
Kris Maglione
d099436c30 Bug 1363925: Part 6 - Move staged add-on install logic to XPIInstall. r=aswan
MozReview-Commit-ID: IDXsbKvl5U3

--HG--
extra : rebase_source : a17fb46c989f05c4519b9bce380d89eaca118edd
extra : histedit_source : e3065c8f52311f67eefdb51b13abe26bbba9adaf
2018-04-21 19:47:16 -07:00
Kris Maglione
58a8659f77 Bug 1363925: Part 4 - Move XPIProvider install methods to XPIInstall. r=aswan
MozReview-Commit-ID: DiPA01emGA9

--HG--
extra : rebase_source : e7e755c7ced75b2d884e85349989326d57cdd533
extra : histedit_source : e1227a92de4edbb1994c4f8981d4fc7ec46a637e
2018-04-21 19:06:44 -07:00
Kris Maglione
33ff77dabf Bug 1363925: Part 3 - Move more install logic from XPIProvider to XPIInstall. r=aswan
MozReview-Commit-ID: 87PXV43Lpn9

--HG--
extra : rebase_source : dfc38cfb001455243449d7fe0da7f9294e88c8c2
extra : histedit_source : 6e561d0601dcca8da34c926b72e65a126bd40572
2018-04-21 18:29:33 -07:00
Kris Maglione
beeee1a023 Bug 1363925: Part 2 - Support inferring array length from typed arrays. r=mccr8
MozReview-Commit-ID: FI5ggNE68v7

--HG--
extra : rebase_source : ed20f55c5497486863b89c5b6f6f342c7d938d6a
extra : histedit_source : 99c7eee864fd45fdea64f48a1d056e467ad2f56d
2018-04-21 18:04:22 -07:00
Kris Maglione
e115a440b6 Bug 1456291: Avoid loading the blocklist service before UI is interactive. r=Gijs
The TelemetryEnvironment initialization process currently forces a load and
initialization of the blocklist service only to check its isLoaded flag. This
adds measurable overhead to startup, and without those checks, the service
would not be initialized until after first paint.

We should defer even checking whether the blocklist is loaded until after
startup has finished.

MozReview-Commit-ID: 73c4o5oVqze

--HG--
extra : rebase_source : f97ad4e9f2c96668b4418a1c7fb47a07bc798da7
extra : amend_source : 874240858529280e88f960e40920f009ccccfcbc
2018-04-23 15:03:00 -07:00
Kris Maglione
86b3ec9863 Bug 1372694: Part 2 - Remove support for registering non-bootstrapped extension chrome. r=aswan
MozReview-Commit-ID: FpTfAHWpTnt

--HG--
extra : rebase_source : 0a22166f56a6316957b372f1f45b20822df0d784
extra : amend_source : 0a0d30a995fc032672cf5283627c55b3c26955ac
2018-04-20 17:00:29 -07:00
Masayuki Nakano
40075884e2 Bug 1455218 - Add public Etherpad URIs into the blacklist to take back the legacy keypress event behavior r=smaug
Etherpad has some bugs of handling non-printable key events.
https://github.com/ether/etherpad-lite/issues/3383

Unfortunately, Etherpad can be installed into any URI.  So, we cannot include
all of the instances into the blacklist but we should add URIs in the list
of Etherpad:
https://github.com/ether/etherpad-lite/wiki/Sites-that-run-Etherpad-Lite

I hope that Nightly testers don't use private Etherpad or non-listed Etherpad.

MozReview-Commit-ID: HSAVwGHhW75

--HG--
extra : rebase_source : bd1e579997c773de27476630a097bda70031107f
2018-04-19 16:24:00 +09:00
Masayuki Nakano
b2591d7753 Bug 1455229 - Add keep.google.com into the blacklist to take back legacy keypress event behavior r=smaug
With the strict keypress event dispatching mode, cannot navigate between
list items in keep.google.com.  So, until they fix this issue, we should
include keep.google.com into the blacklist for Nightly testers.

MozReview-Commit-ID: CXNoirrgeR

--HG--
extra : rebase_source : 62af31e7bb6d8070bb57430fdbc847d5d44c0125
2018-04-19 16:59:40 +09:00
Masayuki Nakano
5aebfb1bc2 Bug 1454833 - Allow to use legacy keypress event behavior in hangouts.google.com r=smaug
hangouts.google.com is used Hangouts in Gmail window.  In this window, shortcut
keys are handled with keypress event for Gecko.  Therefore, we need to add
hangouts.google.com into the blacklist.

MozReview-Commit-ID: 607imegrmwj

--HG--
extra : rebase_source : c17890b5fd4fed54302fc2d8ecd40b1801f37520
2018-04-18 14:12:30 +09:00
Andreea Pavel
a608b0b7f9 Backed out changeset cf1022433399 (bug 1433574) Linux build bustages on a CLOSED TREE 2018-04-24 04:35:07 +03:00
Ciure Andrei
84bde96dc6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-24 04:26:26 +03:00
Andrew Swan
a359959d1e Bug 1433574 Remove startup addon update check r=kmag
MozReview-Commit-ID: AjcRaDqjDNy

--HG--
extra : rebase_source : a95e8b61647d7fb91a3d5b455ba55a056fe0c2bc
2018-04-23 14:59:11 -07:00
Tom Prince
0de4a5fd3d Bug 1455448: Don't include firefox in the decision task index; r=dustin,mshal,rail,Callek a=release
The decision task is used for everything built as part of a push (for
mozilla-central, this is firefox, devedition and fennec, as well as tasks that
aren't strictly part of any product). Thus, having `firefox` encoded as part of
the decision task doesn't make sense.

This changes the route from
    index.gecko.v2.${repository.project}.latest.firefox.decision
to
    index.gecko.v2.${repository.project}.latest.taskgraph.decision
while leaving the latter for backwards compatability with tools that expect it.

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

--HG--
extra : rebase_source : c4c4691bb4633225e5e37b21982b916f76353e27
extra : source : 6ef1607a3e63250eefbda5333d61fd338c23311d
2018-04-19 15:32:02 -06:00
Ciure Andrei
33e644e1da Merge inbound to mozilla-central. a=merge 2018-04-24 04:14:21 +03:00
Miko Mynttinen
6606aea17f Bug 1454653 - Do not skip transparent items in ContainerState::FindOpaqueBackgroundColorInLayer() r=mattwoodrow
MozReview-Commit-ID: NGnL8r9x0U

--HG--
extra : rebase_source : d782eae5bcb8873eff7ccf564c48067cfb97ff2b
2018-04-23 17:33:16 +02:00
Jeff Muizelaar
b80a5b938a Bug 1455488. Blend modes are container items. r=mstange
BLEND_MODE and BLEND_CONTAINER wrap items so their bounds can change.
We need to account for that like we do with OPACTIY etc.

--HG--
extra : rebase_source : fbd2d79eaad5c7347335416d369c8cae37aad447
2018-04-23 17:38:38 -04:00
Gregory Szorc
8f5adf5328 Bug 1455708 - Find Python 3 in MozillaBuild, require Python 3 everywhere; r=mshal
We previously did not require Python 3.5+ everywhere because we failed
to detect Python 3.5 on Windows in CI. That's because CI isn't using
start-shell.bat and it hasn't yet updated PATH to include
%MOZILLABUILD%\python3.

We shouldn't need to teach CI to have PATH contain everything in
MozillaBuild. This commit teaches moz.configure to automatically use
MozillaBuild's Python 3 if we're running in MozillaBuild.

Since we can now detect Python 3 everywhere in CI, we make Python 3.5+
required on all build configurations.

MozReview-Commit-ID: BwgWGeYMyPM

--HG--
extra : rebase_source : b52f604b01c73b0493b142f3f71aa26c99a42b91
2018-04-20 12:44:05 -07:00
Justin Wood
d289c494d6 Bug 1455100 - Make devedition its own language pack addon id, by using MOZ_LANGPACK_EID again. r=nalexander,Pike
MozReview-Commit-ID: z1SJmCQflq

--HG--
extra : rebase_source : 4d5b6941f907e0e062a7f4466a246696290823fe
2018-04-19 14:48:11 -04:00
Matt Woodrow
66ef22faf5 Bug 1439809 - Store the display list index on the display items during PreProcessDisplayList so that we can do lookup without a hashtable. r=miko,mstange
MozReview-Commit-ID: IYGk2KNkeY1

--HG--
extra : rebase_source : 11f9e6b3ff57ee129e339c882b7b53369e21308a
2018-04-24 12:59:11 +12:00
Matt Woodrow
1c08a21338 Bug 1439809 - Add an index parameter to nsDisplayWrapList to prevent scrollbar frames from creating duplicates. r=mattwoodrow
MozReview-Commit-ID: 8somakqqA3P

--HG--
extra : rebase_source : 9d82377196b53c3df3f2bfd4683d8454b1a3fa86
2018-04-24 12:59:08 +12:00
Aaron Klotz
1244a64ac7 Bug 1455110: Replace RegOpenKeyEx/RegQueryValueEx with RegGetValue; r=jimm 2018-04-18 14:52:02 -06:00
Bogdan Tara
839cc5dd48 Backed out 4 changesets (bug 1437551) for build bustages on Android /builds/worker/workspace/build/src/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoSession.java a=backout CLOSED TREE
Backed out changeset 781457239e63 (bug 1437551)
Backed out changeset 2f30bed54236 (bug 1437551)
Backed out changeset 6badc13e1d21 (bug 1437551)
Backed out changeset 5582b64d4a8b (bug 1437551)
2018-04-24 01:27:50 +03:00
Eugen Sawin
bca9b0ee59 Bug 1437551 - Rebase on bug 1441810. r=me CLOSED TREE 2018-04-23 23:31:06 +02:00
Eugen Sawin
aeda0a9513 Bug 1437551 - [3.2] Move generic callback out of GeckoSession. r=snorp,jchen CLOSED TREE 2018-04-23 23:22:05 +02:00
Eugen Sawin
3aa42d1204 Bug 1437551 - [2.6] Add GeckoRuntime telemetry API backend. r=jchen,Dexter CLOSED TREE 2018-04-23 23:21:50 +02:00
Eugen Sawin
94293a2cda Bug 1437551 - [1.4] Add GeckoRuntime telemetry API. r=snorp,jchen CLOSED TREE 2018-04-23 23:21:40 +02:00
Bogdan Tara
a95b957c7e Backed out 2 changesets (bug 1437551) for build bustages on Android /builds/worker/workspace/build/src/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoSession.java a=backout CLOSED TREE
Backed out changeset 4b780b06d2eb (bug 1437551)
Backed out changeset a401bb9e1aa4 (bug 1437551)
2018-04-23 23:50:55 +03:00
J.C. Jones
40898591b9 Bug 1432181 - Revert spurious npm-shrinkwrap.json changes r=me CLOSED TREE
npm-shrinkwrap.json got updated spuriously in pushing ec5e58165939 [1], which
should not have happened. This reverts that spurious change to go back to
sha-512 hashes.

[1] https://hg.mozilla.org/integration/mozilla-inbound/rev/ec5e58165939

--HG--
extra : amend_source : 2a21f05ff8bafd8ccd57e69acf81988455822aef
2018-04-23 22:18:02 +02:00
Dylan Roeh
642ee0c289 Bug 1441810 - Add GeckoSession.SavedState and session save/restore API to GeckoSession r=snorp,jchen 2018-04-23 14:28:52 -05:00
Dylan Roeh
a485989fee Bug 1441810 - Add session save/restore code to GeckoViewContent r=snorp,jchen 2018-04-17 14:13:10 -05:00