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

678042 Коммитов

Автор SHA1 Сообщение Дата
Dzmitry Malyshau 2200211212 Bug 1592398 - Fix SSL name collisions with Apple Security libraries r=drno
Forces the order of includes before `sslproto.h`

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

--HG--
extra : moz-landing-system : lando
2019-11-04 22:23:46 +00:00
thomasmo dda2b5209a Bug 1593361 - Define UNICODE in vrhost to support sending UTF16 character input r=kip
This change defines UNICODE for building vrhost so that wide chars can be sent from vrhost to Firefox.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 22:17:57 +00:00
Edwin Takahashi 072601476a Bug 1591220 - migrate python-safety to run with python3 by default r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D51184

--HG--
extra : moz-landing-system : lando
2019-11-04 21:55:21 +00:00
Harry Twyford 4dce9bbdfa Bug 1593659 - Put the search button behind a pref. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D51674

--HG--
extra : moz-landing-system : lando
2019-11-04 20:40:40 +00:00
Harry Twyford cd00782e41 Bug 1593661 - Extend the expanded megabar by 2px. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D51661

--HG--
extra : moz-landing-system : lando
2019-11-04 20:25:51 +00:00
Geoff Brown 38dd21ea87 Bug 1593779 - Bail out of test-verify tasks faster when there is no work to do; r=bc
This minor optimization is easily implemented: If there are no tests to verify, call fatal(0).
However, I encountered a minor obstacle: If the task exits before creating the upload directory,
the task fails, regardless of exit value; the remaining changes overcome this by creating the
upload directory earlier.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 21:46:57 +00:00
Olli Pettay 02c8846b1d Bug 1567493 - Date Input field pushes the year back by one year each time you type a '0' in the month part of the input field, r=mconley
Tweaking the patch for bug 1445207 a tiny bit.
Unfortunately we don't seem to have good way to test this.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 21:16:34 +00:00
Gabriel Luong d1c32b6f80 Bug 1575075 - Add an audio toggle button in PiP to mute and unmute a video. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D51413

--HG--
extra : moz-landing-system : lando
2019-11-04 21:14:50 +00:00
Ted Campbell cabef1d645 Bug 1593486 - Add ./mach jit-test command r=sfink,froydnj
This allows running the jit_test.py harness using mach. It works very
similarly to the existing 'mach jstests' command.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 19:46:43 +00:00
David Major 896094e44a Bug 1592981 - Use -import-instr-limit to mitigate size growth from ThinLTO r=froydnj
When we first enabled ThinLTO on our builds, we got great performance gains, but also large size increases due to aggressive inlining. There is an LLVM option called -import-instr-limit that limits the size of functions that may be imported (the threshold is subject to modification by PGO). Chromium found a good balance between speed and performance by using a value of 10. In initial testing, on Windows and Linux that value can save us many megabytes from libxul without noticeable speed regressions. For Mac, which doesn't yet have PGO, we have to use a higher limit to avoid over-restricting the optimizer which caused slowdowns on my try pushes.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 15:58:54 +00:00
Ted Campbell d93b9de014 Bug 1591405 - Add BaseScript::function() and simplify code. r=jandem
Instead of checking for canonical function using scope chain, we can
directly use the functionOrGlobal field. By moving this to the
BaseScript class we can also simplify the debugger acccess.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 21:46:55 +00:00
Ted Campbell b3ca3e3f9b Bug 1585372 - Compute script name in InitScriptCoverage. r=nbp
To avoid calling JSScript::function() from finalizer, we need to read the
name earlier in process.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 16:33:35 +00:00
Ted Campbell bed71ec642 Bug 1585372 - Run InitScriptCoverage after initialization. r=jandem,nbp
To allow InitScriptCoverage to be more flexible, we need to delay the call
until the JSScript is actually initialized. This moves the calls from
JSScript constructor until the JSScript is actually initialized. This is
similar to the debugger onNewScript call, but more cleanup would be needed to
unify these.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 20:21:28 +00:00
Ted Campbell 07cee7227d Bug 1593354 - Add BaseScript::IsFunction flag. r=jandem
Set this flag for scripts that are for functions. This is equivalent to
checking the kind of the bodyScope() but is safe to call in GC contexts such
as finalization.
Also use an isFunction() accessor instead of checking if JSScript::function()
is nullptr throughout the codebase. Similarly, cleanup similar uses of
JSScript::module().

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

