Commit Graph

646231 Commits

Author SHA1 Message Date
Andrea Marchesini
cb6c3424f0 Bug 1543079 - Use Window and Channel IDs instead of pointers in ContentBlockingAllowListKey, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D26706

--HG--
extra : moz-landing-system : lando
2019-04-09 22:11:10 +00:00
Hemakshi Sachdev
4c96eaa08d Bug 1441079 - Allow to filter console by regular expression. r=nchevobbe
Any text enclosed between forward slashes is considered as a regex search. If the entered regex is invalid, a normal text search is performed.

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

--HG--
extra : moz-landing-system : lando
2019-04-10 05:28:38 +00:00
Julian Descottes
315a07dce8 Bug 1541970 - Set incontentshell=false for devtools popups and panels r=bgrins
Depends on D26211

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

--HG--
extra : moz-landing-system : lando
2019-04-10 05:16:20 +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
Narcis Beleuzu
065ab21012 Merge inbound to mozilla-central. a=merge 2019-04-10 01:09:36 +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
Mike Hommey
c0bec91e84 Bug 1537644 - Avoid using link.exe during configure. r=chmanchester
Interestingly, the change makes one configure test have a different
result (localeconv ends up being found when it used not to be found),
but the result of that check is actually not used on Windows because we
set HAVE_LOCALECONV manually.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 21:57:19 +00:00
Mike Hommey
5c5f0f87f5 Bug 1542214 - Prevent registering the same CID and contract IDs during component manager initialization. r=froydnj
Because not all static components are using the static registration yet,
we can end up in situations where a same component is registered
multiple times, which can have some unexpected consequences.

Interestingly enough, this change revealed that we did have static
registration in place for components that were kept under the old system
after bug 1478124 and bug 1524687.

There are also possibly some non-obvious things that can happen while
migrating the remaining components, like what happened to me while I
worked on @mozilla.org/widget/components;1 (see bug 1542214 comment 0).

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

--HG--
extra : moz-landing-system : lando
2019-04-09 18:39:00 +00:00
Mike Hommey
d452755d02 Bug 1542996 - Remove duplicate component registration. r=kmag
Bug 1478124 and bug 1524687 converted many things to static xpcom
component registration, but somehow left the corresponding C++
initialization.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 18:58:49 +00:00
Michael Kaply
742e0ce8fc Bug 1528068 - Allow RequestedLocales to be a string. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D26819

--HG--
extra : moz-landing-system : lando
2019-04-09 21:38:34 +00:00
Micah Tigley
3f3eb7a72f Bug 1542367 - Remove the 'Done' button at the bottom of the device modal. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D26637

--HG--
extra : moz-landing-system : lando
2019-04-09 20:16:07 +00:00
Alexander Surkov
e163a0e714 Bug 1542844 - All wizards displays [Done] button from the point where they open on OS X, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D26734

--HG--
extra : moz-landing-system : lando
2019-04-09 21:16:07 +00:00
Michael Froman
0ce32c1d6d Bug 1539029 - pt 4 - add shared pref serializer/deserializer to RDD process. r=kmag
Depends on D26568

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

--HG--
extra : moz-landing-system : lando
2019-04-09 21:08:00 +00:00
Michael Froman
ac99c1dda6 Bug 1539029 - pt 3 - de-duplicate building cmdline for shared prefs class. r=kmag
Cmd-line params for the SharedPreferenceSerializer was
duplicated in ContentParent and
SocketProcessHost.  Since we'll have a 3rd process (RDD)
using this same code, let's move the repsonsiblity for knowing how to add
these cmdline params into SharedPreferenceSerializer.

Depends on D26567

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

--HG--
extra : moz-landing-system : lando
2019-04-09 21:07:47 +00:00
Michael Froman
385731ac09 Bug 1539029 - pt 2 - add RDD process selector to prefs module. r=froydnj
Depends on D26566

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

--HG--
extra : moz-landing-system : lando
2019-04-09 21:07:40 +00:00
Michael Froman
0b07404bf5 Bug 1539029 - pt 1 - give RDD its own process selector. r=froydnj
Originally, RDD reused the GPU process selector since they were
using all the same services, and it reduced the number of places
that had to be touched.  Now that RDD needs pref handling, it
needs its own process selector to avoid GPU inheriting pref
handling.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 21:13:16 +00:00
Aaron Klotz
ede6539296 Bug 1520309: Set HGPLAIN env var when running hg push-to-try; r=ahal
If there are a large number of untracked files in the working directory, hg
will attempt to print them all out with the default pager. This does not
interact very will with commands that are built atop this functionality. We
set HGPLAIN=1 so that the underlying hg will not attempt to use a pager.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 21:10:49 +00:00
Dave Townsend
58c5da3a73 Bug 1542716: Allow overriding the update channel that is used when generating the default profile name. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D26632

--HG--
extra : moz-landing-system : lando
2019-04-09 18:38:17 +00:00
Mike Shal
ca72d9f976 Bug 1522931 - Vendor biplist; r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D26390

--HG--
extra : moz-landing-system : lando
2019-04-08 16:29:55 +00:00