Commit Graph

684986 Commits

Author SHA1 Message Date
Byron Campen [:bwc]
d4420e0bb9 Bug 1408256: Tests for bug. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D55889

--HG--
extra : moz-landing-system : lando
2019-12-17 19:19:01 +00:00
Edwin Takahashi
53c3158cff Bug 1604347 - annotate unexpected passes in layout/reftests/svg/text/reftest.list when run on ubuntu1804 r=jmaher
Changes:

Some tests in `layout/reftests/svg/text/reftests.list` now pass unconditionally when run on ubuntu1804. Permit pixel differential value of 0 for these tests while ubuntu1604 and ubutnu1804 coexist, leave the bug open then once the migration is complete look to remove the redundant annotation.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 21:22:31 +00:00
Jamie Nicol
b426c415ce Bug 1598380 - Use single PBO per texture for uploads. r=kvark
Uploading texture data is showing up frequently in profiles on Adreno devices,
especially when zooming on a text-heavy page. Specifically, the time is spent in
glMapBufferRange and glBufferSubData, most likely when internally allocating the
buffer before transferring data in to it.

Currently, we are creating a new PBO, by calling glBufferData(), for each
individual upload region. This change makes it so that we calculate the required
size for all upload regions to a texture, then create single a PBO of the
required size. The entire buffer is then mapped only once, and each individual
upload chunk is written to it. This can require the driver to allocate a large
buffer, sometimes multiple megabytes in size. However, it handles this case much
better than allocating tens or even hundreds of smaller buffers.

An upload chunk may require more space in a PBO than the original CPU-side
buffer, so that the data is aligned correctly for performance or correctness
reasons. Therefore it is the caller of Device.upload_texture()'s responsibility
to call a new function, Device.required_upload_size(), to calculate the required
size beforehand.

On AMD Macs, there is a bug where PBO uploads from a non-zero offset can
fail. See bug 1603783. Therefore this patch preserves the current behaviour on
AMD Mac, reallocating a new PBO for each upload, therefore ensuring the offset
is always zero.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 19:07:12 +00:00
Mark Hammond
2f0396d567 Bug 1582317 - record the sync storage node type in the sync telemetry ping. r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D55196

--HG--
extra : moz-landing-system : lando
2019-12-14 04:26:05 +00:00
Rob Wood
b76a2bc0b9 Bug 1604607 - Add browsertime android profiling treeherder group-names to the group-names config r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D57515

--HG--
extra : moz-landing-system : lando
2019-12-17 20:55:34 +00:00
Edwin Takahashi
2a08793020 Bug 1599915 - annotate web-platform-tests-reftests that pass with webrender on ubuntu1804 r=jmaher
Changes:

Some tests now pass when run under `ubuntu1804` and `webrender`, so mark these as expected passes now.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 21:08:58 +00:00
Jim Porter
9c55da7d77 Bug 1529969 - Only request info about the current engine to the parent; r=adw,Mardak
This patch adds a new ContentSearchHandoffUI class to be used when search
handoff is enabled in the newtab page, avoiding the much more complex
ContentSearchUI. This also reduces the amount of unnecessary information being
sent across processes.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 21:02:52 +00:00
Edwin Takahashi
b06ed766ee Bug 1604588 - mark border-image-repeat-round-1.html as continuing to fail in ubuntu1804 with webrender r=jmaher
Changes:

Since the test in question has annotation marking it as expected failure if `webrender` and `linux` and `ubuntu1604` and the test indeed continues failing with `ubuntu1804`, mark it as an expected failure.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 19:39:20 +00:00
Andrew Osmond
bb4bf3f608 Bug 1600911 - Implement AVX variant of QCMS ICCv2 algorithm. r=jrmuizel
Our performance gtests indicate anywhere from 10-20% reduction in
execution time based on the SSE2 version. Where it fell in the range
depended on the platform, but presumably that is related to the hardware
selected by treeherder. llvm-mca suggested it should be closer to 20%
on modern hardware (skylake).

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

