Commit graph

5,792 commits

Author SHA1 Message Date
Matheus Marinho
2e330af8c4 No Issue - Fix syntax in js/src/jsapi-tests/moz.build 2024-01-05 10:07:09 +08:00
Moonchild
dc425fc3e8 Revert "[XPCOM] Compare return value of readlink in nsLocalFileUnix::GetNativeTarget"
This reverts commit 66b07ce6991160e768b5113f8adcd0b47be58791.
2024-01-05 10:06:34 +08:00
Kershaw Chang
600142110d Bug 1736385 - Make sure thread is alive in CacheIOThread::ThreadFunc 2023-12-21 10:18:53 +08:00
Moonchild
bcbe73119f [dom] Better handling of aborted websocket workers.
Catch the case where we are in worker-shutdown but are still connecting
and make filing and closing connections a bit more robust with a RefPtr.
2023-12-21 10:18:28 +08:00
Barret Rennie
8b5c0a9cd9 [XPCOM] Compare return value of readlink in nsLocalFileUnix::GetNativeTarget 2023-12-21 10:17:49 +08:00
Moonchild
8fe53f59d0 [layout] Always check against fragment length in nsTextFrame 2023-12-21 10:16:53 +08:00
Moonchild
94a892fcbf Bug 1868901 2023-12-21 10:15:55 +08:00
Jeremy Andrews
4b68ef14db No Issue - Add full-screen-api.ignore-widgets pref to about:config.
This was already in the codebase, but not exposed by default. Mozilla exposed
the pref to fulfill user requests in Firefox 59. Forum users requested the same feaure of pseudo-fullscreen windows. Seems minor enough not to be worth
creating an issue for, since users can already access this by creating a bool
pref.

Ref: BZ 1422535
2023-12-21 10:15:36 +08:00
Moonchild
f1f9dde29e Issue #2405 - Add a pref to disable CSP reporting.
Resolves #2405
2023-12-21 10:15:17 +08:00
Basilisk-Dev
ec4bbcb6f1 [Basilisk] [SSUAO] Update Slack override 2023-12-15 10:26:55 +08:00
Basilisk-Dev
08ac515a80 [Basilisk] No Issue - remove mozscreenshots
We dont use this at all.
2023-12-15 10:14:53 +08:00
Basilisk-Dev
cdb2b0b0d9 [Basilisk] [SSUAO] Update Pale Moon version 2023-12-15 10:13:48 +08:00
Basilisk-Dev
d3731275e1 [Basilisk] [SSUAO] Update Spotify Override
Backport of MoonchildProductions/Pale-Moon commit b9d7c77fea
2023-12-15 10:13:37 +08:00
Basilisk-Dev
ce7af52551 [Basilisk] [SSUAO] Remove Netflix Overrides
Backport of MoonchildProductions/Pale-Moon commit 4c7186ba5d
2023-12-15 10:13:24 +08:00
Basilisk-Dev
c5baecf1fb [Basilisk] Issue #47 - add checkboxes to toggle WebRTC and WASM 2023-12-15 10:07:58 +08:00
Basilisk-Dev
b1ac786668 [Basilisk] Enable performance observer by default 2023-12-15 09:58:17 +08:00
Basilisk-Dev
e6c4802491 [Basilisk] Issue MoonchildProductions/UXP#2053 - Disable DOM Performance API navigation timing by default.
Port of MoonchildProductions/Pale-Moon commit efb55a08c62ca736cff5535bc35236fc2b1cc21d
2023-12-15 09:57:44 +08:00
Moonchild
554172db3c [Pale-Moon] Remove twitter override because they flipped to bork on Gecko compat UA. 2023-12-15 09:50:52 +08:00
Moonchild
637ee512fd [Pale-Moon] Update privacy preferences category.
This makes it a tabbed page with "General" and "Tracking"
* Sec-GPC is moved to "Tracking"
* Adds canvas data poisoning, DOM performance observers and
  DOM navigation timing as options.
2023-12-15 09:50:08 +08:00
Moonchild
7121fc7844 [Pale-Moon] Revert "Issue #1936 - Optionally leave Bookmarks menu open when spawning new tab."
This reverts commit 72d882780643d2f11717525e342febe866b18880.
2023-12-15 09:44:47 +08:00
Moonchild
6461b0708d [Pale-Moon] Use https everywhere in searchplugins. 2023-12-15 09:11:20 +08:00
Moonchild
00d2652fcd [Pale-Moon] [SSUAO] Update spotify override. 2023-12-15 09:10:01 +08:00
Moonchild
4fafcf75e9 [Pale-Moon] [SSUAO] Remove netflix overrides
We should support the UI natively now, and Netflix stopped supporting
Silverlight, so no point in trying to force compat anymore.
2023-12-15 09:09:22 +08:00
Moonchild
f96001ba7c No issue - Allow redirects for requests that require preflight
Spec update, see Bug 1312864
2023-12-15 09:07:32 +08:00
Moonchild
eba87b03fd [DOM] Fix double-free crash in MessagePort.cpp 2023-12-15 09:07:10 +08:00
Jeremy Andrews
54874de6d4 Issue #2399 - Fix LDAP on Linux. 2023-12-06 15:13:17 +08:00
Moonchild
dc253ce953 Issue #2362 - Fix click handling according to the spec.
This removes some hackery surrounding preventing content clicks, and in
general handles auxclick as it should, firing that event on secondary
buttons (wheel/right on default setup for right-handed mouse).
2023-12-06 14:50:08 +08:00
Moonchild
73bf6f95f8 Revert "No issue - Stop supporting data: scheme in SVG <use> elements."
This reverts commit 7e60482d8090a43e00957f3d6fc87f31d7ea65a1.

