Граф коммитов

656695 Коммитов

Автор SHA1 Сообщение Дата
Ted Campbell d2cb6059f3 Bug 1559275 - Remove unused CompileOptions::isProbablySystemCode. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D34977

--HG--
extra : moz-landing-system : lando
2019-06-19 00:27:40 +00:00
Ted Campbell a68d5a818e Bug 1559275 - Only initialize JS::OwningCompileOptions by copying. r=jandem
All uses of OwningCompileOptions now are initialized from copy() so
remove the now-unused setters.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 00:27:41 +00:00
Ted Campbell 9b0fa42e1f Bug 1559275 - Avoid OwningCompileOptions accessors in js-rust glue. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D35260

--HG--
extra : moz-landing-system : lando
2019-06-19 00:50:43 +00:00
Ted Campbell 243dd6a969 Bug 1559275 - Use JS::CompileOptions in AsyncScriptCompiler. r=kmag
Initializing OwningCompileOptions directly will soon be deprecated in
order to have consistent defaults. This results in more consistent
behavior of experimental features that are enabled based on realm flags.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 00:27:41 +00:00
Ed Lee 89a3e34186 Bug 1552280 - Update default 68+ about:welcome experience including cards for return-to-AMO r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D35287

--HG--
extra : moz-landing-system : lando
2019-06-19 01:02:14 +00:00
Dão Gottwald b0f92762cd Bug 1547301 - Add openViewOnFocus API. r=mak,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D34509

--HG--
extra : moz-landing-system : lando
2019-06-19 00:46:40 +00:00
Jean-Yves Avenard 624887abc5 Bug 1559563 - P2. Small optimization of `Once` StaticPrefs accessor. r=njn
We can avoid testing if we are running in the parent process.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 11:26:25 +00:00
Jean-Yves Avenard b10113a9fc Bug 1559563 - P1. Move StaticPrefs accessor back to header file. r=njn
This allows for the compiler to inline the code where appropriate.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 11:25:21 +00:00
Jean-Yves Avenard 139dde3db5 Bug 1559675 - P2. Initialise xpcom earlier in GPU process. r=mattwoodrow
StaticPrefs are fully initialized with Preferences, which is instantiated via XPCOM. It is required as such to initialize xpcom first.

Depends on D35263

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

--HG--
extra : moz-landing-system : lando
2019-06-18 23:03:20 +00:00
Jean-Yves Avenard 01ac9fc00f Bug 1559675 - P1. Initialize StaticPrefs early in non-parent process. r=njn
We can initialize the StaticPrefs as soon as the SharedMap object is created outside the parent process.

Additionally when resetting the preferences to their default values, we no longer modify the `Once` StaticPrefs as they are immutable, only the underlying preference.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 00:22:33 +00:00
Mathieu Leplatre 9d4d46eb0b Bug 1559114 - Optimize CRLite intermediates download r=glasserc,jcj,keeler
Differential Revision: https://phabricator.services.mozilla.com/D34880

--HG--
extra : moz-landing-system : lando
2019-06-18 23:18:59 +00:00
Mathieu Leplatre 31482b455c Bug 1559114 - Optimize signature verification of Remote Settings dumps r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D34879

--HG--
extra : moz-landing-system : lando
2019-06-18 23:17:50 +00:00
Mathieu Leplatre 1d103e317f Bug 1559114 - Improve debug logging of Remote Settings r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D34878

--HG--
extra : moz-landing-system : lando
2019-06-18 23:17:47 +00:00
Jared Wein 87b9e27c38 Bug 1559355 - Add underscore prefixes to private methods. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D35115

--HG--
extra : moz-landing-system : lando
2019-06-18 23:34:29 +00:00
Jared Wein f06116878f Bug 1559355 - Cache references to shadow DOM elements and move the call to reflectFluentStrings to the super-class. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D35114

--HG--
extra : moz-landing-system : lando
2019-06-18 23:34:27 +00:00
Jared Wein 0ac33fa17d Bug 1559355 - Move custom attributes to element.dataset. r=Gijs
Attributes that are related to Fluent-based strings intentionally weren't moved to element.dataset.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 23:34:20 +00:00
Jared Wein 8f7b75ff6e Bug 1559355 - Add jsdoc to public methods of custom elements. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D35112

