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

720767 Коммитов

Автор SHA1 Сообщение Дата
Dana Keeler f468d1bd79 Bug 1656992 - osclientcerts: disable AIA fetching when looking for issuer certificates (macOS) r=kjacobs
When the macOS osclientcerts backend looks for issuer certificates, it can
result in network I/O unless it is specifically disabled. The Windows backend
already handles this, so this only applies to macOS.

Differential Revision: https://phabricator.services.mozilla.com/D85799
2020-08-04 18:06:14 +00:00
Tom Prince e74feb3286 No bug: [taskgraph] Remove unused scriptengine-autophone worker support; r=bc DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D84046
2020-08-04 17:59:27 +00:00
manas 95bf33558a Bug 1653290 - Add overflow badge and show an overflow badge for every scroll causing element dynamically and a test to check its working. r=gl,devtools-backward-compat-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D84333
2020-08-04 17:17:26 +00:00
Timothy Nikkel 127bb5c68a Bug 1657073. Make sure to destroy direct manipulation objects before we clear our HWND pointer. r=kats
Otherwise when we try to call Deactivate on the direct manipulation manager (to balance the Activate call) we won't have the HWND pointer and so it won't balance and we will leak.

We call DestroyDirectManipulation in nsWindow::Destroy but it looks like nsWindow::OnDestroy can be called before nsWindow::Destroy.

Differential Revision: https://phabricator.services.mozilla.com/D85835
2020-08-04 12:13:50 +00:00
Hamzah b7e6b41fc5 Bug 1594914 - Convert mach python-test to run with python 3 r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D77872
2020-08-04 17:40:58 +00:00
Iain Ireland c7711bab00 Bug 1644513: Check maximum nesting depth before compiling regexp r=nbp
Pathological regexps can overflow the stack just from recursively walking the AST during compilation. One way to avoid this is by checking the AST ahead of time to make sure it is not too deep. This occurs on 32-bit and in some configurations on 64-bit.

The visitor API for RegExpTree is sad and full of `void*` spiders, but I don't think it's worth upstreaming a patch to make it nicer.

Note that this is not a complete fix. If the stack is already close to overflowing, then even a relatively shallow regexp might overflow. However:

1. While the code that walks the AST doesn't check for stack overflow, the parser code that creates the AST does. The parser does not recurse as deeply, which is why we can end up in this situation, but many overflow cases will fail cleanly during parsing instead of crashing while walking the AST.

2. This is becoming a fuzzblocker on arm64 (see bug 1655404), so even a partial fix is better than none.

Differential Revision: https://phabricator.services.mozilla.com/D79182
2020-08-03 10:19:50 +00:00
Anny Gakhokidze c6ab9b6229 Bug 1654922 - Part 5: Remove DocumentChannel pref from the pref list, r=mattwoodrow
Depends on D85486

Differential Revision: https://phabricator.services.mozilla.com/D85487
2020-07-30 23:25:23 +00:00
Anny Gakhokidze e93d7c8e15 Bug 1654922 - Part 4: Remove DocumentChannel pref usage from taskcluster, raptor and talos tools, r=mattwoodrow,perftest-reviewers,sparky
Depends on D85485

Differential Revision: https://phabricator.services.mozilla.com/D85486
2020-07-31 14:33:54 +00:00
Anny Gakhokidze 9da231d950 Bug 1654922 - Part 3: Remove mentions about DocumentChannel pref from geckoview, r=mattwoodrow,geckoview-reviewers,agi
Depends on D85484

Differential Revision: https://phabricator.services.mozilla.com/D85485
2020-07-30 23:24:43 +00:00
Anny Gakhokidze d6f531d3a5 Bug 1654922 - Part 2: Remove DocumentChannel pref from mach and mochitest tools, r=mattwoodrow,remote-protocol-reviewers,maja_zf
Depends on D85483

Differential Revision: https://phabricator.services.mozilla.com/D85484
2020-07-31 13:06:08 +00:00
Anny Gakhokidze 2d1151529c Bug 1654922 - Part 1: Remove DocumentChannel pref usage from tests and document navigation code, r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D85483
2020-08-01 16:36:12 +00:00
Kartikaya Gupta 9ae2d62f1b Bug 1657102 - Add directmanipulation.dll to the xperf whitelist. r=jmaher,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D85890
2020-08-04 17:14:46 +00:00
Matthew Gaudet 7131d0a246 Bug 1656351 - Add Inline Cache support for CheckPrivateField r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D85474
2020-08-04 17:22:43 +00:00
Kartikaya Gupta 5ec0989331 Bug 1621740 - Fuzz a reftest that shows some differences with allow_zooming. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D85431
2020-08-04 17:21:38 +00:00
Kartikaya Gupta e841f4a43b Bug 1621740 - Update wpt expectations for a couple of unexpected-passes. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D85430
2020-08-04 17:20:40 +00:00
Nathan Froyd 0050523469 Bug 1656359 - eliminate needless string flattening when calling JS_ParseJSON; r=peterv
JS_ParseJSON doesn't require a null-terminated buffer, so we shouldn't have
to provide one.

