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

866892 Коммитов

Автор SHA1 Сообщение Дата
Matthew Gaudet f046fa90a2 Bug 1828654 - Move deflateInit before deflateBound r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D196224
2023-12-13 16:10:36 +00:00
Thomas Wisniewski 9bec24e579 Bug 1868527 - hide 'Site not working?' from the protections panel when the 'Report Broken Site' feature is active; r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D196184
2023-12-13 15:57:10 +00:00
Joel Maher 1ec9975fd9 Bug 1869590 - Batch 19 - convert remaining mochitest ini to toml. r=aryx,necko-reviewers,devtools-reviewers,dom-storage-reviewers,asuth,valentin,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D196203
2023-12-13 15:44:04 +00:00
Stanca Serban d84ca52ee4 Backed out 6 changesets (bug 1869332) for causing build bustages. CLOSED TREE
Backed out changeset 4f8c19f9dfcf (bug 1869332)
Backed out changeset 661e520c2991 (bug 1869332)
Backed out changeset 74e2acabc439 (bug 1869332)
Backed out changeset 1c4b5311ac03 (bug 1869332)
Backed out changeset af22bc552759 (bug 1869332)
Backed out changeset f557e130d997 (bug 1869332)
2023-12-13 18:13:24 +02:00
aiunusov 99c69fd49b Bug 1868387 - Part 2: add MOZ_DIAGNOSTIC_ASSERT in content process, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D196290
2023-12-13 15:14:36 +00:00
aiunusov 41283b7581 Bug 1868387 - Part 1: Make a pref, that enables origin security check for SetDocumentURI() method, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D195554
2023-12-13 15:14:35 +00:00
Oliver Medhurst b64693e408 Bug 1866517 - Part 1: Start implementing close method for file picker r=emilio
Implements it in IPC/base/etc, and also in GTK. Win32 and Cocoa do not implement it yet in this initial patch.

Differential Revision: https://phabricator.services.mozilla.com/D194631
2023-12-13 15:10:33 +00:00
Randell Jesup 1106898e06 Bug 1869666 - webrender thread-safety annotations r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D196242
2023-12-13 15:09:01 +00:00
André Bargull 35f45276a0 Bug 1869755: Use correct skip-condition for Intl.Segmenter tests. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D196281
2023-12-13 15:08:21 +00:00
Kershaw Chang ac55497030 Bug 1848013 - Do not call HandleTunnelResponse for a tunnel connection created for WebSocket, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D196271
2023-12-13 15:07:21 +00:00
Randell Jesup 62ad57987c Bug 1869717: Set OMT OnDataFinished to ride the trains in 122 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D196255
2023-12-13 15:06:29 +00:00
Olivia Hall 6c3289f456 Bug 1865727 - GeckoView Runtime Never Translate Site Option r=geckoview-reviewers,settings-reviewers,translations-reviewers,gregtatum,owlish,boek
This patch adds an option for GeckoView to change site settings outside
of the session. These APIs should be used for global modifications to
the "never translate these sites" list.

Additionally, this patch moves some Desktop translations logic to the
toolkit for shared use.

Differential Revision: https://phabricator.services.mozilla.com/D195790
2023-12-13 14:50:08 +00:00
Bob Owen fce1e9e139 Bug 1869659: Check for Failed in CanvasTranslator::AddBuffer and SetDataSurfaceBuffer. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D196287
2023-12-13 14:33:25 +00:00
Mark Hammond 73cdd3b7d9 Bug 1869358 - reference rusqlite via a workspace dependency. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D196071
2023-12-13 14:28:12 +00:00
Rob Wu 03a6769c9c Bug 1865689 - Fixup browser.toml - move prefs to DEFAULT. CLOSED TREE
The individual test ran as expected when prefs was next to the file.
But when the whole directory is selected, the test runner refuses to
run the test due to the following error:

> The 'prefs' key must be set in the DEFAULT section of a manifest.

This patch fixes the issue by moving prefs to DEFAULT. This is okay
because the other test in the test manifest is independent of the pref.

