Commit Graph

821178 Commits

Author SHA1 Message Date
ahochheiden
3086d55972 Bug 1776255 - Add the appropriate 'when' to all 'option' that end up calling 'pkg_check_modules' later r=firefox-build-system-reviewers,glandium
We don't check for pkg-config on some platforms (Windows, OSX, Android).
On those platforms, calling 'pkg_check_modules' will not work. Adding
the same 'when' used for the 'pkg_config' check to all the options that
end up calling 'pkg_check_modules' effectively disables them, and prevents
'pkg_check_modules' from being called.

Differential Revision: https://phabricator.services.mozilla.com/D150649
2022-11-25 17:22:03 +00:00
Greg Mierzwinski
bae4637326 Bug 1799179 - Add multi-suite test categories to perf selector. r=perftest-reviewers,kshampur
This patch adds 4 new categories of tests to the perf selector: DAMP tests, Talos tests, Graphics, & Media Playback, and Resource Usage tests. Each of these use a different suite (talos), and one of them also makes use of AWSY. Some extra code needed to be added, and the existing setup that we use for categories had to change to handle the case of a category using multiple suites.

The Resource Usage category has the most going on in it. A few new fields are added to allow categories to specify/restrict where they can run (platform, variants, and app).

Differential Revision: https://phabricator.services.mozilla.com/D162871
2022-11-25 17:03:54 +00:00
Sebastian Hengst
03c17445f3 Bug 1801854 - set service-worker-fetch.https.window.html as failing outside Nightly and Early Beta. r=tschuster
'Lax' as value depends on the preference network.cookie.sameSite.laxByDefault
which is only set to true for Nightly and Early Beta (bug 1751435). See
bug 1617509 for the general development of the feature.

Differential Revision: https://phabricator.services.mozilla.com/D162720
2022-11-25 16:12:39 +00:00
Jens Stutte
4c64d1115a Bug 1802471 - nsHttpChannel::MaybeResolveProxyAndBeginConnect should not call BeginConnect if the handler is not active. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D163125
2022-11-25 16:09:02 +00:00
Kelsey Gilbert
cfebc1bd3c Bug 1801021 - Use BigBuffer for DispatchCommands. r=gfx-reviewers,lsalzman
Using ipc::Shmem causes unbounded shmem use growth until e.g. a Worker
yields to the event loop. If a Worker never yields, Shmems sent to WebGLParent
are never released.

Specifically the manager (PCanvasManager) for WebGLParent calls
DestroySharedMemory, which sends/enqueues for WebGLChild's manager a
matching call to ShmemDestroyed. However, while WebGLChild refuses to spin its
event loop (such as a no-return WASM Worker), the ShmemDestroyed events
will just pile up. Closing e.g. the tab frees the shmems, but they accumulate
unbounded until the Worker yields to the event loop.

This is true for other users of ipc::Shmem (or RaiiShmem) as well, but
entrypoints other than DispatchCommands are rarer and can be handled
later similarly.

Differential Revision: https://phabricator.services.mozilla.com/D162946
2022-11-25 15:46:53 +00:00
Stanca Serban
25636bdb3f Bug 1776052 - disable browser_bug1309630.js on linux and windows !debug for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D163074
2022-11-25 15:37:58 +00:00
Stanca Serban
6e6332bbd3 Backed out changeset dab070a6ba77 (bug 1802125) for causing wpt failures on /clipboard-apis. CLOSED TREE 2022-11-25 18:35:18 +02:00
Hanna Jones
53eab72e81 Bug 1794823 - port site specific search from pine to central r=daleharvey
Some random thoughts:
* This is a minimal implementation - there were plans to expand this with autocomplete support that we never got around to
* I built this just from reading docs + poking around in the urlbar code, so there might be a more desireable way to do all of this
* We've gone back and forth between calling this "contextual search" and "site specific search," we should probably pick a name and stick to it
* There were never any design specs for this so the UI/UX was based off of existing urlbar results as they appeared in Flowstate
* There were some open questions around how we treat installing opensearch engines, since how they are handled here seems to differ from how we use them elsewhere
* I don't remember the reasoning for showing this result last in the urlbar, we may want to move it elsewhere