Of course it's not that simple. In Mozilla land they are also running
into issues but of a different variety and it was backed out there also.
2023-11-30 10:04:21 +08:00
trav90
48698abb77 Issue #2393 - Part 8 - Fix TextureClient-creating functions 2023-11-30 10:03:54 +08:00
trav90
04f124b105 Issue #2393 - Part 5 - Extract D3D11MTAutoEnter and reuse 2023-11-30 09:53:54 +08:00
trav90
6807675123 Issue #2393 - Part 4 - Reduce VideoQueue size for GPU based images 2023-11-30 09:53:36 +08:00
trav90
b09b3771c6 Issue #2393 - Part 3 - Remove extra copy of YUV buffer on Windows 2023-11-30 09:53:08 +08:00
trav90
74a22e5c00 Issue #2393 - Part 2 - Add D3D11YCbCrImage type and related methods
Will allow to directly upload a YUV420 buffer into a D3D11 texture.
2023-11-30 09:52:46 +08:00
trav90
1fc1753d4d Issue #2393 - Part 1 - Allow client side uploads on Intel hardware 2023-11-30 09:52:28 +08:00
Brian Smith
3e9fd21a38 Issue #2387 - Remove a missed AddRef() which could cause leaks. Update comments explaining how the reference counting works. 2023-11-30 09:52:07 +08:00
Brian Smith
eef37b2cd5 Issue #2387 - Collection of fixes related to a crash while canceling a dynamic import. Add AddRef/Release hooks for embedding's script or module private value and set this script source object where appropriate. https://bugzilla.mozilla.org/show_bug.cgi?id=1519140 Partial, no Value passing changes. Clear the list of dynamic import requests after cancelling them in ScriptLoader::ParsingComplete as we do for other requests. https://bugzilla.mozilla.org/show_bug.cgi?id=1291535 ScriptLoader::OnStreamComplete never returns a failure. https://bugzilla.mozilla.org/show_bug.cgi?id=1627275 Also cancel the correct kind of parser for Modules. 2023-11-30 09:51:50 +08:00
Moonchild
56bcdf7ca0 [WebGL] Flip the validation state for gl_KHR_no_validation.
The original state was inverted due to confusion due to a double
negative (not:no_error).
This validation should only be enabled on Windows (for now).
Future tracking and discussion in BZ 1862039
2023-11-24 17:06:58 +08:00
Moonchild
114daae894 [DOM] Improve MessagePort state machine. 2023-11-24 17:05:57 +08:00
Moonchild
d55111c4fd [Network] Fix relative URL path starting with multiple slashes 2023-11-24 17:05:20 +08:00
Moonchild
71ce058b03 [DOM] Check if rootDoc is secure context for web compat 2023-11-24 17:04:52 +08:00
Moonchild
acd204e85e [WebGL] Turn on more validation/error checking in webgl (when not on Win) 2023-11-24 17:04:07 +08:00
Moonchild
7fce3acfa9 Issue #2361 - Enable Navigator.clipboard by default. 2023-11-24 17:03:22 +08:00
Gerald Squelart
543e41f3ac Bug 1332825 - Use move semantics in MozPromise::All() and AllPromiseHolder.
MozPromise::All sets up 'Then' lambdas on all sub-promises, each one
taking the resolve/reject object by value. Since this value will not be
used again in the lambda, it is safe to Move it, and from there
MozPromiseHolder::Resolve/Reject can also Move it again into the holder
storage, potentially saving two copies per Resolve/Reject. Also, once
all sub-promises have been resolved, the resolve-values can be Move'd
into the joining promise's Resolve function.
2023-11-24 17:02:54 +08:00
Moonchild
e0a7c35dcc Issue #2361 - Remove clipboard-read code
Web content should never read the clipboard; extensions have other APIs
they can use through XPCOM so do not need to go through
Navigator.Clipboard, removing the only reason why it would even be here.
2023-11-24 17:02:32 +08:00
Moonchild
3478c01fc8 Issue #2361 - Base implementation of Navigator.Clipboard
This hard-refuses any reads from clipboard with a promise rejection.
2023-11-24 17:01:55 +08:00
Jeremy Andrews
c4fdd1d9ee Issue #1312 - Switch to X-Mailer, and pull from AppInfo instead of HTTP headers.
I've been thinking about this issue, and ultimately it's just correcting a
mistake Mozilla made that no consumer of UXP's MailNews ever complained about
before, so I think it's reasonable to fix the default behavior first, and then
let others complain before I start worrying about prefs or ifdefs. One thing
at a time.
2023-11-16 10:21:11 +08:00
Moonchild
b004af07d0 Revert "No Issue - add mutex in EventSource"
This reverts commit e4643f5bed2cdc600fc29900fe3b4d22e25763bc.

Apparently causes deadlocks in Linux.
2023-11-16 10:21:01 +08:00
Moonchild
b19fe58909 No issue - Stop supporting data: scheme in SVG <use> elements. 2023-11-14 15:34:40 +08:00
athenian200
926ee14909 Issue #1824 - Use elfdump on SunOS instead of readelf.
GNU readelf isn't available as consistently as I assumed across SunOS,
and it can be named different things on different illumos distros (some call
it readelf, others call it greadelf, etc), so it's safer to use elfdump.
This is a fairly easy fix, just kind of annoying.
2023-11-14 15:34:12 +08:00
Moonchild
6c37943e1c No Issue - add mutex in EventSource
Potentially avoids a gc crash when load is high.
2023-11-10 15:33:13 +08:00