--HG--
extra : moz-landing-system : lando
2019-06-18 23:34:16 +00:00
Jared Wein 53b7f4a2bd Bug 1559355 - Pull out a reference to classList in handleEvent. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D35111

--HG--
extra : moz-landing-system : lando
2019-06-18 23:34:07 +00:00
Jared Wein 70768bde96 Bug 1559355 - Add in a form element and use form.reset to clear form validation. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D35110

--HG--
extra : moz-landing-system : lando
2019-06-18 23:34:05 +00:00
Brian Grinstead d99b0feeab Bug 1559208 - Stop setting [devtoolstheme] on browser-bottombox;r=jdescottes
This is unused since gcli removal

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

--HG--
extra : moz-landing-system : lando
2019-06-18 22:44:17 +00:00
Patrick Brosset a16af7dace Bug 1559257 - Removing getSameTypeRootTreeItemIgnoreBrowserBoundaries and getSameTypeParentIgnoreBrowserBoundaries usage; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D34940

--HG--
extra : moz-landing-system : lando
2019-06-18 15:59:29 +00:00
Matt Howell 68dca0f7f0 Bug 1558090 - Support partner stub installers configuring the manual download URL. r=agashlin
I named the INI file parameter "FallbackPage" so that people building these
configurations can quickly understand what this URL is for and don't have to
figure out what "manual download" means.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 23:39:21 +00:00
Narcis Beleuzu 95bc1318ae Backed out changeset e9e24264e20d (bug 1547301) for bc failures on UrlbarInput.jsm. CLOSED TREE 2019-06-19 02:28:41 +03:00
Bob Owen 8b9cfd092a Bug 1558009: Always return false from CanvasRenderingContext2D::EnsureTarget when mTarget == sErrorTarget. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D34922

--HG--
extra : moz-landing-system : lando
2019-06-18 22:10:47 +00:00
Masatoshi Kimura a98a095bd4 Bug 1559322 - Use "GreD" and "GreBinD" instead of "CurProcD" to remove macOS-specific hack and influence from firefox-appdir. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D35011

--HG--
extra : moz-landing-system : lando
2019-06-18 18:43:05 +00:00
alwu 595af52f60 Bug 1556079 - part2 : enable and modify wpt 'cue_too_long.html'. r=heycam
According to the spec 7.2.10.17 [1], if we have tried both direction and there is no place to put the cue inside the rendering area without overlapping with other cues or the boundary of rendering area, then we have to discard all CSS boxes, which means that we should not display this cue.

Therefore, I added the cue's text content in `very_long_cue.vtt` in order to let it exceed the boundary of the rendering area during display.

[1] https://www.w3.org/TR/webvtt1/#processing-cue-settings

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

--HG--
extra : moz-landing-system : lando
2019-06-13 18:06:12 +00:00
alwu c7b361e5b5 Bug 1556079 - part1 : hide cue if we can't find a good place to put it fully inside the rendering area. r=heycam
According to the spec 7.2.10.17 [1], if we have tried both direction and there is no place to put the cue inside the rendering area without overlapping with other cues or the boundary of rendering area, then we have to discard all CSS boxes, which means that we should not display this cue.

[1] https://www.w3.org/TR/webvtt1/#processing-cue-settings

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:26:54 +00:00
Emilio Cobos Álvarez 841d3eea32 Bug 1559545 - Use servo for the representation of grid template areas. r=mats
Right now we do a lot of useless string copying. In order to avoid transcoding
to utf-16 during layout, make sure to use nsCString at a few related places.

I may revisit this since we're storing other line names as atoms in some places.
So it may be better to just use atoms everywhere.

But that'd be a different patch either way.

Depends on D35116

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

--HG--
extra : moz-landing-system : lando
2019-06-18 22:29:58 +00:00
Emilio Cobos Álvarez f720448603 Bug 1559545 - Use more ffi-friendly types in grid template areas. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D35116

