Commit graph

987323 commits

Author SHA1 Message Date
Olli Pettay
a63d71ea6b Bug 1905843, prevent unexpected use of result site origin, a=diannaS
Original Revision: https://phabricator.services.mozilla.com/D215496

Differential Revision: https://phabricator.services.mozilla.com/D222921
2024-09-20 10:15:51 +00:00
Emilio Cobos Álvarez
677d8613eb Bug 1917017 - Add a null-check in FirePageHideEventForFrameLoaderSwap. r=smaug, a=dsmith
Not sure what guarantees this in presence of random script running?

Differential Revision: https://phabricator.services.mozilla.com/D222335
2024-09-16 20:53:26 +00:00
Mike Kaply
c07d0da21a Bug 1919318 - Don't set SOCKS proxy for UseHTTPProxyForAllProtocols. a=diannaS
Original Revision: https://phabricator.services.mozilla.com/D222497

Differential Revision: https://phabricator.services.mozilla.com/D222788
2024-09-20 01:17:04 +00:00
Nika Layzell
cd386782d9 Bug 1881037 - Part 2: Add a basic test for loading unknown protocols in a popup window, r=smaug, a=dsmith
The console notification is only created when an error page would not
otherwise load, so allows us to detect the situation where the error
page is not going to be loaded.

Differential Revision: https://phabricator.services.mozilla.com/D218984
2024-08-15 10:19:49 +00:00
Nika Layzell
e8ab2df60b Bug 1881037 - Part 1: Stop showing unknown protocol error pages for web-triggered loads, r=smaug,necko-reviewers,kershaw, a=dsmith
Differential Revision: https://phabricator.services.mozilla.com/D217495
2024-08-15 10:19:49 +00:00
ffxbld
a3fb75ea05 No Bug, mozilla-esr128 repo-update HSTS HPKP remote-settings tld-suffixes - a=diannaS
Differential Revision: https://phabricator.services.mozilla.com/D222839
2024-09-19 16:49:00 +00:00
Andrew Osmond
3b047c7ae8 Bug 1918778 - Correct ownership/recycling issues with MacIOSurface. a=diannaS
This patch corrects a few different issues related to recycling
MacIOSurface objects.

1) When recycling a surface, we must check that the cached surfaces
   match all of the requested parameters, not just the size. If we do
   not, we should just flush the whole cache immediately since they
   should all be created with the same parameters.

2) Allocations can fail, and we should check for failing to get a
   surface from the allocator and fall back if so.

3) Locking can fail, and we should check that return value at all of the
   call sites.

This may help resolve a number of otherwise difficult to understand
crash signatures. It may also solve display corruption issues in rare
cases where the parameters that changed were roughly equivalent such
that everything appears to work, but they differ enough to change the
presentation.

Differential Revision: https://phabricator.services.mozilla.com/D222775
2024-09-19 15:49:27 +00:00
Mark Banner
95a4de94f0 Bug 1918386 - browser.search.get() should be returning data URIs for application provided search engines. a=dsmith
Original Revision: https://phabricator.services.mozilla.com/D222264

Differential Revision: https://phabricator.services.mozilla.com/D222466
2024-09-19 10:55:55 +00:00
Sandor Molnar
110b7e7819 Bug 1776017 - Disable browser_open_internal_choice_persistence.js on macosx for frequent failures. r=jmaher, a=test-only
Differential Revision: https://phabricator.services.mozilla.com/D222731
2024-09-19 01:58:13 +00:00
Dianna Smith
192d6ce616 Backed out changeset 59438e8b69e8 (bug 1918386) for causing perma failures on esr128, a=backout 2024-09-18 22:09:12 -04:00
Mark Banner
0ad3c9da9b Bug 1918386 - browser.search.get() should be returning data URIs for application provided search engines. a=diannaS
Original Revision: https://phabricator.services.mozilla.com/D222264

Differential Revision: https://phabricator.services.mozilla.com/D222466
2024-09-19 00:19:34 +00:00
Andreas Farre
718f786f39 Bug 1886222 - Start reload by calling reload in the parent. r=Gijs,canadahonk,smaug, a=dsmith
Differential Revision: https://phabricator.services.mozilla.com/D211519
2024-06-19 05:49:45 +00:00
Nicholas Rishel
cdf5e0e6c1 Bug 1916780 - Enable 1-click Windows set-to-default for Firefox. a=diannaS
Original Revision: https://phabricator.services.mozilla.com/D221082

