Commit Graph

539438 Commits

Author SHA1 Message Date
Shane Caraveo
18810facfb Bug 1342708 fix datalist failure in webext popups, r=kmag
MozReview-Commit-ID: FbTB9h3TTdq

--HG--
extra : rebase_source : e6dcd759713b62cd6d71172feebf7d788079bf62
2017-06-01 16:20:34 -07:00
Ryan VanderMeulen
6e98307c04 Backed out 3 changesets (bug 1368674) for Android test failures.
Backed out changeset ff3c813fcdea (bug 1368674)
Backed out changeset 0d9bb636b9a9 (bug 1368674)
Backed out changeset 1d0202706572 (bug 1368674)
2017-06-01 19:21:31 -04:00
Edouard Oger
9d1dc7c4a7 Bug 1368560 part 2 - Move Svc.Crypto to Weave.Crypto. r=markh
MozReview-Commit-ID: 74IFsVjZSgz

--HG--
extra : rebase_source : 00f77b7a24a509d5e9fabb8ee7793a59b38f639f
2017-05-29 13:24:01 -04:00
Edouard Oger
2c61cf7eb4 Bug 1368560 part 1 - Remove un-used legacy crypto methods. r=markh
MozReview-Commit-ID: JbzweOMFLpR

--HG--
extra : rebase_source : f7cece36dce26c96a740aede6c696deb08345a90
2017-05-29 17:27:13 -04:00
Jeff Hajewski
12f7c1e837 Bug 1369448 - Change NS_STYLE_WHITESPACE macro definitions to enum class; r=manishearth
MozReview-Commit-ID: HUXYWXk8eiI
2017-06-01 15:37:22 -07:00
Jeff Hajewski
0f9e46262c servo: Merge #17121 - stylo: Fix serialization of system fonts (from Manishearth:stylo-system-font-ser); r=upsuper
Source-Repo: https://github.com/servo/servo
Source-Revision: cfdb6af53b065d92fae028e48bf5e6c2c180dc56

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1e89e58419211b63956ac8e0fd85c71b354628e9
2017-06-01 14:04:41 -07:00
Rob Wu
7802980fa2 Bug 1307852 - Pass ID of calling add-on to native messaging app r=aswan
This allows native messaging binaries to identify the add-on that
invoked the native messaging app, in case more than one add-on is
allowed to launch the native messaging app.

MozReview-Commit-ID: GgjwfJDbBkW

--HG--
extra : rebase_source : b60d33e9f3936f26b8792ef5cd1f9fea304f29ae
2017-06-01 19:08:02 +02:00
Mike Conley
34fee886ae Bug 1369491 - Write reflow tests for the new Photon appmenu and its subviews. r=florian
MozReview-Commit-ID: FaIf0GXRaUs

--HG--
extra : rebase_source : a3b3507b9737cbbd3440f22163dc2bb984ed5abe
2017-05-31 17:10:30 -04:00
Gregory Szorc
612630dd35 Bug 1359965 - Support and generate tar.gz WPT archive; r=glandium
Several years ago there was a single zip file for all test files. Clients
would only extract the files they needed. Thus, zip was a reasonable
archive format because it allowed direct access to members without
having to decompress the entirety of the stream.

We have since split up that monolithic archive into separate,
domain-specific archives. e.g. 1 archive for mochitests and one
for xpcshell tests. This drastically cut down on network I/O
required on testers because they only fetched archives/data that
was relevant. It also enabled parallel generation of test archives,
we shaved dozens of seconds off builds due to compression being
a long pole.

Despite the architectural changes to test archive management, we
still used zip files. This is not ideal because we no longer access
specific files in test archives and thus don't care about single/partial
member access performance.

This commit implements support for generating tar.gz test archives.
And it switches the web-platform archive to a tar.gz file.

The performance implications for archive generation are significant:

before: 48,321,250 bytes; 6.05s
after:  31,844,267 bytes; 4.57s