Differential Revision: https://phabricator.services.mozilla.com/D159052
2022-11-25 15:17:08 +00:00
Makoto Kato
2e9e0c4641 Bug 1744687 - Part 3. Fix build error for newer Windows SDK. r=gsvelto
Now hal uses AR_STATE for screen orientation, so we should move it from
WinUtils.cpp to WinUtils.h for newer Windows 11 SDK.

Also, newer Windows SDK has to set WINVER to WIN8 to use auto rotation API.

Differential Revision: https://phabricator.services.mozilla.com/D163099
2022-11-25 15:13:43 +00:00
Niklas Baumgardner
d377cc7b85 Bug 1801360 - Use selectedBrowser URI for gScreenshots. r=cmkm
Differential Revision: https://phabricator.services.mozilla.com/D162747
2022-11-25 15:08:32 +00:00
Jesse Schwartzentruber
cc5a93bd54 Bug 1802356 - Move Android debug-fuzzing build from x86 to x86_64 r=taskgraph-reviewers,geckoview-reviewers,jcristau,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D163020
2022-11-25 14:58:03 +00:00
William Durand
28ef9c8b3c Bug 1802411 - Set disabled state on the action button for extension widgets. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D163100
2022-11-25 14:53:59 +00:00
stransky
c2c8c4709e Bug 1791779 [Wayland] Enable maximized window resize workaround for Wayland too r=emilio
https://gitlab.gnome.org/GNOME/gtk/-/issues/1044 is supposed fixed in gtk3-3.24 but it isn't so let's enable it again.

Differential Revision: https://phabricator.services.mozilla.com/D163079
2022-11-25 14:26:23 +00:00
Valentin Gosu
ad6ceb30fb Bug 1473911 - Fix URL spoofing combining dot + ijk r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D161783
2022-11-25 14:25:47 +00:00
Valentin Gosu
9ba0462e79 Bug 1790163 - Fix IDN spoofing 30FC r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D161782
2022-11-25 14:25:46 +00:00
Valentin Gosu
5b7a02c90d Bug 1790163 - Disable tests that don't pass r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D161781
2022-11-25 14:25:46 +00:00
Valentin Gosu
dd24909545 Bug 1790163 - Import chrome spoofing test cases r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D161780
2022-11-25 14:25:45 +00:00
Valentin Gosu
7f21181736 Bug 1790163 - Modernize illegalScriptCombo with enum r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D161779
2022-11-25 14:25:45 +00:00
Stanca Serban
e99549bf03 Backed out changeset 951741a7fe6b (bug 1789586) for causing bp-hybrid bustages on FileSystemFileManager. CLOSED TREE 2022-11-25 16:15:38 +02:00
Stanca Serban
76fd6fee1c Backed out changeset fbf423f25c14 (bug 1745761) for causing mochitests failures on test_ext_dnr_tabIds.html. CLOSED TREE 2022-11-25 16:08:53 +02:00
Andreas Farre
6230696c87 Bug 1594986 - Reset subdocument intrinsic size in UnloadObject. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D163071
2022-11-25 13:36:32 +00:00
Frederic Wang
02f63e4dd3 Bug 1802336 - Align none/mprescripts on MathML Core. r=emilio
See https://w3c.github.io/mathml-core/#prescripts-and-tensor-indices-mmultiscripts

- none/mprescripts are laid out as an mrow.
- none is not involved at all in "invalidity".

Differential Revision: https://phabricator.services.mozilla.com/D163001
2022-11-25 13:30:13 +00:00
Andrew Creskey
3026707d8b Bug 1802227 - Fix intermittent leak in test_websocket_mixed_content.html due to frame.src attribute r=necko-reviewers,kershaw
By reproducing with increased test loops and in verify mode, by far the primary leak was from the iframe element's "src" attribute. So clearing it.