Differential Revision: https://phabricator.services.mozilla.com/D222322
2024-09-18 21:16:46 +00:00
Greg Stoll
040ea06307 Bug 1918028 - avoid potential future hang when cancelling Content Analysis WARN response a=diannaS
Don't cache canceled CA results, as this can cause particular problem with WARN responses,
which shouldn't be in the cache.

Original Revision: https://phabricator.services.mozilla.com/D221880

Differential Revision: https://phabricator.services.mozilla.com/D222620
2024-09-18 15:00:37 +00:00
Greg Stoll
2577d7d689 Bug 1915350: cache the final Content Analysis response for WARN results a=diannaS
Instead of caching the fact that the DLP Agent returned WARN, cache
whether the user chose to ALLOW or BLOCK. This is more helpful, and
apparently was causing hangs.

Original Revision: https://phabricator.services.mozilla.com/D220464

Differential Revision: https://phabricator.services.mozilla.com/D222619
2024-09-18 13:42:21 +00:00
Nicholas Rishel
ab6ae2401f Bug 1917674 - Part 1: Fix set to default throwing exception from ShellService in Firefox Background Tasks. a=diannaS
This succeeds in normal Firefox due to `QueryInterface(Ci.nsIWindowsShellService)` having likely been called on the `nsIShellService` prior to this call, which populates the root `nsIShellService` JavaScript object with the queried interface methods. In Firefox Background Tasks the relevant `QueryInterface` is unlikely to be called ahead of time, resulting in an exception.

Original Revision: https://phabricator.services.mozilla.com/D221540

Differential Revision: https://phabricator.services.mozilla.com/D222325
2024-09-18 01:27:11 +00:00
Sam Johnson
55131acd3b Bug 1912338 - Fix titlebar separator hiding workaround on macOS 11. a=diannaS
On macOS 11, MOZTitlebarAccessoryView's viewWillMoveToWindow: is called both when transitioning to full screen, and when transitioning out of full screen. In the case of transitioning into full screen, the window passed to viewWillMoveToWindow: has titlebarAppearsTransparent=false, meaning that the condition added to this function in bug 1906034 caused the title bar separator to always be enabled when in full screen on macOS 11. This patch fixes the logic to instead check if the passed NSWindow is our ToolbarWindow or something else.

On later macOS releases, MOZTitlebarAccessoryView's viewWillMoveToWindow: is called when transitioning out of from full screen, but not when transitioning to full screen. This is why disabling the title bar separator in windowDidEnterFullScreen: is also necessary.

Original Revision: https://phabricator.services.mozilla.com/D221909

Differential Revision: https://phabricator.services.mozilla.com/D222136
2024-09-17 20:00:52 +00:00
Sam Johnson
e909065765 Bug 1912338 - Consistently hide macOS titlebar separator for full screen windows. a=diannaS
In bug 1906034, I attempted to preserve the workaround for the white line issue from bug 1700211, but it did not prevent the white line from appearing. Hiding the separator in response to full-screen events avoids the issue.

Original Revision: https://phabricator.services.mozilla.com/D221576

Differential Revision: https://phabricator.services.mozilla.com/D222133
2024-09-17 20:00:51 +00:00
Julien Cristau
c8ce126ea9 Bug 1915602 - set phabricator callsign to ESRONETWOEIGHT. a=release DONTBUILD 2024-09-17 14:49:30 +02:00
Nick Alexander
fb02913d8d Bug 1918473 - Add missing awaits to install and uninstall background tasks. a=diannaS
Original Revision: https://phabricator.services.mozilla.com/D222007

Differential Revision: https://phabricator.services.mozilla.com/D222313
2024-09-17 01:46:36 +00:00
Mike Kaply
62bd2b97d1 Bug 1675077 - Add policy for PrivateBrowsingModeAvailability. a=diannaS
Original Revision: https://phabricator.services.mozilla.com/D216315

