Commit Graph

646513 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
bb47a90d4f Bug 1543401 - Use rust lengths for row-gap / column-gap. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D26915

--HG--
extra : moz-landing-system : lando
2019-04-10 16:00:03 +00:00
Mark Hammond
8cbf8ef8e2 Bug 1539784 - ensure the master-password is unlocked before disconnecting from sync. r=eoger
Differential Revision: https://phabricator.services.mozilla.com/D26870

--HG--
extra : moz-landing-system : lando
2019-04-10 15:41:28 +00:00
Boris Chiou
8ae5a0f189 Bug 1533968 - Don't add animations to layer for TYPE_TABLE_BACKRGOUND_COLOR. r=hiro
nsDisplayTableBackgroundColor inherits from nsDisplayBackgroundColor,
and both display item types are mapped to background_color property.
However, nsDisplayTableBackgroundColor is not animated on the
compositor, so we shouldn't add animations for TYPE_TABLE_BACKRGOUND_COLOR.

It seems the test case has a weird timeout in Android test-verify-opt. I
checked the live.log and the tests are passed, but got a final time-out.
It is not related to our change because this still happens if we skip
the test, and I saw that other intermittent bugs have the same issue.

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

--HG--
extra : moz-landing-system : lando
2019-04-10 18:50:34 +00:00
Andrea Marchesini
d7915fa305 Bug 1540221 - Setting fillStyle to a pattern of an unclean canvas makes the canvas origin-unclean, r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D25773

--HG--
extra : moz-landing-system : lando
2019-04-09 20:10:03 +00:00
Boris Zbarsky
423697c891 Bug 1543461. Add the missing newline after a static assert in Web IDL codegen. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D26960

--HG--
extra : moz-landing-system : lando
2019-04-10 19:05:15 +00:00
Mike Shal
e28f6db31f Bug 1537574 - Use mozbuild's backend-out-of-date logic for RecursiveMake; r=firefox-build-system-reviewers,chmanchester
If mozbuild parsing fails due to a missing file (eg: a file not existing
in UNIFIED_SOURCES), then no Makefiles are written out, but
config.status exists. This would cause mozbuild to think that configure
doesn't need to run, and rely on make to perform the backend-out-of-date
check in rebuild-backend.mk. Unfortunately since no Makefiles were
written, the make command fails immediately and no attempt is made to
re-create the backend. Note that this is only a problem if the first
mozbuild parsing from a clobber build fails, otherwise there is
typically a top-level Makefile from a previous build to call into (at
which point make can determine it is out-of-date, and re-invoke itself).

The fix is to have the RecursiveMake backend re-use the same logic that
was introduced into mozbuild for alternate backends, and remove
rebuild-backend.mk. This way, mozbuild can always determine if the
backend needs to be regenerated, even if the initial parsing failed.

Test code was also relying on rebuild-backend.mk to generate the
TestBackend, but moving backend_out_of_date() into MozbuildObject allows
this code to be shared.

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

--HG--
rename : build/gen_test_backend.py => python/mozbuild/mozbuild/gen_test_backend.py
extra : moz-landing-system : lando
2019-04-10 22:14:27 +00:00
Jason Orendorff
367e177143 Bug 1543420 - Ban SlashIsInvalid followed by SlashIsDiv. r=arai
With this change, the use of SlashIsInvalid at the top of
GeneralParser<>::classMember obliges us to use the same modifier when getting
the same token later (in both classMember and propertyName).

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

--HG--
extra : moz-landing-system : lando
2019-04-10 16:24:38 +00:00
Geoff Brown
33aac3ce8e Bug 1318091 - Support logging to file in mozilla gtest; r=bc,Ehsan
On Android, update mozilla gtest logging so that logging appears in the Android logcat.
Also, when MOZ_GTEST_LOG_PATH is defined in the environment, create the named file
and direct logging to that file. Android gtest will use this to collect gtest logging from
the device and copy it to the test log.

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

--HG--
extra : moz-landing-system : lando
2019-04-10 22:11:48 +00:00
Christian Holler
fbc8ac2fd2 Bug 1538465 - WebAssembly Fuzzing Target. r=bbouvier
Differential Revision: https://phabricator.services.mozilla.com/D25919

--HG--
extra : moz-landing-system : lando
2019-04-10 17:15:20 +00:00
Steve Fink
547a99ec14 Bug 1543208 - Prevent GC from seeing uninitialized well-known symbols r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D26841