Differential Revision: https://phabricator.services.mozilla.com/D162911
2022-11-25 13:30:00 +00:00
Paul Zuehlcke
7cfcde8974 Bug 1801074 - Update tests for runContext nsIClickRule flag. r=timhuang
Depends on D162324

Differential Revision: https://phabricator.services.mozilla.com/D162325
2022-11-25 13:29:25 +00:00
Paul Zuehlcke
3d2d465732 Bug 1801074 - Add runContext nsIClickRule flag. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D162324
2022-11-25 13:29:25 +00:00
Iulian Moraru
76c7965281 Bug 1802403 - Update expectations for video-decoder.crossOriginIsolated.https.any.worker.html on android without fission x86_64
Adds back intermittent expectation removed in bug 1801556.

Differential Revision: https://phabricator.services.mozilla.com/D163065
2022-11-25 13:13:49 +00:00
Paul Adenot
fe50153ef6 Bug 1801922 - Warn if kInitialModuleCount is too low. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D162873
2022-11-25 12:59:44 +00:00
Masayuki Nakano
410ddf5d67 Bug 1801028 - part 18: Make CSSEditUtils::GenerateCSSDeclarationsFromHTMLStyle take EditorElementStyle r=m_kato
And also making it and `BuildCSSDeclarations` return pairs of CSS property and
value with an array makes their callers simpler.

Depends on D162517

Differential Revision: https://phabricator.services.mozilla.com/D162518
2022-11-25 12:57:26 +00:00
Rob Wu
ee14817e0a Bug 1745761 - Pass tabId from channel to DNR r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D162992
2022-11-25 12:46:56 +00:00
Jari Jalkanen
b1f0194e9f Bug 1789586 - Connect internal database to quota management. r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D159760
2022-11-25 12:42:51 +00:00
Updatebot
56be8e0e35 Bug 1802305 - Update PDF.js to 823723121de9e8448ecb61ed04a93e1eb4bd9799 r=pdfjs-reviewers,calixte
Differential Revision: https://phabricator.services.mozilla.com/D162982
2022-11-25 12:40:30 +00:00
Myeongjun Go
c6147c791e Bug 1781916 - [perfdocs] Display perfdocs warnings on all files changed. r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D161244
2022-11-25 12:29:58 +00:00
sunil mayya
6eabd0d3de Bug 1574174 - add immutable guard for fetch response headers. r=edenchuang,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D162209
2022-11-25 12:27:15 +00:00
Nazım Can Altınova
3cc7287baf Bug 1691820 - Add a profiler marker for the first contentful paint metric r=florian
Differential Revision: https://phabricator.services.mozilla.com/D162558
2022-11-25 11:37:16 +00:00
Sylvestre Ledru
b5a777afd7 Bug 1801612 - Update the skia sync documentation r=gfx-reviewers,nical DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D162542
2022-11-25 10:56:47 +00:00
Emilio Cobos Álvarez
41d2485a4e Bug 1802320 - Green up and re-enable style system layout tests. r=boris
It's unclear to me when they were disabled, but we do want to enable
these as otherwise there's no way to catch bindgen issues that can end
up in subtle bugs at best, or memory corruption at worst.

Differential Revision: https://phabricator.services.mozilla.com/D162997
2022-11-25 10:52:26 +00:00
Edgar Chen
a1e10a5441 Bug 1802125 - Use nsIClipboard.AsyncGetData to handle GetClipboardAsync IPC; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D162874
2022-11-25 10:49:47 +00:00
Shane Hughes
770bb45422 Bug 1802333 - Idle trigger debug logging. r=barret
To debug the idle trigger's interaction with OS sleep state, it's
helpful to know whether sleep/wake notifications were sent. This allows
most of the idle trigger activity to be logged to the console, if the
pref `messaging-system.log` is set to `debug`. The new logging will also
be used to debug the behavior reported in bug 1801301.

Differential Revision: https://phabricator.services.mozilla.com/D163010
2022-11-25 10:42:25 +00:00
Neil Deakin
6fd167483f Bug 1801168, initialize the field that gets the fullscr-toggler element properly, as showNavToolbox can be called without it being set yet, this caused the browser_tabswitch_select.js test to fail in verify mode, r=dao
Depends on D162857