Differential Revision: https://phabricator.services.mozilla.com/D222289
2024-09-17 01:30:51 +00:00
ffxbld
6488a7ac5d No Bug, mozilla-esr128 repo-update HSTS HPKP remote-settings tld-suffixes - a=diannaS
Differential Revision: https://phabricator.services.mozilla.com/D222273
2024-09-16 19:33:39 +00:00
Greg Stoll
768eeb29f4 Bug 1917631 - clean up logic around content analysis pref a=diannaS
Original Revision: https://phabricator.services.mozilla.com/D221648

Differential Revision: https://phabricator.services.mozilla.com/D221987
2024-09-13 14:50:25 +00:00
Randell Jesup
e2e51dd213 Bug 1872744: Clean up DNSReqestSender::Cancel r=necko-reviewers,valentin, a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D220711
2024-09-09 13:15:55 +00:00
Mike Hommey
2694ced53d Bug 1913543 - Apply the final upstream fix instead of our crude workaround. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D221568

Differential Revision: https://phabricator.services.mozilla.com/D221889
2024-09-13 02:46:50 +00:00
Mike Hommey
93ad15d027 Bug 1913543 - Apply a fix for https://bugs.kde.org/show_bug.cgi?id=492663. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D221100

Differential Revision: https://phabricator.services.mozilla.com/D221888
2024-09-13 02:46:50 +00:00
Nicolas Chevobbe
848b0bfa0d Bug 1916881 - [devtools] Don't use for..in loop to iterate over jQuery events. a=RyanVM.
for..in will loop through the prototype chain, which might get us into trouble
when the Array prototype is extended (e.g. with Moo.js).
Since the jquery events object we get might already be an arrays in some cases,
we can iterate other them directly, and only creating arrays when those are objects.

Original Revision: https://phabricator.services.mozilla.com/D221118

Differential Revision: https://phabricator.services.mozilla.com/D221621
2024-09-13 02:45:58 +00:00
Dave Townsend
9bf98237c8 Bug 1916411: Call InitializeMacApp before showing the profile locked dialog. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D220869

Differential Revision: https://phabricator.services.mozilla.com/D221676
2024-09-13 02:44:23 +00:00
Fatih
a65608437a Bug 1918104: Skip test on windows and move setTimeZone call. r=tjr a=test-only 2024-09-11 19:30:28 +00:00
Fatih
ae6987b2e9 Bug 1912129: Reduce time precision for EXSLT date time function. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D218783

Differential Revision: https://phabricator.services.mozilla.com/D220905
2024-08-08 19:35:00 +00:00
Fatih
c75f2dd53d Bug 1916109: Don't force new process and improve the test. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D220774

Differential Revision: https://phabricator.services.mozilla.com/D221686
2024-09-10 14:45:39 +00:00
Fatih
8eb41e4f31 Bug 1891690: Return GMT when RFPTarget::JSDateTimeUTC is enabled. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D216411

Differential Revision: https://phabricator.services.mozilla.com/D221687
2024-08-06 18:02:05 +00:00
Yannis Juglaret
c63a39630f Bug 1915813 - Fix a crash with Microsoft TTD. a=diannaS
Microsoft TTD has a CPU emulation bug that makes Firefox crash when ran
under TTD. This patch mitigates the issue.

Original Revision: https://phabricator.services.mozilla.com/D220829

Differential Revision: https://phabricator.services.mozilla.com/D221934
2024-09-12 17:28:36 +00:00
Nika Layzell
60130dbef6 Bug 1914594 - Move docshell.newWindowTarget to be on LoadInfo a=diannaS
Previously, this was passed around using the nsHashPropertyBag base
class on HTTP channels. In bug 1907269, this base was added to
nsExtProtocolChannel to support reading this property for external
protocols.

This unfortunately ended up not working when a HTTP channel redirects to
an external protocol, as the hash property propagation logic in
nsHttpChannel happens after the check that the target channel is a HTTP
channel, so the property was lost when redirecting to an external
protocol.

Rather than refactoring HTTP redirect logic, this patch simplifies by
moving the property onto the LoadInfo where it will be trivially
preserved across redirects, and available in the places which need it.

Because the nsHashPropertyBag base is no longer required for
nsExtProtocolChannel, it is also removed.