Differential Revision: https://phabricator.services.mozilla.com/D85475
2020-08-04 14:17:37 +00:00
Nathan Froyd 01d89c4bd0 Bug 1656945 - use <type_traits> in TelemetryHistogramEnums.h; r=Dexter
This header may have used `mozilla/TemplateLib.h` at sometime in the distant
past, but it doesn't anymore; let's use the correct header instead.

Differential Revision: https://phabricator.services.mozilla.com/D85775
2020-08-04 09:11:37 +00:00
Tom Prince a5db55b4fd No bug: [taskgrah] Fix `mach taskgraph full --tasks <...>` on python 3; r=Callek DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D85895
2020-08-04 17:16:15 +00:00
Yue Zhang cb36d08ccc Bug 1630611 - Remove the nested helper function in the flat() function. r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D85677
2020-08-04 17:15:40 +00:00
Cosmin Sabou 6c3ff28de7 Bug 1651090 - Disable marAppApplyUpdateAppBinInUseStageSuccessSvc_win.js on ccov cause of permafailing. r=bytesized,aryx
Differential Revision: https://phabricator.services.mozilla.com/D85680
2020-08-03 19:05:32 +00:00
Jonathan Kew 7e5e4c7638 Bug 1653354 - Make the WebExtensions API tabs.saveAsPDF work via the Cocoa printing code on macOS. r=jwatt,extension-reviewers,zombie
Differential Revision: https://phabricator.services.mozilla.com/D85891
2020-08-04 16:58:20 +00:00
Andrew McCreight 3d43d61e95 Bug 1656953 - Add remoteType to nsIDOMProcessParent. r=nika
This will let people get information about the process more easily.

remoteType can't be infallible because it is a ACString.

Differential Revision: https://phabricator.services.mozilla.com/D85776
2020-08-04 16:50:00 +00:00
Kashav Madan 0944a1d57c Bug 1655521 - Remove unnecessary code from nsDocumentViewer::ExitPrintPreview, r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D85343
2020-08-04 16:41:52 +00:00
Steve Fink 8b9dd163cc Bug 1648646 followup - address review comments, fix handling of unspecified maxNumPaths option
Differential Revision: https://phabricator.services.mozilla.com/D85893
2020-08-04 16:31:02 +00:00
Mihai Alexandru Michis 9fa46e7850 Backed out 2 changesets (bug 1654957) for causing leaks.
CLOSED TREE

Backed out changeset 14761127f6bb (bug 1654957)
Backed out changeset 49a529a1cc20 (bug 1654957)
2020-08-04 19:31:06 +03:00
Geoff Brown 697ca6ed56 Bug 1617684 - Run existing fission web-platform tests as tier 1; r=jmaher
For all fission web-platform tests currently running on mozilla-central as tier 2,
promote to tier 1 and run on all trunk trees.

Differential Revision: https://phabricator.services.mozilla.com/D85512
2020-08-04 14:12:11 +00:00
Emma Malysz b1f85142b5 Bug 1657016, ensure printSilent option is updated correctly r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D85800
2020-08-04 15:29:59 +00:00
tkhan a8bfcc6305 Bug 1657123 - Removing xorigin and fission annotations for Toolkit/Safe Browsing mochitests, r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D85883
2020-08-04 15:09:06 +00:00
Gijs Kruitbosch 009cbb404f Bug 1634766 - macos: moving a window to/from maximized/zoomed state should update the window's sizemode, r=spohl
When a window is maximized/zoomed, and then moved, we should stop treating it
as maximized/zoomed. Likewise, if the window is moved back to being zoomed/
maximized, we should also update our bookkeeping. Updating the internal
mSizemode will fire the right events and cause window.windowState to return
the correct result when JS interrogates it.

Differential Revision: https://phabricator.services.mozilla.com/D85884
2020-08-04 15:12:11 +00:00
Tracy Walker 444b4a2885 Bug 1656610 - Remove condition that checks the video's currentTime is > 0 r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D85637
2020-08-03 21:02:31 +00:00
Brad Werth 627581e215 Bug 1621655: Make browser_styleeditor_media_sidebar_links.js test await RDM content reflow. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D85793
2020-08-04 15:08:19 +00:00
Jed Davis 7b4c21f949 Bug 1616462 - Make event_base_fd atomic to avoid a TSan error. r=froydnj
See comment #13 on the bug for an explanation of what this fixes, what it
doesn't fix, and why this hasn't been fixed upstream yet.

See also https://github.com/libevent/libevent/issues/779 (upstream bug report)
and https://github.com/libevent/libevent/pull/741 (stalled pull request
with comments explaining the larger problem in more detail).