The size is reduced because we have a single compression context
so data from 1 file can benefit compression in a subsequent file.
CPU usage is reduced because the compressor has to work less with
1 context than it does with N. While I didn't measure it, decompression
performance should also be improved for the same reasons. And of course
network I/O will be reduced.

mozharness consumers use a generic method for handling unarchiving.
This method automagically handles multiple file extensions. So as long
as downstream consumers aren't hard coding ".zip" this change should
"just work."

MozReview-Commit-ID: LQa5MIHLsms

--HG--
extra : rebase_source : 100092c2f2ff609362a724fff60f46dd6e49c94e
extra : intermediate-source : d10f5ccd882b965fcad39914f7c3c930d1301a41
extra : source : a0e257e346ccf3c1db332ec5903241f4eeb9a7ee
2017-05-08 17:19:05 -07:00
Gregory Szorc
df5138f5a5 Bug 1359965 - Support mozpack.file.BaseFile in create_tar_from_files; r=glandium
This allows us to write files coming from a finder or other source
that isn't directly the filesystem.

MozReview-Commit-ID: KhPSD0JYzsQ

--HG--
extra : rebase_source : fea376f642e20e8c7723506fd4a73e3f8ac5d0e5
extra : intermediate-source : a872303fd08497bbde0e3b4cea09a88a4182810e
extra : source : ae8bce278626bc84914063f93292ac5e825eec36
2017-05-08 17:00:20 -07:00
milindl
e39cee520c Bug 653816 - returning only nontags for GetBookmarkIdsForURI and fixing consumers, r=mak
Most consumers of `GetBookmarkIdsForURI` already don't need tags, the only
consumer which does (`TaggingService`) has been changed to use a separate
database query.

MozReview-Commit-ID: LabjaA6Q0GF

--HG--
extra : rebase_source : e13dc730a53b5b46ca1766bf896112aa65aa00af
2017-05-30 19:48:17 +05:30
Marco Bonardo
9aaa626c5e Bug 1368451 - Nightly Tester Tool default bookmark icon is missing. r=Felipe
MozReview-Commit-ID: AYVZR7fPRUi

--HG--
extra : rebase_source : 547b75a632e0198a1218f6e2a7f3412601c5b434
2017-06-01 19:01:58 +02:00
Jan-Ivar Bruaroey
362c199aef Bug 1368875 - Count {video: true} and {audio: true} toward cam and mic counts respectively. r=jesup
MozReview-Commit-ID: BgdvRLpueit

--HG--
extra : rebase_source : 0e271bfd7547099586b3014e551bf6e3282c010a
2017-05-30 21:57:37 -04:00
Emilio Cobos Álvarez
7ca8bf2c5e Bug 1369187: More expectation updates. r=emilio
MozReview-Commit-ID: I2p6NltNn5r
2017-06-01 23:23:49 +02:00
David Burns
5fe3dc363a Bug 1368674 - Remove setTestName functionality from Marionette r=whimboo
setTestName was used for logging which test was being run for the
JS Tests used in B2G.

MozReview-Commit-ID: FNF4Sm7vAYM

--HG--
extra : rebase_source : b12fd8ce04e7da739a8a5ec0e7b30b6734c58e4a
2017-05-30 16:28:36 +01:00
David Burns
dd5ef53ea6 Bug 1368674 - Remove JS Test support in Marionette Harness r=maja_zf
MozReview-Commit-ID: 11Zc7KL3djD

--HG--
extra : rebase_source : 2f0d9995b5ba40e5338fe458395d15abf7704825
2017-05-30 15:07:19 +01:00
David Burns
8cb144921e Bug 1368674 - Remove simpleTest functionality from Marionette. r=whimboo
This is a remanent of the B2G code for injecting Mochitest style tests
into Gecko. This is no longer used by anything and is now dead code.

MozReview-Commit-ID: 4qaB3vxQzon

--HG--
extra : rebase_source : 3af2c7655ecd2d03f266d0a1ad02eadfea1b1a0b
2017-05-30 13:51:02 +01:00
Mike de Boer
d578bbb9d9 Bug 1341722 - enable WebExtension themes by default on Nightly and Aurora channels. r=andym
MozReview-Commit-ID: FNhyeiK3He7