--HG--
extra : moz-landing-system : lando
2019-04-10 17:09:50 +00:00
Dana Keeler
c2bdc62aa5 bug 1529044 - use a low-priority queue on a certificate verification thread to import intermediate certificates r=mgoodwin
Previously this functionality created a CryptoTask to do this work, but that
would cause a new thread to be created for each list of intermediates. This was
slow both because of all of the threads and because they could be scheduled
while other work was happening. Moving these tasks to the low-priority event
queue for threads in the certificate verification thread pool means no new
threads are created and the work only happens when these threads are idle
anyway.

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

--HG--
extra : moz-landing-system : lando
2019-04-10 21:44:16 +00:00
Ashley Hauck
6b789e8486 Bug 1543472 - Make align_stack_comment.py take multiple arguments. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D26965

--HG--
extra : moz-landing-system : lando
2019-04-10 20:20:40 +00:00
Andrew Swan
5edcbd87a8 Bug 1541577 Drop AddonInstall references when installs finish r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26013

--HG--
extra : moz-landing-system : lando
2019-04-10 21:22:14 +00:00
dlee
1a5716aba8 Bug 1543319 - P2. Swap the byte order in-place. r=gcp
We don't need an additional array just for byte reordering, replace
it with in-place processing.

Testcase are modified because the LookupCacheV4::Build API now clears the
input parameter.

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

--HG--
extra : moz-landing-system : lando
2019-04-10 20:53:17 +00:00
dlee
63c7548a62 Bug 1543319 - P1. Free intermediate memory as early as possible during Safe Browsing update. r=gcp
Here is the flow how prefixes are handled during an V4 update:
1. Prefixes are received from Safe Browsing update, stored in ProtocolBuffer
2. Copy the prefixes from ProtocolBuffer to TableUpdate structure
3. Prefixes in TableUpdate are merged with local prefixes (stored in LookupCacheV4)
4. Merged prefixes are processes by PrefixSet to generate the in-memory prefix
   set data structure (MakePrefixSet).

In this patch, we free the prefixes stored in TableUpdate right after step3.
This reduces the peak memory used during an update (peak happens in step 4).

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

--HG--
extra : moz-landing-system : lando
2019-04-10 14:32:54 +00:00
Shane Caraveo
4f56dd2049 Bug 628041 refresh the install blocked panel text r=flod,aswan
Differential Revision: https://phabricator.services.mozilla.com/D25881

--HG--
extra : moz-landing-system : lando
2019-04-10 20:50:13 +00:00
Edwin Gao
d254b36f8f Bug 1543521 - demote windows10-aarch64 related tasks to tier 2 for the time being r=gbrown,jmaher
Changes:
- make windows10-aarch64 tests tier-2 by default

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

--HG--
extra : moz-landing-system : lando
2019-04-10 22:48:40 +00:00
Julian Descottes
30433020fe Bug 1541970 - Support incontentshell attribute for XUL panel;r=NeilDeakin
(more a feedback request than review request at this stage)

Adding a new attribute to the panel was the easiest way I could find to make this work without too much plumbing
However I don't know how to check that the attribute comes from a chrome privileged script. I tried using PresContext()->IsChrome() but this is also false in our situation.

Would you prefer another approach? Otherwise what kind of test would you write for this kind of feature?

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

--HG--
extra : moz-landing-system : lando
2019-04-09 09:41:56 +00:00
Brian Grinstead
74a00a54ae Bug 1543300 - Update ./mach addtest templates to stop using [type] attribute on script tags r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D26811

--HG--
extra : moz-landing-system : lando
2019-04-10 05:03:53 +00:00
Haik Aftandilian
53248affb9 Bug 1542015 - Enable the Mac RDD Sandbox early init mode by default r=Alex_Gaynor
Re-enable early init of the RDD process sandbox (bug 1525086) by default.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 12:51:26 +00:00
Brindusan Cristian
04da27ce4e Backed out 4 changesets (bug 1541666, bug 1541446, bug 1540904, bug 1540601) for dt failures at browser_accessibility_node_audit.js
Backed out changeset 7bcd00bbcb71 (bug 1541666)
Backed out changeset a27b2d203885 (bug 1540904)
Backed out changeset 9f43419c7b40 (bug 1541446)
Backed out changeset e3294a1be947 (bug 1540601)
2019-04-10 07:13:57 +03:00
shindli
ab80016442 Backed out changeset e80a847a8b9b (bug 1533129) for causing perma mda failures in dom/media/mediasource/test/test_isTypeSupportedExtensions.html
--HG--
extra : rebase_source : 434f35ad3363c0c59eea03858f045d122cc3f114
2019-04-10 06:35:39 +03:00
Miko Mynttinen
76ab5cf265 Bug 1541985 - Merge nsCharClipDisplayItem and nsDisplayText r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D26843

--HG--
extra : moz-landing-system : lando
2019-04-10 01:41:22 +00:00
Yura Zenevich
46a0026fa6 Bug 1541666 - ensure that actors are alive when calling async API to the server. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D26459