Differential Revision: https://phabricator.services.mozilla.com/D221876
2024-09-12 16:22:19 +00:00
ffxbld
b12b9a05c2 No Bug, mozilla-esr128 repo-update HSTS HPKP remote-settings tld-suffixes - a=diannaS
Differential Revision: https://phabricator.services.mozilla.com/D221949
2024-09-12 11:48:46 +00:00
Yury Delendik
a416bda471 Bug 1914963 - Combine wasmMarkSlowCall and call(reg). r=jseward, a=dsmith
Differential Revision: https://phabricator.services.mozilla.com/D220051
2024-09-09 14:18:37 +00:00
Emilio Cobos Álvarez
edf162f2cb Bug 1917715 - Add a test for this bug. r=dholbert a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D221558
2024-09-10 08:39:25 +00:00
Emilio Cobos Álvarez
ad12453cf8 Bug 1917715 - Rename nsLayoutUtils::GetColor. r=longsonr,dholbert a=RyanVM
It's suitable for foreground colors only.

Differential Revision: https://phabricator.services.mozilla.com/D221557
2024-09-09 23:12:05 +00:00
Emilio Cobos Álvarez
21cd293b93 Bug 1917715 - Don't use nsLayoutUtils::GetColor for SVG rects. r=dholbert a=RyanVM
It's intended for text colors only (and it applies auto-darkening in
printing), see nsLayoutUtils::DarkenColorIfNeeded.

Differential Revision: https://phabricator.services.mozilla.com/D221556
2024-09-09 23:12:05 +00:00
Alex Franchuk
c04809b521 Bug 506009 - Crash reporter client: support profiles on different volumes than the home directory r=gsvelto a=RyanVM
Rather than renaming files (which must be on the same
volume/filesystem), we copy and delete them. This is less efficient,
however the files in question are fairly small, so there's probably no
need to rename _when we can_ as an optimization.

Differential Revision: https://phabricator.services.mozilla.com/D217727
2024-07-31 14:17:19 +00:00
Henri Sivonen
42d7e3bb7e Bug 1910951 - Avoid incorrect use of nsParser when meta refresh is added to about:blank. r=sefeng, a=dsmith
Differential Revision: https://phabricator.services.mozilla.com/D218926
2024-08-13 15:15:03 +00:00
Henri Sivonen
2ef5159453 Bug 1753352 - Inherit principal into about:blank with query string. r=nika, a=dsmith
Differential Revision: https://phabricator.services.mozilla.com/D212093
2024-07-17 16:12:53 +00:00
wpt-pr-bot
797f535dcd Bug 1869454 [wpt PR 43616] - Regenerate WPT certificates, a=testonly DONTBUILD
Automatic update from web-platform-tests
Automated regeneration of WPT certificates

--

wpt-commits: d7ae7c147606686ba53b9f2b386eaca2b8910e00
wpt-pr: 43616
2024-09-06 10:11:14 +00:00
Dianna Smith
430aacc3a9 Backed out changeset c2ed856658bb (bug 1753352) for causing wpt failures, a=backout 2024-09-10 22:31:21 -04:00
Dianna Smith
d9d6114fcc Backed out changeset a06b138ba66f (bug 1910951) for causing wpt failures, a=backout 2024-09-10 22:30:11 -04:00
Henri Sivonen
2864973d91 Bug 1910951 - Avoid incorrect use of nsParser when meta refresh is added to about:blank. r=sefeng, a=dsmith
Differential Revision: https://phabricator.services.mozilla.com/D218926
2024-08-13 15:15:03 +00:00
Henri Sivonen
c2cc1ce5e1 Bug 1753352 - Inherit principal into about:blank with query string. r=nika, a=dsmith
Differential Revision: https://phabricator.services.mozilla.com/D212093
2024-07-17 16:12:53 +00:00
Julian Seward
e7a9103fcf Bug 1914475. r=yury, a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D220254
2024-09-04 06:26:52 +00:00
Emilio Cobos Álvarez
63197ceb11 Bug 1914106 - Deal with insertRule edge-case. r=jwatt a=RyanVM
When there's trailing garbage after an @import rule we throw, but we
still trigger the load (that's not great but not trivial to change).

Deal with that case before calling ImportRuleLoaded().

Differential Revision: https://phabricator.services.mozilla.com/D219783
2024-08-22 05:39:07 +00:00
Ryan VanderMeulen
ba160183c1 Backed out changeset 6529a7bf108f (bug 1891690) for browser_exslt_timezone_load.js failures. 2024-09-10 15:33:05 -04:00