Differential Revision: https://phabricator.services.mozilla.com/D196295
2023-12-13 14:50:25 +00:00
Stanca Serban b7a9ae787b Merge mozilla-central to autoland on a CLOSED TREE 2023-12-13 16:48:19 +02:00
Stanca Serban 92689dbf30 Backed out changeset ebc60855035e (bug 1829026) as requested for causing Bug 1869760 and Bug 1869738. a=backout 2023-12-13 16:42:12 +02:00
Stanca Serban 8bd13999c2 Backed out changeset 2499ef5644ea (bug 1867098) as requested for causing Bug 1869728. 2023-12-13 16:21:31 +02:00
Rob Wu 00b0e6b2ed Bug 1865689 - Clarify access checks in devtools.inspectedWindow.eval r=rpl,devtools-reviewers,ochameau
and report a static error instead of including the URL in the message.

Differential Revision: https://phabricator.services.mozilla.com/D196133
2023-12-13 13:57:42 +00:00
edgul 3e2ed793fa Bug 1722328 - Use defaultURI to verify data and javascript schemes with '//' during parsing. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D195891
2023-12-13 13:52:55 +00:00
Paul Adenot 18f8661d6f Bug 1869332 - Add an av1 encoder based on libaom to ffvpx. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D196063
2023-12-13 13:46:42 +00:00
Paul Adenot 4cff205318 Bug 1869332 - Write a placeholder implementation for getting the buildconfig. r=chunmin
This is expected to be present in ffmpeg, but is only for displaying things on
the command-line, we don't need a "real" implementation.

Differential Revision: https://phabricator.services.mozilla.com/D196062
2023-12-13 13:46:42 +00:00
Paul Adenot 090d5b5388 Bug 1869332 - Remove .orig files that crept in. r=chunmin
Drive-by, nothing to do with this bug.

Differential Revision: https://phabricator.services.mozilla.com/D196061
2023-12-13 13:46:41 +00:00
Paul Adenot 412b3deaaf Bug 1869332 - Regenerate libaom/sources.mozbuild and config files. r=glandium
Running `generate_source_mozbuild.py` needs to be done with a specific version
of pyparsing, this can be done with a virtualenv, like so:

```
cd media/libaom
python3 -m venv temp
. temp/bin/activate
pip install pyparsing==2.4.7
./generate_sources_mozbuild.sh # this runs generate_source_mozbuild.py
```

Differential Revision: https://phabricator.services.mozilla.com/D196060
2023-12-13 13:46:40 +00:00
Paul Adenot 9157d63679 Bug 1869332 - Ask generate_source_mozbuild.py to build the encoder side of libaom. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D196059
2023-12-13 13:46:40 +00:00
Paul Adenot 9b4c4a5bb9 Bug 1869332 - Move libaom to libgkcodecs. r=glandium,media-playback-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D196058
2023-12-13 13:46:39 +00:00
Emilio Cobos Álvarez e772c19905 Bug 1869299 - Clean up tab border set-up. r=dao,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D196159
2023-12-13 13:19:20 +00:00
Emilio Cobos Álvarez 2f27af5d0e Bug 1869580 - Fix win32/android-armv7 build failures.
MANUAL PUSH: Trivial bustage fix CLOSED TREE
2023-12-13 14:39:25 +01:00
Hubert Boma Manilla 121eaa6125 Bug 1577829 - Set the service worker launch timings r=edenchuang,necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D195785
2023-12-13 13:15:12 +00:00
Nicolas Silva 6b54ff0c9d Bug 1869481 - Update WebGPU CTS test expectations. r=webgpu-reviewers,ErichDonGubler
Differential Revision: https://phabricator.services.mozilla.com/D196142
2023-12-13 13:08:58 +00:00
Emilio Cobos Álvarez 96fe482bec Bug 1869299 - More modern Linux theme colors and looks. r=dao,stransky,desktop-theme-reviewers,rmader
Override Adwaita / Yaru colors with colors from the libadwaita
documentation.