Differential Revision: https://phabricator.services.mozilla.com/D85781
2020-08-04 15:06:32 +00:00
Mats Palmgren 03f9403679 Bug 1656786 - Make <select> list have 'overflow:auto' by default to indicate its scrollable. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D85874
2020-08-04 14:33:46 +00:00
Jed Davis 24b6995b46 Bug 1654957 - Enable the GfxInfo component in the GPU process on Linux. r=jgilbert
Out-of-process WebGL needs GfxInfo to exist in the composition
process (which is the GPU process if it exists and the parent process
otherwise).  This patch enables the Linux version of that component in
the GPU process; the IPC currently used to give content processes copies
of the parent's GPU info is extended to also send it to the GPU process.

Differential Revision: https://phabricator.services.mozilla.com/D85443
2020-07-30 22:08:15 +00:00
Jed Davis e0230397f6 Bug 1654957 - Prelude: move GfxInfoFeatureStatus from dom to gfx. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D85488
2020-07-30 22:07:24 +00:00
Dan Minor b9cc2eb001 Bug 1653720 - Do not generate kFid ssrc-group if no msid is present; r=bwc
Chrome's SDP parser has problems with an ssrc-group being present if the media
section is inactive and does not have an msid.

Differential Revision: https://phabricator.services.mozilla.com/D85320
2020-08-04 14:45:12 +00:00
Gregory Mierzwinski 4f1cccc879 Bug 1656855 - Make perfherder-metrics character escapes OS-specific. r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D85761
2020-08-04 14:40:02 +00:00
Sebastian Hengst 21341f7da8 Bug 1656998 - Adjust fuzzy annotations for reftests which became less fuzzy after toolchain and images got rebuilt. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D85840
2020-08-04 12:59:21 +00:00
Simon Giesecke 98908aba1e Bug 1657087 - Fix fallible behaviour of nsStyleAutoArray and nsStyleImageLayers. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D85850
2020-08-04 12:39:39 +00:00
Sebastian Streich bf58055b03 Bug 1633710 - Move uri.spec calls to nsIPrincipal r=necko-reviewers,geckoview-reviewers,preferences-reviewers,ckerschb,ntim,snorp,valentin
Differential Revision: https://phabricator.services.mozilla.com/D82911
2020-08-04 11:10:41 +00:00
André Bargull c619a54f30 Bug 1655697: Optimise Reflect.getPrototypeOf in CacheIR and Warp. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D85131
2020-08-04 12:52:13 +00:00
Tim Huang 8a5887863d Bug 1656325 - Make the test 'test_cross_origin_iframe.html' Fission-compatible. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D85857
2020-08-04 14:12:50 +00:00
Stepan Stava 1db60f22b9 Bug 1644250 - Make 'addException' action reusable. r=nchevobbe.
Makes `addException` more reusable in the form that can be used with exceptions objects that have different properties than a `resource` object from the `resourceWatcher`.
Fixes a typo in `Exception.js`.
Fixes incorrectly set property `sourceId` in `addEditorExceptionLine()` in `Exception.js`.

Differential Revision: https://phabricator.services.mozilla.com/D78883
2020-08-04 13:57:27 +00:00
Jim Mathies f8c258aa90 Bug 1656269 - Record credit card related prefs in telemetry's main ping. r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D85470
2020-07-30 22:14:27 +00:00
Kartikaya Gupta ce9f751703 Bug 1653943 - Remove unnecessary test assertion that complicates production code. r=jaws
Asserting that features with gates are always disabled seems unnecessary,
and forces changes to the test every time a feature is enabled by default.

Differential Revision: https://phabricator.services.mozilla.com/D85433
2020-08-04 12:17:55 +00:00
Emilio Cobos Álvarez f67d206be2 Bug 1640040 - Only handle updating the DOM state from TextControlState::SetValue on the outer caller. r=masayuki
The issue here is that AccessibleCaret flushes layout from the middle of
the SetValue call, because it hides the caret (see the call stack in
comment 11).

That changes the placeholder-shown state because it goes from empty to
non-empty but the SetValue call from UnbindFromFrame is not supposed to
change that state (because we're in the middle of restyling).

Call OnValueChanged later, at the outer caller instead.

Differential Revision: https://phabricator.services.mozilla.com/D85745
2020-08-04 11:22:42 +00:00
Emilio Cobos Álvarez a4066afce1 Bug 1656146 - Introduce nsPrinterBase, and add facilities for async attributes queried in a background thread. r=heycam
While at it, properly CC the printer classes, as they're going to hold
promises and it's very easy to introduce leaks otherwise.

Co-Authored-By: Jonathan Watt <jwatt@jwatt.org>

Differential Revision: https://phabricator.services.mozilla.com/D85791
2020-08-04 12:06:37 +00:00
Kai Engert d0109fca04 Bug 1656520 - NSPR_4_28_BETA1. r=kjacobs UPGRADE_NSPR_RELEASE
Differential Revision: https://phabricator.services.mozilla.com/D85602
2020-08-04 12:01:24 +00:00
Luca Greco f5fc6a6274 Bug 1654842 - webNavigation.getAllFrames/getFrame should resolve to null when called on discarded tabs. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D85622
2020-08-03 22:01:52 +00:00
Simon Giesecke 96f3e7e019 Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D84807
2020-08-04 11:27:07 +00:00