--HG--
extra : moz-landing-system : lando
2019-04-10 00:58:44 +00:00
Yura Zenevich
a2e55d282e Bug 1540904 - added full page API for accessibility walker actor. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D26458

--HG--
extra : moz-landing-system : lando
2019-04-10 00:58:31 +00:00
Yura Zenevich
a26dda1735 Bug 1541446 - added audited event to AccessibleActor/Front. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D26457

--HG--
extra : moz-landing-system : lando
2019-04-10 00:58:24 +00:00
Yura Zenevich
b71ac3d736 Bug 1540601 - Ensuring that TreeView filtering works with keyboard. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D25552

--HG--
extra : moz-landing-system : lando
2019-04-10 00:58:17 +00:00
Brindusan Cristian
369ab2687e Backed out changeset ea2baf2c9ae7 (bug 1534756) for mochitest failures at test_ManifestProcessor_JSON.html. 2019-04-10 05:29:46 +03:00
Agi Sferro
050acb72a1 Bug 1541609 - [geckoview] Enforce packages in API. r=snorp,esawin
Depends On D26029

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

--HG--
extra : moz-landing-system : lando
2019-04-10 01:50:58 +00:00
Agi Sferro
9653a49d3e Bug 1541609 - [geckoview] Add missing nullability annotations. r=esawin
apilint 0.1.9 fixes a bug that was causing us to miss some annotation lints.
This commit fixes all of them before we can upgrade.

Depends On D26028

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

--HG--
extra : moz-landing-system : lando
2019-04-10 01:51:05 +00:00
Agi Sferro
9530edb8c2 Bug 1540790 - [api] Remove all org.mozilla.gecko references. r=snorp
Depends On D26027

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

--HG--
extra : moz-landing-system : lando
2019-04-10 01:51:07 +00:00
Agi Sferro
7928d89a55 Bug 1514238 - Make RuntimeTelemetry.getSnapshot return a JSONObject. r=esawin,snorp
Depends On D26026

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

--HG--
extra : moz-landing-system : lando
2019-04-10 01:51:15 +00:00
Agi Sferro
bc6645103e Bug 1541606 - Add @NonNull to all fields. r=esawin
Depends On D26025

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

--HG--
extra : moz-landing-system : lando
2019-04-10 01:51:17 +00:00
Agi Sferro
8d021a698c Bug 1539639 - [geckoview] Add eslint for indentation and fix existing. r=esawin,snorp
Differential Revision: https://phabricator.services.mozilla.com/D26025

--HG--
extra : moz-landing-system : lando
2019-04-10 01:51:24 +00:00
Will Hawkins
bfba5b52bb Bug 1539006: Properly implement Performance Timeline Level 2 w3c spec. r=baku,flod
Differential Revision: https://phabricator.services.mozilla.com/D26654

--HG--
extra : moz-landing-system : lando
2019-04-10 00:14:39 +00:00
Marcos Cáceres
585f841266 Bug 1534756 - Don't throw exception in ManifestObtainer if a document has no manifest r=snorp
We now return null when the manifest lacks a href or is missing.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 20:32:54 +00:00
alwu
3d3b806a2d Bug 1542921 - turn on block autoplay by default. r=cpearce
As we have successfully rolled out the feature via Normandy in 66, we should turn the feature on in >= 67 to not have to rely on Normandy going forward any more.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 23:43:33 +00:00
Chris Pearce
2d1f469cd2 Bug 1533129 - Add extended MIME parameter support to MediaSource.isTypeSupported on YouTube only. r=jya
YouTube.com/tv uses YouTube specific extensions to MediaSource.isTypeSupported
in order to determine whether it serves 4K. It checks with bogus values, and if
we reject the bogus values, it assumes we're responding truthfully to the other
queries. So add support to reject the bogus values on YouTube.com.

With this patch, we can play 4K on YouTube.com/tv.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 23:23:35 +00:00
Mike Shal
3af5e94461 Bug 1522931 - always check the OSX SDK version; r=firefox-build-system-reviewers,chmanchester
Bug 1500504 added a version check for the SDK, but it only does the
check if --with-macos-sdk is used. We should also check the version when
using the default SDK.

Note that this means we now set MACOS_SDK_DIR to be the default SDK even
if it wasn't set explicitly from --with-macos-sdk

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

--HG--
extra : moz-landing-system : lando
2019-04-09 20:38:51 +00:00
Jason Laster
28fe41e07b Bug 1532319 - Log Points should have context. r=davidwalsh
This has some fun wins

- colored prompt
- multiline textarea
- default value for log points

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