--HG--
extra : moz-landing-system : lando
2019-12-17 19:22:36 +00:00
Dan Minor
e17b8ba5d0 Bug 1603349 - Use try_recv rather than recv_timeout in mdns_service; r=ng
There are known bugs with recv_timeout which may explain the crashes we're
seeing in Bug 1603349. This patch switches to using try_recv which returns
immediately if no data is available. This thread already has timeouts set in
the UDP socket reads and writes, so the timeout with the receive channel
should not be necessary.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 19:39:12 +00:00
Sylvestre Ledru
a6c5a7a57c Bug 1601612 - Ride along: move the image from 16.04 to 18.04 r=ahal
Needed to have Python 3.7 to avoid a bug in sphinx-js

Depends on D56168

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

--HG--
extra : moz-landing-system : lando
2019-12-17 07:54:31 +00:00
Sylvestre Ledru
ef0ac2188d Bug 1601612 - Ride along: When a sphinx error is found, dump it r=ahal
Depends on D55960

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

--HG--
extra : moz-landing-system : lando
2019-12-17 07:54:36 +00:00
Sylvestre Ledru
5c665da8e4 Bug 1601612 - Ride along: mach doc - bump version of some dependencies r=ahal
Depends on D55959

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

--HG--
extra : moz-landing-system : lando
2019-12-17 07:54:33 +00:00
Sylvestre Ledru
12a43a4331 Bug 1601612 - Move to sphinx 2.2.2 r=ahal
Depends on D55937

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

--HG--
extra : moz-landing-system : lando
2019-12-17 07:54:38 +00:00
Sylvestre Ledru
41312ab8df Bug 1601578 - mach - doc environment with python 3 r=ahal,firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D55937

--HG--
extra : moz-landing-system : lando
2019-12-17 19:17:43 +00:00
Sylvestre Ledru
038bd866b5 Bug 1601612 - Fix some py2/py3 lints with a newer version of Python r=marco
Differential Revision: https://phabricator.services.mozilla.com/D57509

--HG--
extra : moz-landing-system : lando
2019-12-17 19:17:43 +00:00
Cosmin Sabou
205ac58f1b Backed out changeset 6636e1cd0c41 (bug 1529969) for causing node tests newtab failures. CLOSED TREE 2019-12-17 21:55:48 +02:00
Sylvestre Ledru
35c54fbf80 no bug - remove an artifact in the 'how to contribute doc'
Differential Revision: https://phabricator.services.mozilla.com/D57514