--HG--
extra : rebase_source : cf012a2d638e35b0d55d3b0bb99e249997224481
2017-06-01 12:19:15 +02:00
Mike Hommey
a95e3eb0b4 Bug 1365419 - Fixup l10n packager after bug 780562. r=gps
The change to l10n packager from bug 780562 worked in practice because
no chrome category had exclusively manifest entries with flags, which
we're changing in this bug.

It turns out this was only due to a missing change in the patch for bug
780562.

--HG--
extra : rebase_source : 3c8c31c37d8fb48bb99b1758bcd8ef5f32c71fe0
2017-05-26 11:24:40 +09:00
Mike Hommey
643e3d3ea9 Bug 1365419 - Rename global-platform/gtk back to global-platform/unix. r=bsmedberg
In case some legacy third-party things were relying on those files being
under a unix/ directory, revert the part of changeset c94e87a18096 that
renamed global-platform/unix to global-platform/gtk.

--HG--
extra : rebase_source : bb78b309fe59ee5f76f276e54539e157eb019e69
2017-05-26 10:24:20 +09:00
Mike Hommey
69a5734db2 Bug 1365419 - Use the new os=LikeUnix flag instead of relying on overrides. r=bsmedberg
Since it wasn't possible to have specific manifest entries for !Darwin
!WINNT !Android, a few places in the tree use the following pattern:
   entry-for-unix
   entry-for-osx os=Darwin
   entry-for-windows os=WINNT

This works because subsequent manifest entries with more specific flags
override previous manifest entries.

Incidentally, this led to problems such as the one mentioned in
changeset c94e87a18096.

Now that there is a flag for !Darwin !WINNT !Android, we can use it
instead.

--HG--
extra : rebase_source : 6f20a9b31d48c8ee4126662730e95789de740971
2017-05-26 10:05:26 +09:00
Mike Hommey
6a0f9240a2 Bug 1365419 - Allow to apply manifest entries for all non-(Darwin,Windows,Android) OSes. r=bsmedberg
Manifest entries can contain flags, one of which allows to match on the
os running Gecko. The match is performed against the value returned by
nsIXULRuntime.getOS, which itself comes from the build-system's
OS_TARGET.

In practice, this means that things like os=WINNT, os=Darwin,
os=Android, os=Linux are valid filters, but the latter is too specific,
and most of the time, one would want something that is "any OS but
WINNT, Darwin, Android", which can't be expressed with manifest entry
flags (there is no "and" for them, only "or").

For convenience, we add the keyword "LikeUnix", which has that meaning.

--HG--
extra : rebase_source : ce2549fab96cb1df3f984e43cb08413cad49479e
2017-05-26 08:56:18 +09:00
Ryan VanderMeulen
e36ce0e346 Backed out 3 changesets (bug 1368674) for flake8 failures.
Backed out changeset 9aa183c8533e (bug 1368674)
Backed out changeset 837ccbc38bfc (bug 1368674)
Backed out changeset 7f4f851da483 (bug 1368674)
2017-06-01 16:54:10 -04:00
Ryan VanderMeulen
9293b561a2 Merge m-c to autoland. a=merge 2017-06-01 16:44:19 -04:00
Ryan VanderMeulen
187f1f3dfe Merge inbound to m-c. a=merge 2017-06-01 16:43:30 -04:00
Ryan VanderMeulen
30d19a2167 Backed out changeset 26e9faf36fc0 (bug 1368490) for bustage on a CLOSED TREE. 2017-06-01 13:19:30 -04:00
Jan Varga
bcf0c87a3a Bug 1356824 - Don't clear mWaitingFactoryOp without holding a self reference in (Open|Delete)DatabaseOp::NoteDatabaseClosed(). r=btseng
Remove now useless self reference in OpenDatabaseOp::SendResults(). Add comments for how to call
FactoryOp::Run() safely and also add comments to all the call sites. This prevents a self destruction
while Run() (or a method that is called by Run()) is still being executed. Also fix
TransactionDatabaseOperationBase which also calls Run() directly in NoteContinueReceived().