--HG--
extra : moz-landing-system : lando
2019-06-17 15:44:21 +00:00
Mike Conley 6a18fcd209 Bug 1558337 - Add a workaround for RDM for ContextMenuParent.jsm to make context menus work properly. r=NeilDeakin
This workaround hands the top-level browser to nsContextMenu rather than the
mozbrowser in the RDM case. We need to do that since RDM does a lot of work
to make the inner mozbrowser _seem_ like the top-level browser, including
proxying messages from that top-most browser to the underlying mozbrowser.

This workaround makes us consistent with that model, and will have to do until
we can get bug 1559456 fixed.

Depends on D35077

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

--HG--
extra : moz-landing-system : lando
2019-06-18 21:12:01 +00:00
Mike Conley c15ee2802a Bug 1558506 - Don't preventDefault the contextmenu event in ContextMenuChild.jsm. r=NeilDeakin
In the content process case, preventing default stops the context menu event from being dispatched
within remote iframes, which is what causes bug 1558506.

In the parent process case, preventing default stops the nsXULPopupListener from opening the context
menu for us when we don't want ContextMenuParent to handle it, which we don't want to do.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 21:13:02 +00:00
Tom Ritter 0b01745031 Bug 1376408 - Randomize free region selection for small allocations in a run r=glandium
This allows freelist randomization on a per-arena basis, by supplying parameters to
arena creation.

It uses an xorshift PRNG with a 128-bit state. It is not cryptographically secure. An
attacker who can observe outputs of the RNG, or read its state, is already in a position
to bypass the randomization applied. At the same time we make its state 128 bit to prevent
a trivial bypass if one or two outputs are observed.

The way a run selects masks to check has not been modified, so the randomization is limited
to at most 32 bits in the current mask being tested. It should be noted that while allocations
from the same run may now be non deterministic (up to the maximum entropy as previously
stated), an attacker who can perform multiple allocations will still be able to allocate
a targeted free region (for example while exploiting a use after free vulnerability in the
DOM). Non deterministic allocations will only impede an attacker who has less control over
how they allocate a targeted free region, and may provide some benefit during exploitation
of a heap based buffer overflow vulnerability where the attacker wishes to construct a
precise layout of regions pre overflow.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 21:18:23 +00:00
sotaro 62e9533629 Bug 1559859 - Always release mWidget in UiCompositorControllerChild::Destroy() r=kats
Differential Revision: https://phabricator.services.mozilla.com/D35210

--HG--
extra : moz-landing-system : lando
2019-06-18 09:49:02 +00:00
Doug Thayer 45555d1065 Bug 1548247 - Fully recurse frame tree from APZCCallbackHelper r=kats
I wasn't able to produce a situation in which this change matters, so
I'm not certain that it's necessary, but it seems to be the correct
thing to do given the problem fixed in nsGfxScrollFrame.cpp.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 22:03:08 +00:00
Doug Thayer b9ba8a94c6 Bug 1548247 - Use aGuid's RenderRoot in RecvStart/StopAutoscroll r=kats
The work for the antecedent patch led me to stumble on a problem where
we were not correctly stopping autoscroll. This was also due to a
renderroot mismatch, which this patch addresses. The call comes through
nsBaseWidget no matter what, it seems, so using mWrRootId.mRenderRoot
seems to be incorrect. I couldn't see a more elegant fix than this.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 22:03:04 +00:00
Doug Thayer 5a066b03f1 Bug 1548247 - Correct and limit scroll update renderroot usage r=kats
There's two things going on here. 1) nsGfxScrollFrame is getting the
wrong renderroot, because it's not correctly recursing up the frame
tree. 2) Hiding behind that problem is that if we do correctly assign
the renderroot, we end up blocking on both render roots updating if
we don't, say, have a horizontal scroll option, because that leaves
us with a wr::RenderRoot::Default. 2.1) We then still end up blocking
on the default renderroot because we initialize the selector with
WebRenderBridgeParent's mRenderRoot.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 22:02:57 +00:00
Edwin Gao 532d1f55c1 Bug 1548614 - change worker and task name from windows10-64-ux to windows10-64-ref-hw-2017 r=jmaher
Changes:
- rename the task name from windows10-64-ux to `windows10-64-ref-hw-2017`
- change `hardware` worker type to use the new reference hardware

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

--HG--
extra : moz-landing-system : lando
2019-06-18 20:18:37 +00:00
Dão Gottwald a47b5d441d Bug 1547301 - Add openViewOnFocus API. r=mak,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D34509