--HG--
extra : moz-landing-system : lando
2019-12-17 19:47:48 +00:00
Cosmin Sabou
ba00e94250 Backed out 2 changesets (bug 1594497) causing firefox-ui test failures on test_initial_download.py. CLOSED TREE
Backed out changeset c817e489fd80 (bug 1594497)
Backed out changeset a97415a7ce80 (bug 1594497)
2019-12-17 21:37:13 +02:00
Chun-Min Chang
0b90398bd9 Bug 1603761 - Update cubeb-coreaudio to 868d847. r=padenot
Pick commits:
b1ad8b9 - Minor cleanup (#27)
868d847 - Return error when get_ranges_of_device_sample_rate gives an empty vector (#30)

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

--HG--
extra : source : e778231b145d37240127d209643ec4ecd7e5ea9b
2019-12-17 17:12:12 +00:00
Cosmin Sabou
02ff9c4ae8 Backed out changeset e778231b145d (bug 1603761) for causing firefox-ui test failures.
--HG--
extra : rebase_source : fc9d9d95ee558b4dae736ab7407b16646d50957a
2019-12-17 21:23:54 +02:00
Jonathan Kingston
70c715dd87 Bug 1603709 - Add 'report-sample' to CSP exemptions to invalidation when using 'strict-dynamic' r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D57491

--HG--
extra : moz-landing-system : lando
2019-12-17 17:39:37 +00:00
Cosmin Sabou
d7ee28b714 Bug 1601602 - Add expectations deleted by wpt-sync for release or beta. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D56300

--HG--
extra : rebase_source : 6d65715470dadf98ad38a1640ab24ef425a8f623
extra : intermediate-source : a937de4351863b92f35ed2156cb315875ef7cf57
extra : source : ba6f7b326c95cd868ae261a6c2fd66bd1eb1a6a6
2019-12-09 10:12:27 +00:00
emcminn
95a7566d18 Bug 1589038 - Allow about:welcome modal scrollbars to be clicked on narrow windows r=Mardak
Scrollbars are now correctly active and clickable at less than 25% of window size, regardless of the system settings for scrollbars.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 19:12:52 +00:00
Anthony Hughes
46061e40b2 Bug 1604332 - Update iris_firefox for test failure fixes. r=mbrandt
Differential Revision: https://phabricator.services.mozilla.com/D57508

--HG--
extra : moz-landing-system : lando
2019-12-17 19:08:06 +00:00
Aaron Klotz
3a1768d46b Bug 1604589: Fix default param in AutoVirtualProtect constructor; r=mhowell
We should be using `GetCurrentProcess` as the default, not `nullptr`.
`VirtualProtectEx` fails with a `nullptr` process handle.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 19:03:56 +00:00
alexandru.ionescu
3cab382917 Bug 1604552 Revert changes in Bug 1581831 r=perftest-reviewers,rwood
Differential Revision: https://phabricator.services.mozilla.com/D57488

--HG--
extra : moz-landing-system : lando
2019-12-17 18:05:35 +00:00
Cosmin Sabou
5057d205bc Backed out changeset 310c4bf09003 (bug 1604585) for build bustages on ReentrancyGuard.h 2019-12-17 20:58:26 +02:00
Chris Manchester
4d12edfd8d Bug 1594538 - Require rustc 1.39 to build. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D57396

--HG--
extra : moz-landing-system : lando
2019-12-17 17:12:21 +00:00
Emilio Cobos Álvarez
54fad3fb32 Bug 1604585 - Remove HashTable::mEntered, as it is write-only. r=froydnj
And while at it, initialize mMutationCount in the declaration, to remove an
ugly ifdef block.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 18:45:27 +00:00
Cosmin Sabou
4e6fb0e761 Bug 1603402 - Add release_or_beta expectation for workerStart-tao-protected.https.html. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D57255

--HG--
extra : moz-landing-system : lando
2019-12-17 18:43:18 +00:00
Emilio Cobos Álvarez
61a790403f Bug 1604574 - Fix HashTable move constructor, and remove silly ifdefs. r=froydnj
Also add a test for the hash table, because we seem to have zero of them :(

Call clearAndCompact() so that we get minimum capacity on re-growth.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 18:36:58 +00:00
Edwin Takahashi
52c6b8935a Bug 1600208 - mark test_bug756984 as permafail on ubuntu1804 r=jmaher
Changes:

This test is a permafail on ubuntu1804, and should be marked as such as the migration to ubunt1804 is actively underway with target date of end of December 2019.

With a fail-if annotation, the hope is that if this test suddenly begins passing we will be notified of it (as opposed to skipping it outright).

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

--HG--
extra : moz-landing-system : lando
2019-12-17 09:46:27 +00:00
Punam Dahiya
dba6f609d8 Bug 1602914 - Refactor FirstRun interrupt and triplets update r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D57244

--HG--
extra : moz-landing-system : lando
2019-12-17 16:37:00 +00:00
Kirk Steuber
8e95e90219 Bug 1601708 - Return focus to the previously active element when a subdialog closes r=Gijs,dao
Differential Revision: https://phabricator.services.mozilla.com/D56976

--HG--
extra : moz-landing-system : lando
2019-12-17 18:19:34 +00:00
J.C. Jones
50132af158 Bug 1602020 - land NSS fc636973ad06 UPGRADE_NSS_RELEASE, r=kjacobs
2019-11-25  Robert Relyea  <rrelyea@redhat.com>

	* lib/softoken/legacydb/keydb.c, lib/softoken/legacydb/lgcreate.c,
	lib/softoken/legacydb/lgdb.h, lib/softoken/legacydb/lginit.c,
	lib/softoken/lgglue.c, lib/softoken/lowpbe.c, lib/softoken/lowpbe.h,
	lib/softoken/pkcs11c.c, lib/softoken/pkcs11i.h,
	lib/softoken/pkcs11u.c, lib/softoken/sdb.c, lib/softoken/sdb.h,
	lib/softoken/sftkdb.c, lib/softoken/sftkdb.h,
	lib/softoken/sftkdbti.h, lib/softoken/sftkpwd.c, lib/util/pkcs11n.h:
	Bug 1585189 - Changed the algorithm used to encrypt NSS database
	entries, from 3DES to AES256.

	Our NSS DB uses 3DES internally to encrypt their entries. This patch
	changes the default algorithm for AES256 to increase the security.
	This patch also adds code to use AES Wrap in the future. It also
	adds an integrity check to the AES256 CBC. The change only affects
	sqlite databases.

	bob

	[fc636973ad06] [tip]

2019-12-12  Kevin Jacobs  <kjacobs@mozilla.com>

	* gtests/pk11_gtest/pk11_chacha20poly1305_unittest.cc,
	lib/softoken/pkcs11c.c:
	Bug 1603257 - Fix UBSAN issue in softoken CKM_NSS_CHACHA20_CTR
	initialization r=mt

	This patch adds an explicit cast to fix a UBSAN issue that was
	flagged in https://treeherder.mozilla.org/#/jobs?repo=nss-
	try&selectedJob=280720441.

	It also updates the test to use a random IV.

	[9ca79efd6d29]

2019-12-10  Kevin Jacobs  <kjacobs@mozilla.com>

	* gtests/ssl_gtest/ssl_hrr_unittest.cc:
	Bug 1590001 - Additional HRR Tests. r=mt

	This patch adds new tests for version limitations after a HRR.

	[8a2bd40e7f89]

2019-12-11  Martin Thomson  <mt@lowentropy.net>

	* gtests/ssl_gtest/ssl_hrr_unittest.cc:
	Bug 1600144 - clang-format, a=bustage
	[014f37ecee3e]

2019-11-29  Martin Thomson  <mt@lowentropy.net>

	* gtests/ssl_gtest/ssl_hrr_unittest.cc, lib/ssl/dtlscon.c:
	Bug 1600144 - Treat ClientHello with message_seq of 1 as a second
	ClientHello, r=kjacobs

	Summary: The logic that deals with stateless HelloRetryRequest in
	DTLS allows this one-off increment to the message_seq field in case
	the server was operating statelessly. However, when it does, it
	should insist on the ClientHello carrying a cookie; concretely, it
	should set the flag that says that a HelloRetryRequest was sent,
	even if it doesn't currently remember that it sent one. That is the
	only way that this condition could be met.

	[f55fe2a2dab9]

2019-12-11  Martin Thomson  <mt@lowentropy.net>

	* gtests/ssl_gtest/tls_esni_unittest.cc:
	Bug 1603027 - clang-format, a=bustage
	[ca9adb8eb899]

2019-12-11  EKR  <ekr@rtfm.com>

	* gtests/ssl_gtest/tls_esni_unittest.cc:
	Bug 1603027 - Check that ESNI gets regenerated with HRR r=mt

	[6655d8a1f4bd]

2019-12-09  Andi-Bogdan Postelnicu  <bpostelnicu@mozilla.com>

	* mach:
	Bug 1598485 - Exclude files that are not part of the nss repository
	from the analysis artifact. r=jcj

	[38a1c27aadf3]

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

--HG--
extra : moz-landing-system : lando
2019-12-17 18:01:18 +00:00
shravanrn@gmail.com
7376850e95 Bug 1603658, Bug 1604123 - Update rlbox_lucet_sandbox to version which supports disabling static inline thread_locals and specifies explicit dependencies r=froydnj
The first bug is needed to work around mingw32's broken support of static inline thread_locals.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 18:11:47 +00:00
shravanrn@gmail.com
b90fd66821 Bug 1603657 - Update rlbox to latest version which supports disabling static inline thread_locals r=froydnj
This is needed to work around mingw32's broken support of static inline thread_locals.

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

--HG--
extra : moz-landing-system : lando
2019-12-16 17:41:28 +00:00
Sylvestre Ledru
08e2e04f2a Bug 1604079 - Add a unit test for mozlint yamllint r=ahal
+ some python 3 changes

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

--HG--
extra : moz-landing-system : lando
2019-12-17 16:57:25 +00:00
Miko Mynttinen
3d352aa73a Bug 1601483 - Avoid HashTable lookups when the table is empty r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D55882

--HG--
extra : moz-landing-system : lando
2019-12-17 18:01:42 +00:00
Jim Porter
fb61d7ebae Bug 1529969 - Only request info about the current engine to the parent; r=adw,Mardak
This patch adds a new ContentSearchHandoffUI class to be used when search
handoff is enabled in the newtab page, avoiding the much more complex
ContentSearchUI. This also reduces the amount of unnecessary information being
sent across processes.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 07:06:59 +00:00
Ted Campbell
25ee2a6dae Bug 1604288 - Use JSFunction::baseScript() instead of lazyScript/nonLazyScript. r=mgaudet
Once JSScript and LazyScript are unified, the lazyScript() accessor will be
removed. Also avoid using nonLazyScript() when it is not necessary. A few
calls to isInterpretedLazy() are removed for same reasons.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 16:32:39 +00:00
Toshihito Kikuchi
1d7592ffa9 Bug 1604462 - Include other/UntrustedModules.h in beta build. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D57483

--HG--
extra : moz-landing-system : lando
2019-12-17 17:40:09 +00:00
Razvan Maries
a2f36012d4 Backed out changeset d2b9b4e977a7 (bug 1601708) for Lint failure on subdialogs.js. CLOSED TREE 2019-12-17 19:35:54 +02:00
Chun-Min Chang
429dc810ba Bug 1603761 - Update cubeb-coreaudio to 868d847. r=padenot
Pick commits:
b1ad8b9 - Minor cleanup (#27)
868d847 - Return error when get_ranges_of_device_sample_rate gives an empty vector (#30)

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

--HG--
extra : moz-landing-system : lando
2019-12-17 17:12:12 +00:00
Kirk Steuber
f1ae6d50f6 Bug 1601708 - Return focus to the previously active element when a subdialog closes r=Gijs,dao
Differential Revision: https://phabricator.services.mozilla.com/D56976

--HG--
extra : moz-landing-system : lando
2019-12-17 10:50:28 +00:00
Julian Descottes
18e9cea10c Bug 1604485 - Add eslint rule against requiring client files from devtools/shared r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D57459

--HG--
extra : moz-landing-system : lando
2019-12-17 17:00:28 +00:00
Rob Wood
9a1d963353 Bug 1592063 - Browsertime failing on fenix with 'browser failed to start' error r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D57369

--HG--
extra : moz-landing-system : lando
2019-12-17 15:29:55 +00:00
Jan de Mooij
c46ea08a6c Bug 1604105 - Make source note encoding a bit more compact. r=arai
The source note type now fits in 4 bits instead of 5. This means we now have
4 bits available (instead of 3 bits) for the delta field.

SRC_XDELTA notes now have 7 bits for the offset instead of 6 bits.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 11:49:18 +00:00
Ehsan Akhgari
4af06fb575 Bug 1603968 - Tune the heuristics for the delayed storage access grant towards a better user experience; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D57212

--HG--
extra : moz-landing-system : lando
2019-12-17 16:19:27 +00:00