--HG--
extra : rebase_source : dcc5f6e7e2974e8e0730687dd0dedac9d3e60060
2017-06-01 13:08:52 -04:00
David Burns
06b3c56c83 Bug 1368674 - Remove setTestName functionality from Marionette r=whimboo
setTestName was used for logging which test was being run for the
JS Tests used in B2G.

MozReview-Commit-ID: FNF4Sm7vAYM

--HG--
extra : rebase_source : 6ad739d2ff9bf3d6bafaed0450c8794a257657e7
2017-05-30 16:28:36 +01:00
Alex Gaynor
61cc4acf59 Bug 1363760 - Part 3 - In tests, install SpecialPowers and mochijar as non-temporary addons r=ahal
This means they will be copied to $PROFILE/extensions, which the sandbox allows
access to; if they are installed as temporary addons, loading frame scripts in
the content process tries to read from wherever they happen to be on disk. This
breaks running tests with a packaged build once we have full read-restrictions
for the content process sandbox.

MozReview-Commit-ID: 7ZiiM9FMXfG

--HG--
extra : rebase_source : d2cf3a2d06df9099dc6056fae351200eaa1d0ca9
2017-05-30 10:09:57 -04:00
Alex Gaynor
8d4c861219 Bug 1363760 - Part 2 - Corrected the permission that is reset at the end of a test r=aswan
Without this change, browser_update.js "resets" a preference that it never
changed to a different value, which leaks through to future tests. This was
introduced in a8fcca075fde, and appears to be a simple mistake since that change
removes a setup/teardown pref change pair, but the prefs it changes are two
different ones!

This leaked pref change leads to test failures when special powers and mochitest
are installed as non-temporary addons.

MozReview-Commit-ID: 2jx3fB1iZMx

--HG--
extra : rebase_source : 35394dda16814d80116854bd40c00c95f30d34e2
2017-05-30 10:08:55 -04:00
David Burns
69ac306da8 Bug 1368674 - Remove JS Test support in Marionette Harness r=maja_zf
MozReview-Commit-ID: 11Zc7KL3djD

--HG--
extra : rebase_source : 7c8f78df2e6aa402cacf04819c03abb3381815f2
2017-05-30 15:07:19 +01:00
Alex Gaynor
208cd021b4 Bug 1363760 - Part 1 - Allow the about:debugging tests to pass if there are no temporary addons installed r=jdescottes
The current DOM tests for about:debugging implicitly assume that there is a
temporary addon installed before they start. This is currently always true
because mochitest and specialpowers are installed as temporary addons, but the
goal of this bug is to install them as non-temporary addons.

The specific cause of the breakage is the assumption that uninstalling an addon
removes an <li> from the addons <ul>, but when you go from one addon to zero the
entire <ul> is removed.

MozReview-Commit-ID: VJIcy17uQc

--HG--
extra : rebase_source : a398f20e9befb7e8ff307368557ae7b9c0c75fba
2017-05-30 10:04:29 -04:00
Oriol
ece0618ecc Bug 1369246 - Check if window pointer is null before attempting to call a method. r=baku 2017-06-01 06:45:00 -04:00
David Burns
58b95498e0 Bug 1368674 - Remove simpleTest functionality from Marionette. r=whimboo
This is a remanent of the B2G code for injecting Mochitest style tests
into Gecko. This is no longer used by anything and is now dead code.

MozReview-Commit-ID: 4qaB3vxQzon

--HG--
extra : rebase_source : b4b7e66452b7ce7335ef5f509957121f403d7043
2017-05-30 13:51:02 +01:00
Emilio Cobos Álvarez
9419614252 Bug 1369187: Update expectations. r=emilio
MozReview-Commit-ID: Ea2lz4nqlBf
2017-06-01 22:19:34 +02:00
Emilio Cobos Álvarez
96f5484a9f Bug 1369187: Don't return an old style context for ::first-line and ::first-letter, but not crash either. r=bholley
This will make us reframe until fixed. It's not hard to fix, just requires to
discuss how :)