Do a couple minor tweaks to the urlbar too to match both our default
themes in other platforms and Adwaita.

Differential Revision: https://phabricator.services.mozilla.com/D196153
2023-12-13 12:53:58 +00:00
Emilio Cobos Álvarez e8467100db Bug 1869299 - Remove some dead gtk lookandfeel code. r=rmader
Unused since:

  https://hg.mozilla.org/mozilla-central/rev/2f0462c1b2aace2c59e6e8f75292f7cd6ca77269

Differential Revision: https://phabricator.services.mozilla.com/D196152
2023-12-13 12:51:19 +00:00
Emilio Cobos Álvarez 47afe4305e Bug 1869580 - Add size assertions to nsIFrame. r=tnikkel,layout-reviewers
This will make us catch when we grow it.

Depends on D196198

Differential Revision: https://phabricator.services.mozilla.com/D196199
2023-12-13 12:48:36 +00:00
Emilio Cobos Álvarez 119487c4fc Bug 1869580 - Move devtools info bit to specific frame classes. r=tnikkel,layout-reviewers
No need for them to live in nsIFrame.

Differential Revision: https://phabricator.services.mozilla.com/D196198
2023-12-13 12:48:35 +00:00
Emilio Cobos Álvarez de8a41c001 Bug 1869299 - Expose a media query for known gtk theme families. r=rmader
This will allow to easily tweak the front-end for selected / known-good
themes.

Differential Revision: https://phabricator.services.mozilla.com/D196151
2023-12-13 12:41:18 +00:00
Greg Mierzwinski d4af46f6e6 Bug 1869541 - Disable mozperftest xpcshell tests. r=aglavic,perftest-reviewers DONTBUILD
This patch disables the mozperftest http3 test, because of some failures with xpcshell, and/or the mozperftest-xpcshell integration.

Differential Revision: https://phabricator.services.mozilla.com/D196175
2023-12-13 11:55:41 +00:00
Jan de Mooij d7e8eb199e Bug 1867193 - Add tests. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D196174
2023-12-13 11:53:13 +00:00
Jan de Mooij 1f8a0f8d94 Bug 1867193 - Reset more IC state when discarding IC stubs. r=iain
After discarding IC stubs, we would no longer support trial inlining, resulting
in potential performance cliffs.

With this patch we try to reset as much state as possible. The main exception is
that we preserve trial inlining data for call sites if the callee is active
on the stack and running in Baseline. In this case we also clone the IC stubs
for the call site.

For all other ICs we now reset the ICState and we also purge inactive inlined
ICScripts.

Differential Revision: https://phabricator.services.mozilla.com/D196173
2023-12-13 11:53:13 +00:00
Jan de Mooij cf9b6e443d Bug 1867193 - Move active flag to ICScript, and add bytecode size field to ICScript. r=iain
The active flag is currently set on the JitScript, but the next patch will also
use this to mark trial-inlined ICScripts that are on the stack. We can use this to
preserve those trial-inlined scripts and discard the rest.

To properly discard the trial-inlined ICScripts we also need to know the bytecode size
of the script, to update `InliningRoot::totalBytecodeSize_`, so this patch also adds
this to the IC script.

Differential Revision: https://phabricator.services.mozilla.com/D196172
2023-12-13 11:53:12 +00:00
Jan de Mooij a63792b2ad Bug 1867193 - Remove ICScript for pc when failing trial inlining. r=iain
This matches other places. Later patches depend on this and add an assertion.

Differential Revision: https://phabricator.services.mozilla.com/D196171
2023-12-13 11:53:12 +00:00
sotaro e0e4d38af2 Bug 1869692 - Handle a case that WebGPU rendering happens before CanvasContext::InitializeCanvasRenderer() call r=webgpu-reviewers,nical
By Bug 1858361 fix, first WebGPU rendering becomes not rendered. It happens because CanvasContext::MaybeQueueSwapChainPresent() is called before CanvasContext::InitializeCanvasRenderer().

The change handles it.