--HG--
extra : moz-landing-system : lando
2019-04-09 22:42:06 +00:00
Valentin Gosu
36f14c5fe7 Bug 1530303 - Add WPT test for CrossOriginOpenerPolicy checking that a same-site policy window.open doesn't end up in a different process r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D25158

--HG--
extra : moz-landing-system : lando
2019-04-09 20:11:16 +00:00
Valentin Gosu
dafa35cef5 Bug 1530303 - Remove xpcshell-test for crossOriginOpenerPolicy since it can't work with browsingContexts r=nika
Differential Revision: https://phabricator.services.mozilla.com/D24898

--HG--
extra : moz-landing-system : lando
2019-04-09 20:11:03 +00:00
Valentin Gosu
1a2cdd14be Bug 1530303 - Remove nsIHttpChannelInternal.setTopWindowPrincipal r=nika
Since it wasn't reliable, we remove the topWindowPrincipal in favor of WindowGlobalParent->DocumentPrincipal()

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

--HG--
extra : moz-landing-system : lando
2019-04-09 20:10:51 +00:00
Valentin Gosu
9f66c3ee26 Bug 1530303 - Use CanonicalBrowsingContext->CurrentWindowGlobal->DocumentPrincipal to get the topLevelWindowPrincipal r=nika
The principal we got from the child process was always a null principal, which was wrong.
This approach seems to give you the actual principal of the current document.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 20:10:33 +00:00
Valentin Gosu
06334e695a Bug 1530303 - Put CrossOriginOpenerPolicy in BrowsingContext r=nika
Differential Revision: https://phabricator.services.mozilla.com/D23935

--HG--
extra : moz-landing-system : lando
2019-04-09 20:10:13 +00:00
Valentin Gosu
e2ba952f6c Bug 1530303 - Add test for multiple COOP header navigations r=nika
Differential Revision: https://phabricator.services.mozilla.com/D23934

--HG--
extra : moz-landing-system : lando
2019-04-09 20:09:55 +00:00
Narcis Beleuzu
e29fb0bb6d Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
rename : devtools/client/debugger/new/src/actions/pause/paused.js => devtools/client/debugger/src/actions/pause/paused.js
rename : devtools/client/debugger/new/src/actions/pause/resumed.js => devtools/client/debugger/src/actions/pause/resumed.js
rename : devtools/client/debugger/new/src/actions/pause/tests/pause.spec.js => devtools/client/debugger/src/actions/pause/tests/pause.spec.js
rename : devtools/client/debugger/new/src/actions/tests/ast.spec.js => devtools/client/debugger/src/actions/tests/ast.spec.js
rename : devtools/client/debugger/new/src/actions/tests/expressions.spec.js => devtools/client/debugger/src/actions/tests/expressions.spec.js
rename : devtools/client/debugger/new/src/actions/tests/helpers/threadClient.js => devtools/client/debugger/src/actions/tests/helpers/threadClient.js
rename : devtools/client/debugger/new/src/client/firefox/commands.js => devtools/client/debugger/src/client/firefox/commands.js
rename : devtools/client/debugger/new/test/mochitest/.eslintrc => devtools/client/debugger/test/mochitest/.eslintrc
rename : devtools/client/debugger/new/test/mochitest/browser_dbg-breakpoints-columns.js => devtools/client/debugger/test/mochitest/browser_dbg-breakpoints-columns.js
rename : devtools/client/debugger/new/test/mochitest/browser_dbg-breakpoints-cond.js => devtools/client/debugger/test/mochitest/browser_dbg-breakpoints-cond.js
2019-04-10 01:26:00 +03:00
Narcis Beleuzu
27f681f00c Backed out changeset 5859134b057b (bug 1497393) for merge conflicts. CLOSED TREE 2019-04-10 01:21:20 +03:00
Narcis Beleuzu
13d74a147d Backed out changeset d5e48b93c62d (bug 1537598) for merge conflicts. CLOSED TREE 2019-04-10 01:20:42 +03:00
Jamie Nicol
3970c266f2 Bug 1532731 - Handle 3D transformed ancestors when calculating display port transform. r=mattwoodrow
ClientTiledPaintedLayer::GetTransformToAncestorsParentLayer calculates
the transform from the layer to its display port ancestor's
parent. This transform is then applied to the calculated display
port.

However, if the display port ancestor participates in a preserve-3d
context then the scroll offset will not be included in the that
layer's transform, it will instead be on the root layer of the
preserve-3d context. This was causing the critical display port to
remain still as the contents of a perspective transform were scrolled,
resulting in content being permanently painted in low-precision as the
page was scrolled down.

Instead, if the display port ancestor participates in a 3d context, we
must find the root of that 3d context then calculate the transform to
*that* layer's parent.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 21:39:02 +00:00