--HG--
extra : moz-landing-system : lando
2019-06-18 21:09:46 +00:00
Tarek Ziadé 9f31044be3 Bug 1529022 - Add a GeckoChildProcessHosts iterator r=jld
Adds GeckoChildProcessHost::GetAll() and use it in ChromeUtils::GetProcInfo()

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

--HG--
extra : moz-landing-system : lando
2019-06-18 16:36:52 +00:00
Tom Tung b8c27feb30 Bug 1529016 - P1 - Collect unexpected file's name in the origin directories; r=asuth,chutten
Differential Revision: https://phabricator.services.mozilla.com/D34721

--HG--
extra : moz-landing-system : lando
2019-06-18 21:06:32 +00:00
Alex Chronopoulos f7ad03d42f Bug 1557528 - Import dav1d from upstream to version 0.4.0. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D34997

--HG--
extra : moz-landing-system : lando
2019-06-18 20:52:59 +00:00
Gabriele Svelto c4d9ffe88a Bug 1555954 - Serialize content processes' exception-time annotations in binary format when sending them to the main process r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D33376

--HG--
extra : moz-landing-system : lando
2019-06-18 19:19:33 +00:00
Brendan Dahl ccb8b2f945 Bug 1558674 - Allow chrome privileged documents to enable/disable copy/paste. r=Ehsan,bgrins
For content HTML/XHTML copy/paste should always be enabled, but for chrome
docs we can support enabling/disabling copy/paste.

Also, restores tests to how they were before copy/paste was always enabled.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 20:40:19 +00:00
Makoto Kato 1d7ac71577 Bug 1507997 - Use compositionupdate event to wait for composition text r=geckoview-reviewers,snorp
A lot of failures occurs in `org.mozilla.geckoview.test.TextInputDelegateTest.inputConnection` when getting composition string. This tests doesn't wait for `compositionupdate`, so we should listen this event to wait for updating composition string.

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

--HG--
extra : moz-landing-system : lando
2019-06-17 05:23:17 +00:00
Jeff Gilbert 5b9d1d2911 Bug 757642 - Rely on downloadable blocklist for Mac MSAA disabling. r=jrmuizel
Previously we were hardcoding to disable on AMD. Modern MacOS versions
don't have MSAA corruption, and anything we find that does should go on
the downloadable blocklist instead.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 20:02:10 +00:00
Valentin Gosu 54d2ce5f01 Bug 1558495 - Make sure we retry the TRR connection if it fails r=agrover
This patch adds:
* tests that we restart the TRR connection if it gets abnormally shut down
* a way to terminate the TRR connection when attempting to resolve closeme.com
* makes sure that resolving excluded domains with the DISABLE_TRR flag does
  not fail. Before this we would return an error code without checking the
  excluded domains first.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 21:49:10 +00:00
Narcis Beleuzu 5f56a9577f Backed out changeset 93ccef162814 (bug 1547301) for mochitest leaks on browser_page_bringToFront.js. CLOSED TREE 2019-06-18 22:48:05 +03:00
Christoph Kerschbaumer f0ef1b0536 Bug 1497201: Apply Meta CSP to about:networking. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D35153

--HG--
extra : source : 80e58bbe2e88549bed98c8c5f2e08d836c50ae90
extra : histedit_source : 9244d02362d7fa9fc8329babfcca16f2b471c9c9
2019-06-16 11:12:16 +00:00
Sebastian Hengst 848a8e68a9 Backed out changeset 80e58bbe2e88 (bug 1497195) for landing with wrong bug number 2019-06-18 21:26:36 +02:00
Dickson Tan d974e4bf55 Bug 1544773 - fix clicking on disclosures in the console redirecting focus to input. r=nchevobbe
The top-level App component forcefully resets focus to the console input when something in the output gains focus, e.g disclosure toggles, and the clear output button.While this is useful for mouse users when typing, it breaks reading flow for screen reader users when reviewing output, being sent back to input when interacting with disclosures.

This commit prevents the unwanted focus behaviour when clicking by suppressing it in an onMouseDown, and prevents the click event from bubbling to the App component so focus doesn't get reset.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 19:17:58 +00:00