--HG--
extra : moz-landing-system : lando
2019-11-04 07:56:09 +00:00
Jonathan Watt db9b9ed1af Bug 1593793. Move and rename nsPrintData::mBrandName to nsPrintJob::mFallbackDocTitle. r=bobowen
nsPrintData::mBrandName never changes over the lifetime of a Firefox instance.
It is wasteful to have nsPrintData obtain and store it, since we can replace
an nsPrintJob's nsPrintData object multiple times over the lifetime of the
nsPrintJob and nsPrintJob is the only consumer.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 20:02:03 +00:00
Valentin Gosu ca20259fa5 Bug 1584397 - Make http2 proxy code execute in a separate process r=mayhemer
* Adds a new moz-http2-child.js file which gets spawned into a new process. When calling NodeServer.execute, the code gets passed to the existing moz-http2.js process which then sends it to be evaluated in the child process. Any crash in the child should not be able to kill the main node process.
* Moves the proxy creation code into test_http2-proxy.js
* Adds the new NodeServer.fork() and NodeServer.kill() static methods to spawn a new server
* Makes it easier to isolate a test's behaviour from another's. It also opens the way to moving some of the logic to individual unit tests, like we do for the proxy creation code, rather than keeping it all in moz-http2.js

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

--HG--
extra : moz-landing-system : lando
2019-11-04 14:32:45 +00:00
Christoph Walcher 5ff74f7574 Bug 1593051 - Remove usage of parseXULToFragment from applicationManager.js r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D51545

--HG--
extra : moz-landing-system : lando
2019-11-04 20:18:53 +00:00
Thomas Wisniewski dea46a2eed Bug 1589182 - remove mobile/android/extensions/ and /mobile/android/chrome/content (Fennec leftovers); r=snorp,agi
Remove mobile/android/extensions/ and /mobile/android/chrome/content from mozilla-central (Fennec leftovers)

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

--HG--
extra : moz-landing-system : lando
2019-11-04 20:32:10 +00:00
Karl Tomlinson 407ce752f5 Bug 1593244 avoid await and async function so that setup() catches undefined context.audioWorklet r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D51556

--HG--
extra : moz-landing-system : lando
2019-11-04 17:28:32 +00:00
David Parks b5f917254e Bug 1449736: Properly detect failure in receiving plugin NPObjects r=jmathies
Properly handles NPError reporting and makes sure that, in the case of failure, it does not return junk for the NPObject.

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

--HG--
extra : moz-landing-system : lando
2019-10-12 17:05:35 +00:00
Dão Gottwald 2d7ef52d60 Bug 1584101 - Clip the navigation toolbar when the address bar can be rendered within the toolbar's bounds. r=Gijs,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D49861

--HG--
extra : moz-landing-system : lando
2019-10-26 10:41:15 +00:00
Csoregi Natalia d6c49cdf76 Backed out changeset e75d9dbb4853 (bug 1590550) for reftest failures on contain-paint-clip-001.html . CLOSED TREE 2019-11-04 23:38:56 +02:00
Ciure Andrei 7e109624e1 Backed out changeset 5fa9d63654d0 (bug 1593462) for causing browser_parsable_css.js to permafail CLOSED TREE 2019-11-04 22:16:06 +02:00
Valentin Gosu d2b0661c9b Bug 1589609 - Add unit test for obs-fold header parsing r=JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D51536

--HG--
extra : moz-landing-system : lando
2019-11-04 20:12:12 +00:00
Glenn Watson 005d8ccd27 Bug 1591580 - Support picture caching for parent process content. r=kvark
For content that comes from the parent process (e.g. about:support)
the shape of the display list is slightly different. In these cases
ensure that we setup picture caching slice markers on the root
stacking context.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 19:33:24 +00:00
Jason Laster d6de8cab3a Bug 1593348 - Handle empty target in paused-debugger. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D51455