Differential Revision: https://phabricator.services.mozilla.com/D163059
2022-11-25 10:36:00 +00:00
Neil Deakin
6f0485ce50 Bug 1801168, only expect the full screen exited event when the inDOMFullscreen attribute is set and select the url only in this case, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D162857
2022-11-25 10:36:00 +00:00
Stanca Serban
a5837fc8fa Backed out changeset 045be3cab17d (bug 1437126) for causing mochitests failures on test_drag_image_file.html. CLOSED TREE 2022-11-25 12:36:29 +02:00
Jan de Mooij
fd2785b9db Bug 1802309 part 3 - Tidy up region table code;. r=jonco
`IonEntry` is now always fully initialized in the constructor.

Differential Revision: https://phabricator.services.mozilla.com/D162988
2022-11-25 10:24:27 +00:00
Jan de Mooij
fe205e5e40 Bug 1802309 part 2 - Remove nativeToBytecodeNumRegions_;. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D162987
2022-11-25 10:24:26 +00:00
Jan de Mooij
1f060dc5ad Bug 1802309 part 1 - Improve IonEntry script list. r=jonco
Store a Vector directly in `IonEntry`. Use `UniquePtr` so we don't have to free
the strings manually.

Differential Revision: https://phabricator.services.mozilla.com/D162986
2022-11-25 10:24:26 +00:00
Cosmin Sabou
8e3289207e Bug 1801587 - Disable fixed-position-child-with-transformed-ancestor.html for crashing on windows and linux debug. r=aryx,tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D163075
2022-11-25 10:11:32 +00:00
Olli Pettay
f703486de7 Bug 1801063 - DOMParser.parseFromString() on about:welcome causes AssertAboutPageHasCSP, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D163026
2022-11-25 09:42:06 +00:00
Tom Schuster
56a63295d2 Bug 1437126 - Support imgIContainer as a file type in DataTransfer. r=nika
When using images with drag & drop (or the clipboard) we use two or more different types:
- When dragging an image we put it into the DataTransfer object using the
  type kNativeImageMime and the data as an imgIContainer object.
- When dropping an image we want to have some kind of image/ type,
  but the data is already supposed to be a File or nsIInputStream when it comes from the OS.

This weird split usually works fine, because in our GTK, Windows and macOS code
we first convert imgIContainer to whatever native image format is required when
dragging something and then convert back to a file (or stream) when dropping.

What however doesn't work is when we never actually round-trip through the OS.
In that case we have the imgIContainer that we can't drop in a meaningful way.

(I actually already ran into this issue in bug 1396587 with the clipboard,
but we kind of resolved this by always doing the roundtrip through the OS's clipboard)

Differential Revision: https://phabricator.services.mozilla.com/D162493
2022-11-25 09:35:03 +00:00
Masayuki Nakano
753e7b2a04 Bug 1801028 - part 17: Make CSSEditUtils::IsCSSEditableProperty take EditorElementStyle r=m_kato
It can take `const Element&` instead of `nsINode*`, then most callers can be
simpler.

Depends on D162516

Differential Revision: https://phabricator.services.mozilla.com/D162517
2022-11-25 09:29:07 +00:00
Masayuki Nakano
c2398f968f Bug 1801028 - part 16: Make CSSEditUtils::GetComputedCSSEquivalentToHTMLInlineStyleSet take EditorElementStyle r=m_kato
Depends on D162515

Differential Revision: https://phabricator.services.mozilla.com/D162516
2022-11-25 09:22:32 +00:00
Masayuki Nakano
715aea76d9 Bug 1801028 - part 15: Make HTMLEditor::RemoveCSSEquivalentToHTMLStyle(With|Without)Transaction take EditorElementStyle r=m_kato
Depends on D162514

Differential Revision: https://phabricator.services.mozilla.com/D162515
2022-11-25 09:14:38 +00:00