MozReview-Commit-ID: 1vlRUSuMqtp
2017-06-01 22:19:26 +02:00
Emilio Cobos Álvarez
ab02ee6c3f servo: Merge #17128 - stylo: Basic support for first-line/letter dynamic changes (from emilio:first-line-letter); r=bholley
Source-Repo: https://github.com/servo/servo
Source-Revision: 17e69af0c9323927f724ff412867b24a0364efa1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 470cac1ddf3c8a85070ea4259e5641fee5e0ef77
2017-06-01 12:13:43 -07:00
Justin Wood
2bc5a90430 Bug 1348478, Gecko Decision busted with l10n try push. r=kmoir
This patch effectively removes indexing from the on-push style l10n tasks. These tasks are currently only used on try.

We don't want the indexing because the index's themselves conflict with the indexes used on Nightly l10n tasks, for now, and would get added here in any full graph if the locale list is small enough. We can revisit this decision whenever on-change L10n for non-try is a thing, and/or when we have explicit nightly routes for l10n

MozReview-Commit-ID: DRydwUEtPTp

--HG--
extra : rebase_source : 816ba623ba730aa672803bbf6a25450265d7aaf6
2017-05-30 16:01:11 -04:00
Bryce Van Dyk
c04074e14f Bug 1368490 - Make sure number of channels is correctly set for opus encoder. r=jesup 2017-05-30 21:01:02 +12:00
Ryan VanderMeulen
7380c9478e Merge m-c to autoland. a=merge 2017-06-01 12:47:45 -04:00
Ryan VanderMeulen
3e5c098bdc Merge graphics to m-c. a=merge 2017-06-01 12:44:14 -04:00
Ryan VanderMeulen
a185080885 Merge inbound to m-c. a=merge 2017-06-01 11:54:38 -04:00
Ryan VanderMeulen
4ed4898e21 Merge autoland to m-c. a=merge 2017-06-01 11:54:08 -04:00
ffxbld
5c64ad5e40 No bug, Automated HPKP preload list update from host bld-linux64-spot-307 - a=hpkp-update 2017-06-01 08:22:16 -07:00
ffxbld
9dbe8dec8a No bug, Automated HSTS preload list update from host bld-linux64-spot-307 - a=hsts-update 2017-06-01 08:22:13 -07:00
Kartikaya Gupta
f7afb5a21c Merge m-c to graphics, a=merge
MozReview-Commit-ID: COZj8Itgjcz
2017-06-01 09:56:23 -04:00
Kartikaya Gupta
0b60039322 Bug 1368551 - Don't send transforms to WR in push_stacking_context if they are identity. r=pchang
If we set a transform in push_stacking_context, it changes the internal
WebRender behaviour to make that stacking context a reference frame, and
things inside it are positioned differently. This is true even if the
transform is an identity transform.

In most cases we are hitting this and sending an identity transform
through, when in fact we want to be sending a None value to WebRender so
that it doesn't create reference frames. This is a partial fix, a proper
fix will be done in bug 1345577 by separating the CSS transform from the
other transforms that FrameLayerBuilder invents.

MozReview-Commit-ID: ElSs3hFMD2D
2017-06-01 09:17:17 -04:00
Kartikaya Gupta
c054f05ef3 Bug 1368551 - Remove unneccessary overload of PushStackingContext. r=pchang
This overload is only called in one place, so we can just inline it. It
makes the API a little simpler.

MozReview-Commit-ID: H55IUduUSiJ
2017-06-01 09:17:16 -04:00
Kartikaya Gupta
1c8776063e Bug 1367734 - Tone down webrender's memory usage to avoid OOMing during media mochitests. r=kvark
MozReview-Commit-ID: 9RIR37ZOSFR
2017-06-01 08:57:32 -04:00
Kartikaya Gupta
b806c06bdb Bug 1367734 - Increase fuzz on a reftest due to changes in servo/webrender#1292. r=jrmuizel
MozReview-Commit-ID: 6gc49H6Vwob
2017-06-01 08:57:24 -04:00