--HG--
extra : moz-landing-system : lando
2019-11-01 21:00:58 +00:00
Emilio Cobos Álvarez eb96434317 Bug 1590550 - Don't do the "simple display list" optimization when we have overflow clips. r=mattwoodrow
The previous code tried to do it, but it did it wrongly, as the overflow clip
comes from the parent, not the child.

Thus when we change a style that influences it, we weren't invalidating the
SIMPLE_DISPLAY_LIST bit, and such.

Make the reftest that caught this fail more reliable.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 19:30:24 +00:00
Gregory Mierzwinski 7e63c0206e Bug 1559727 - Set executable bit after extraction, and correct ImageMagick path. r=perftest-reviewers,stephendonner
This patch fixes some issues with binaries not being executable after being extracted. It also fixes the ImageMagick expected extraction path to the correct location. To prevent that from occuring again, a check is done after extraction to be sure that the extraction completed successfully.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 18:09:26 +00:00
Nazım Can Altınova 907062f683 Bug 1586105 - Requesting the complete log to be able to debug intermittent timeout. r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D51605

--HG--
extra : moz-landing-system : lando
2019-11-04 13:46:59 +00:00
Gijs Kruitbosch 34cb7fdd7d Bug 1589900 - ensure we initialize about:privatebrowsing remote page handler before loading it from the commandline, r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D51583

--HG--
extra : moz-landing-system : lando
2019-11-04 18:27:05 +00:00
Dzmitry Malyshau 91cac2c161 Bug 1591438 - Move DEFINE_IPC_SERIALIZER_WITH_FIELDS into IPCMessageUtils header r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D51558

--HG--
extra : moz-landing-system : lando
2019-11-04 15:00:04 +00:00
Geoff Brown fa9b5dc0f3 Bug 1592681 - Update raptor mozharness output parser to respect retry regex; r=perftest-reviewers,rwood
When certain strings are logged - "ADBTimeoutError", "INFRA-ERROR", etc - mozharness tasks
usually retry: The task exits with TBPL_RETRY (4), is reported as "blue" in treeherder, and
a new task is automatically started. This patch implements missing retry logic for raptor
tasks, copying the logic from
https://searchfox.org/mozilla-central/rev/59de675101da711520c0bb6e34a1ea2372e7ddbb/testing/mozharness/mozharness/mozilla/testing/unittest.py#169-174

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

--HG--
extra : moz-landing-system : lando
2019-11-04 16:41:12 +00:00
Glenn Watson 56dcacf7f8 Bug 1591526 - Use occlusion culling to reduce number of picture cache tiles. r=nical
During the visibility pass, picture caches register themselves as
occluders, if they have a valid opaque region.

During the primitive preparation pass, each tile queries if it is
occluded. If so, it skips rasterization and compositing of itself
for this frame. In this way, tiles that are always occluded never
end up allocating GPU memory for a surface.

Also add support during primitive dependency generation for opaque
images to be considered as part of the opaque backdrop region.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 19:27:52 +00:00
Julian Descottes 3ff4d952e6 Bug 1591952 - Add a global try catch around grid-inspector onReflow to swallow exceptions after destroy r=gl
This method is very asynchronous, called on reflows and throttled. Which means it has a high chance of intermittently failing after destroy.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 19:44:32 +00:00
Itiel f985df675a Bug 1593542 - General RTL improvements to the network monitor r=jdescottes
Also improve CSS code style/quality

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

--HG--
extra : moz-landing-system : lando
2019-11-04 17:46:46 +00:00
Itiel 5ce806c91a Bug 1593463 - Fix RTL for about:tabcrashed r=Gijs,mconley
Differential Revision: https://phabricator.services.mozilla.com/D51502