Differential Revision: https://phabricator.services.mozilla.com/D196253
2023-12-13 11:34:46 +00:00
Tom Schuster 375c65e422 Bug 1856732 - WebExtensions should not be subject to random canvas noise for fingerprint resistance. r=timhuang,gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D195239
2023-12-13 11:33:25 +00:00
Jamie Nicol 3104637fd7 Bug 1868825 - Leak EGLDisplays on Samsung S22 devices. r=gfx-reviewers,nical,ahale
We are seeing crashes on the european Samsung S22 family of devices in
eglTerminate after updating to Android 14. To work around this we
deliberately leak the EGLDisplay on affected devices. In practice we
only ever use the default EGLDisplay on Android, and calling
eglInitialize multiple times is allowed, so this is fine.

Note this only occurs when running webgl in the content process, which
will occur naturally following enough GPU process crashes that we
disable the GPU process. When webgl is running in the GPU process
webrender keeps the EGLDisplay alive, meaning we never terminate it.

Differential Revision: https://phabricator.services.mozilla.com/D196146
2023-12-13 11:29:18 +00:00
mcheang da8fe65981 Bug 1867406 - Part 3: Update search engine selector to filter distribution and sort default engines. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D195053
2023-12-13 11:26:01 +00:00
jneuberger eab106bea3 Bug 1869723 - Restore ellipsis in Exceptions label of forms-exceptions r=credential-management-reviewers,fluent-reviewers,flod,dimi
Differential Revision: https://phabricator.services.mozilla.com/D196267
2023-12-13 11:22:04 +00:00
june wilde 3316eb5902 Bug 1764343 - Remove steps in Document::Open not derived from spec; r=dveditz
Differential Revision: https://phabricator.services.mozilla.com/D190611
2023-12-13 11:06:56 +00:00
Jens Stutte 8c0cd376c2 Bug 1869675 - Make CompareIntervals::LessThan become a symmetric relation. r=media-playback-reviewers,padenot
The [CompareIntervals::LessThan](https://searchfox.org/mozilla-central/rev/da48f565f70a57ac28862090828fbaa7fd8556f6/dom/media/Intervals.h#738) is not symmetric due to the `mFuzz`, leading to interesting side effects:

```
bool LessThan(const ElemType& aT1, const ElemType& aT2) const {
  return aT1.mStart - aT1.mFuzz < aT2.mStart + aT2.mFuzz;
}
```
means
```
if (aT.mFuzz > 0) aT < aT // instead of aT == aT
if (aT.mFuzz < 0) aT > aT // instead of aT == aT

aT1.mStart := 1
aT1.mFuzz := 2
aT2.mStart := 2
aT2.mFuzz := 2

aT1 < aT2 && aT2 < aT1 // not symmetric
```

which makes `std::sort` angry. I assume this comparator did already cause weird effects with `NS_QuickSort` that were apparently less obvious.

Differential Revision: https://phabricator.services.mozilla.com/D196266
2023-12-13 11:03:31 +00:00
James Hendry 7a56b2e8ea Bug 1866776 - [webdriver] Remove "UnknownPath" error (not in specification) from webdriver r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D196177
2023-12-13 10:34:56 +00:00
Jon Coppeard 89d74a3ea5 Bug 1868336 - Part 5: Fix pretenuring reporting r=sfink
The AllocSite::hasScript method was broken by the wasm GC changes. This should
return false when the script pointer is null too.

The only thing this actually affects is the output when JS_GC_REPORT_PRETENURE
is set, since we don't otherwise call it when the script pointer is null.

While we're here, add a header line to this output to help understand it.

Differential Revision: https://phabricator.services.mozilla.com/D195765
2023-12-13 10:11:29 +00:00
Jon Coppeard 07f2b93b34 Bug 1868336 - Part 4: Make StoreBuffer movable and swap the store buffer with an empty one when tracing r=sfink
When using semispace collection this will allow us to add store buffer entries
to a new empty storebuffer associated with to space while tracing the previous
store buffer associated with from space.

Differential Revision: https://phabricator.services.mozilla.com/D195541
2023-12-13 10:11:29 +00:00