--HG--
extra : moz-landing-system : lando
2019-11-04 18:17:41 +00:00
Csoregi Natalia 27333d7243 Backed out changeset 8e192f9c8f84 (bug 1580246) for build bustages on BytecodeSection.h CLOSED TREE 2019-11-04 20:48:53 +02:00
Paul Zuehlcke fc28db568e Bug 1519648 - Fixed screen share preview permission prompt layout bug. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D51579

--HG--
extra : moz-landing-system : lando
2019-11-04 16:33:04 +00:00
Thomas 57215db88c Bug 1573781 - Remove unnecessary closing tag for the richlistitem in MozAutocompleteRichlistboxPopup r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D51521

--HG--
extra : moz-landing-system : lando
2019-11-04 18:34:33 +00:00
Chris Fallin dd56740967 Bug 1580246: Remove object-literal singleton objects allocated at parse. r=djvj,mgaudet
Instead, this patch introduces a new `ObjLiteral` mini-bytecode format
that is used to carry object-literal information from parse time to a
later time at which GC objects are safe to allocate. The mini-bytecode simply
specifies a list of fields and constant field values.

The original intent of this patch (realized in previous versions of it)
was to make this an opcode, and completely replace object creation
sequences (NEWINIT, INITPROP, INITPROP, ...) with one OBJLITERAL opcode.
However, there are quite a few performance regressions that occur when
replacing the finely-tuned set of optimizations around this with a new
mechanism.

As a result, this patch only defers allocation of the objects until the
very end of parse. Each object literal adds an ObjLiteralCreationData
instance to the GC-things list, and when the GC-things list is processed
to perform deferred allocations, the described objects will be created.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 18:31:18 +00:00
Jorg K eb530ab0f2 Bug 1593540 - Follow-up to bug 1587067: Check install path match before trying to match x68 path. r=mossop DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D51534

--HG--
extra : moz-landing-system : lando
2019-11-04 18:26:35 +00:00
Itiel ca6ec82633 Bug 1575472 - Fix extension shortcuts error messages for RTL r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D51523

--HG--
extra : moz-landing-system : lando
2019-11-04 18:22:07 +00:00
Itiel e74a8a614d Bug 1593462 - Cleanup preferences.inc.css to fix RTL and remove unused rules r=Gijs
Also improve code style/quality

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

--HG--
extra : moz-landing-system : lando
2019-11-04 18:07:56 +00:00
Edwin Takahashi 9666fe15f4 Bug 1212502 - revert _pslinux.py file to initially vendored state r=ahal
Changes:
- reverts the changes made to a vendored psutil file to a prior state

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

--HG--
extra : moz-landing-system : lando
2019-11-04 17:52:49 +00:00
Andrea Marchesini 815d827202 Bug 1591579 - Move ResponseData JS objects and Blob from XMLHttpRequestWorker::ResponseData to XMLHttpRequestWorker, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D51650

--HG--
extra : moz-landing-system : lando
2019-11-04 17:46:23 +00:00
Andrea Marchesini 987e7faf8e Bug 1591579 - Retrieve the XHR response values only when needed, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D51412

--HG--
extra : moz-landing-system : lando
2019-11-04 17:46:23 +00:00
Andrea Marchesini 305bfed4d3 Bug 1591579 - XHR ArrayBufferBuilder needs to have a refcounted buffer handling, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D51088

--HG--
extra : moz-landing-system : lando
2019-11-04 15:38:04 +00:00
Andrea Marchesini 07aed8049d Bug 1591579 - Test for XHR on sharedWorkers, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D50951

--HG--
extra : moz-landing-system : lando
2019-11-04 15:38:06 +00:00
Andrea Marchesini 6c4f3e3599 Bug 1591579 - XMLWorker takes data from XMLMainThread without calling GetResponse(), r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D50921

--HG--
extra : moz-landing-system : lando
2019-11-04 15:38:08 +00:00
Andrea Marchesini cb9efcf21b Bug 1591579 - XHR-MainThread exposes a set of methods to retrieve response values for workers, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D50920

--HG--
extra : moz-landing-system : lando
2019-11-04 15:38:10 +00:00