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

21630 Коммитов

Автор SHA1 Сообщение Дата
sotaro 58c10442d8 Bug 1809389 - Enable oop WebGL Worker in nightly on Android r=gfx-reviewers,jnicol
Other platforms do not hit Bug 1809389  by enabling oop WebGL Worker.

Differential Revision: https://phabricator.services.mozilla.com/D166423
2023-01-10 13:41:43 +00:00
Randell Jesup 358cf4735b Bug 1785123: Enable Origin Private File System (OPFS) by default on Nightly r=dom-storage-reviewers,asuth,jari,jstutte,janv,dom-worker-reviewers
Intent to prototype sent to dev-platform on Aug 19, 2022:
https://groups.google.com/a/mozilla.org/g/dev-platform/c/gc4BxcgkN7E

Intent to ship sent to dev-platform on Nov 10, 2022:
https://groups.google.com/a/mozilla.org/g/dev-platform/c/dsRxP4liTek

Differential Revision: https://phabricator.services.mozilla.com/D154818
2023-01-10 03:52:11 +00:00
Marian-Vasile Laza 31c9b3f6c3 Backed out changeset bc0b215802bb (bug 1785123) for causing mochitest failures on test_privateWin.html. CLOSED TREE 2023-01-10 00:44:31 +02:00
Randell Jesup d42eaceade Bug 1785123: Enable Origin Private File System (OPFS) by default on Nightly r=dom-storage-reviewers,asuth,jari,jstutte,janv,dom-worker-reviewers
Intent to prototype sent to dev-platform on Aug 19, 2022:
https://groups.google.com/a/mozilla.org/g/dev-platform/c/gc4BxcgkN7E

Intent to ship sent to dev-platform on Nov 10, 2022:
https://groups.google.com/a/mozilla.org/g/dev-platform/c/dsRxP4liTek

Differential Revision: https://phabricator.services.mozilla.com/D154818
2023-01-09 20:43:44 +00:00
Emilio Cobos Álvarez 56be5080d2 Bug 1807687 - Simplify Windows keyboard indicator setting handling. r=NeilDeakin
The only thing that can explain this is the WM_UPDATEUISTATE state
getting out of sync in a way that we think we need to unconditionally
show focus indicators for a window.

I tried to first make this less error prone (see patch above) but
digging more into these messages, I'm pretty sure we just don't need all
this code. See:

 * https://devblogs.microsoft.com/oldnewthing/20130516-00/?p=4343
 * https://devblogs.microsoft.com/oldnewthing/20130517-00/?p=4323

In particular, this is intended to be a windows feature to not show
keyboard indicators on dialogs until you use the keyboard. But that's
how Gecko dialogs behave already due to how :focus-visible behaves as
per:

  https://searchfox.org/mozilla-central/rev/43ee5e789b079e94837a21336e9ce2420658fd19/toolkit/components/prompts/src/CommonDialog.jsm#319

I haven't been able to repro this state, but sounds believable that it
could happen after opening a native dialog or so on?

The purpose of this code is to implement the 'Underline access keys' in
the Keyboard Accessibility control panel of windows.

There's an easier way of tracking this, via the SPI_GETKEYBOARDCUES SPI,
documented in:

  https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-systemparametersinfoa

Hook that into LookAndFeel rather than using custom IPC and so on.

Differential Revision: https://phabricator.services.mozilla.com/D165578
2023-01-09 18:19:03 +00:00
Emilio Cobos Álvarez 3ad7017163 Bug 1807963 - Remove non-standard values of caption-side for good. r=TYLin,layout-reviewers
They have been disabled since bug 1688695. There's a variety of
table-caption bugs that would be easier to fix if we didn't have to
account for side-captions.

Differential Revision: https://phabricator.services.mozilla.com/D165690
2023-01-09 18:02:23 +00:00
Ben Hearsum 7c8cfb397d Bug 1807923: disable xpcshell update tests against msix packages r=application-update-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D165753
2023-01-09 17:26:57 +00:00
Matthew Gaudet 15d6982515 Bug 1807845 - Remove the dom.streams prefs r=evilpie,emilio
Differential Revision: https://phabricator.services.mozilla.com/D166203
2023-01-09 16:54:52 +00:00
Sean Feng 18ee907a90 Bug 1532644 - Implement the initial version of the Javascript Validator for ORB r=farre,smaug
For things that can be parsed as Javascript, we need to figure out
if they are JSON, and we want to block opaque JSON resources for ORB.

This initial version just checks the first byte of the response, and
blocks it if it's a curly bracket.

Differential Revision: https://phabricator.services.mozilla.com/D163283
2023-01-09 15:27:18 +00:00
Cosmin Sabou 4ab6fc29e0 Backed out changeset c34c31220275 (bug 1807963) for causing reftest unexpected passes on 446100-1c.html. 2023-01-09 15:01:55 +02:00
Emilio Cobos Álvarez 7b821c0133 Bug 1807963 - Remove non-standard values of caption-side for good. r=TYLin,layout-reviewers
They have been disabled since bug 1688695. There's a variety of
table-caption bugs that would be easier to fix if we didn't have to
account for side-captions.

Differential Revision: https://phabricator.services.mozilla.com/D165690
2023-01-09 10:39:44 +00:00
Stanca Serban 81bfc93257 Backed out changeset e018ba23c07d (bug 1807963) for causing wpt failures in caption.html. CLOSED TREE 2023-01-09 10:42:21 +02:00
Emilio Cobos Álvarez 5b925c72c8 Bug 1807963 - Remove non-standard values of caption-side for good. r=TYLin,layout-reviewers
They have been disabled since bug 1688695. There's a variety of
table-caption bugs that would be easier to fix if we didn't have to
account for side-captions.

Differential Revision: https://phabricator.services.mozilla.com/D165690
2023-01-09 07:05:14 +00:00
Tyler Paplham 0756ae67fb Bug 1805885 - Removed unnecessary functions NS_MaybeOpenChannelUsingOpen() and NS_MaybeOpenChannelUsingAsyncOpen(). Also refactored callers of these functions to not use them. r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D166118
2023-01-08 20:58:54 +00:00
Zach Hoffman d2cd09a679 Bug 1808227 - Implement parsing and serialization for nth-child(An+B of selector list) and :nth-last-child(An+B of selector list) r=emilio
:nth-{,last-}child parsing is disabled by default for now by pref
layout.css.nth-child-of.enabled.

Differential Revision: https://phabricator.services.mozilla.com/D165895
2023-01-07 14:32:42 +00:00
Matthew Noorenberghe 5085cebf27 Bug 1073717 - [Web Notifications] Enable desktop support for "silent" notifications on Nightly r=saschanaz
Depends on D119592

Differential Revision: https://phabricator.services.mozilla.com/D119593
2023-01-07 01:03:54 +00:00
Sandor Molnar 9804f3da4b Backed out changeset b74ad4f6e811 (bug 1644104) for causing mochitest failures in toolkit/components/alerts/test/test_principal.html 2023-01-06 23:50:59 +02:00
Tom Ritter 65956c76e1 Bug 1760633: Apply the fdlibm patches for the new files to the in-tree files r=arai
This updates our previously in-tree files to account for the
new files we added.

Differential Revision: https://phabricator.services.mozilla.com/D164818
2023-01-06 20:12:33 +00:00
Tom Ritter ecb85f50cf Bug 1760633: Actually add the new fdlibm files and apply the patches r=arai
This applies the patches to the new files, but not the existing
in-tree files (fdlibm.h and math_private.h)

Differential Revision: https://phabricator.services.mozilla.com/D164817
2023-01-06 20:12:33 +00:00
Tom Ritter b674b7a1fb Bug 1760633: Update fdlibm patches to apply to new files r=arai
Differential Revision: https://phabricator.services.mozilla.com/D164816
2023-01-06 20:12:32 +00:00
Nicholas Rishel c5a9446349 Bug 1644104 - Enable native notifications by default for Nightly on Windows. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D149180
2023-01-06 18:48:22 +00:00
Stanca Serban 94f1cf5515 Backed out 3 changesets (bug 1760633) for causing Spidermonkey bustages. CLOSED TREE
Backed out changeset 527f857a91f8 (bug 1760633)
Backed out changeset ee8ecdac4be5 (bug 1760633)
Backed out changeset addec3dc0f80 (bug 1760633)
2023-01-06 17:21:52 +02:00
Tom Ritter 43336c5845 Bug 1760633: Apply the fdlibm patches for the new files to the in-tree files r=arai
This updates our previously in-tree files to account for the
new files we added.

Differential Revision: https://phabricator.services.mozilla.com/D164818
2023-01-06 14:49:14 +00:00
Tom Ritter 66f8d0fe4c Bug 1760633: Actually add the new fdlibm files and apply the patches r=arai
This applies the patches to the new files, but not the existing
in-tree files (fdlibm.h and math_private.h)

Differential Revision: https://phabricator.services.mozilla.com/D164817
2023-01-06 14:49:13 +00:00
Tom Ritter 3873f32406 Bug 1760633: Update fdlibm patches to apply to new files r=arai
Differential Revision: https://phabricator.services.mozilla.com/D164816
2023-01-06 14:49:13 +00:00
Tom Ritter e867171bc9 Bug 1760633: Add new files to fdlibm's moz.yaml r=arai
Differential Revision: https://phabricator.services.mozilla.com/D164815
2023-01-06 03:10:46 +00:00
Tim Huang 7cf7e3341d Bug 1808212 - Part 1: Add a pref for controlling ETP level 2 list in the private browsing mode. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D165937
2023-01-05 13:37:31 +00:00
Dimi afce6650ee Bug 1808303 - Remove the pref to determine whether a user has ever used credit card autofill r=sgalich
Differential Revision: https://phabricator.services.mozilla.com/D165860
2023-01-04 19:43:57 +00:00
Marian-Vasile Laza 4bef0b11dd Backed out changeset 52395ed9f1fd (bug 1808303) for causing linting failures on browser_creditCard_submission_autodetect_type.js. CLOSED TREE 2023-01-04 21:36:18 +02:00
Dimi fbb1992942 Bug 1808303 - Remove the pref to determine whether a user has ever used credit card autofill r=sgalich
Differential Revision: https://phabricator.services.mozilla.com/D165860
2023-01-04 19:13:47 +00:00
Emilio Cobos Álvarez 3ec96f644b Bug 1807482 - Re-introduce a reduced version of mouse grabs for desktop environments that need it. r=stransky
Some X servers move focus along with the mouse. They do not do that if
the pointer is grabbed tho.

Since we want to rollup popups on focus-out events, and not grabbing the
pointer causes the main window to lose focus, let's try to grab the
pointer again.

This reintroduces similar code to the one removed in bug 1798131, but
with a couple critical differences:

 * It's simpler.

 * We use less-deprecated APIs, though we can't use GdkSeat because we
   still support Gtk < 3.20 in theory.

 * We don't capture enter/leave-notify events in the grab mask. This
   doesn't seem to be needed, and prevents the spurious
   enter/leave-notify events that caused me to remove the pointer grabs
   to begin with.

I tweaked test_panel_mouse_coords.xhtml so that the pointer ends up
inside the panel input region, otherwise the motion event goes to the
actual window and the test fails. It's kind of a bug that we dispatch
mousemove events for that region anyways, but...

Add a pref for this behavior, and some related logging, since it may
make it easier to debug stuff in the future, and there are some WMs that
don't support querying their name.

Differential Revision: https://phabricator.services.mozilla.com/D165735
2023-01-04 14:02:47 +00:00
Edgar Chen 39be0da6bb Bug 1807252 - Convert full-screen-api.ignore-widgets to static pref; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D165907
2023-01-04 09:55:32 +00:00
Tom Schuster 5b0d714ea8 Bug 1806447 - Always use the new Sanitizer implementation instead of the old nsTreeSanitizer code. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D165272
2023-01-04 09:41:46 +00:00
Valentin Gosu f5e5b05f46 Bug 1808206 - Remove code that moves cookies around in memory r=edgul,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D165822
2023-01-04 08:48:19 +00:00
Csoregi Natalia c98f290faa Backed out 2 changesets (bug 1807482) for causing failures on browser_bookmark_popup.js. CLOSED TREE
Backed out changeset 49b134c7ce20 (bug 1807482)
Backed out changeset e33eb418926a (bug 1807482)
2023-01-04 04:54:41 +02:00
Boris Chiou 38556e307d Bug 1807685 - Rename scroll-linked (animations) to scroll-driven (excluding WPT tests). r=dholbert
The spec is still using `Scroll-linked`, so we exclude the change of WPT tests.
I believe WPT will get updates once the spec doc is renamed.

Differential Revision: https://phabricator.services.mozilla.com/D165914
2023-01-04 00:50:45 +00:00
Emilio Cobos Álvarez 94e4a8de6f Bug 1807482 - Re-introduce a reduced version of mouse grabs. r=stransky
Some X servers move focus along with the mouse. They do not do that if
the pointer is grabbed tho.

Since we want to rollup popups on focus-out events, and not grabbing the
pointer causes the main window to lose focus, let's try to grab the
pointer again.

This reintroduces similar code to the one removed in bug 1798131, but
with a couple critical differences:

 * It's simpler.

 * We use less-deprecated APIs, though we can't use GdkSeat because we
   still support Gtk < 3.20 in theory.

 * We don't capture enter/leave-notify events in the grab mask. This
   doesn't seem to be needed, and prevents the spurious
   enter/leave-notify events that caused me to remove the pointer grabs
   to begin with.

For now I reintroduced the grab on X11 whole-sale.

If we see back the intermittent failures from bug 1607713 we might want
to detect the environment in a more fine-grained fashion as suggested on
the code comment.

I tweaked test_panel_mouse_coords.xhtml so that the pointer ends up
inside the panel input region, otherwise the motion event goes to the
actual window and the test fails. It's kind of a bug that we dispatch
mousemove events for that region anyways, but...

Also, add a pref for this behavior, and some related logging, since it
may make it easier to debug stuff in the future.

Differential Revision: https://phabricator.services.mozilla.com/D165735
2023-01-03 21:49:16 +00:00
Kershaw Chang 04b1d676b6 Bug 1791834 - Implement WebTransport Datagram, r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D165393
2023-01-03 15:14:25 +00:00
Dimi 0c0d9925f4 Bug 1805838 - Remove 'extensions.formautofill.creditCards.hideui' preference r=sgalich
Differential Revision: https://phabricator.services.mozilla.com/D164787
2023-01-02 09:51:14 +00:00
Sylvestre Ledru e2b52a1324 Bug 1807899 - Remove the trailing whitespace and Windows CR on md files r=linter-reviewers,necko-reviewers,marco,jesup
Differential Revision: https://phabricator.services.mozilla.com/D165662
2022-12-30 15:23:21 +00:00
Sandor Molnar 0835a2e28c Backed out 4 changesets (bug 1532644) for causing wpt failures in /fetch/api/abort/general.any.serviceworker.html CLOSED TREE
Backed out changeset e18eed2287d2 (bug 1532644)
Backed out changeset 49c1638654d6 (bug 1532644)
Backed out changeset 2943c62bd7a2 (bug 1532644)
Backed out changeset 0a736f3ff23c (bug 1532644)
2022-12-29 02:36:49 +02:00
Sean Feng 7f77b9aa60 Bug 1532644 - Implement the initial version of the Javascript Validator for ORB r=farre,smaug
For things that can be parsed as Javascript, we need to figure out
if they are JSON, and we want to block opaque JSON resources for ORB.

This initial version just checks the first byte of the response, and
blocks it if it's a curly bracket.

Differential Revision: https://phabricator.services.mozilla.com/D163283
2022-12-28 20:12:25 +00:00
Emilio Cobos Álvarez 8fce3a5311 Bug 1521631 - Implement overflow: overlay as an alias on auto, and enable on Nightly. r=boris
See related webcompat issues and discussion in
https://github.com/w3c/csswg-drafts/issues/8063

Differential Revision: https://phabricator.services.mozilla.com/D165058
2022-12-28 09:58:53 +00:00
sotaro 6c5fbab798 Bug 1807515 - Enable video overlay of software decoded video until early beta on Windows r=gfx-reviewers,lsalzman
Since Bug 1753373 fix, a regression is not reported yet. Then it seems OK to enable video overlay of software decoded video until early beta on Windows.

Differential Revision: https://phabricator.services.mozilla.com/D165512
2022-12-26 04:22:19 +00:00
Marco Castelluccio f69e697461 Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D165395
2022-12-23 22:45:46 +00:00
Jari Jalkanen 2eda93fff6 Bug 1802279 - Extend preference to disable WritableFileStream in all contexts. r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D165447
2022-12-23 18:40:51 +00:00
Mark Banner 8730eec697 Bug 1806359 - Convert telemetry imports to direct ES imports. r=necko-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,janerik,mconley,sgalich,bytesized,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D165002
2022-12-23 12:37:07 +00:00
Stanca Serban 00ea9bd0f5 Backed out 2 changesets (bug 1802279) for causing multiple failures in dom/fs/test. CLOSED TREE
Backed out changeset f66aa3303672 (bug 1802279)
Backed out changeset c0dfdef11b0f (bug 1802279)
2022-12-23 12:25:53 +02:00
Valentin Gosu 1fe810288f Bug 1596845 - Make custom about:neterror page for TRR mode3 DNS failures r=pbz,fluent-reviewers,settings-reviewers,flod,edgul
This changes about:neterror to show a specific error page when the DNS failure
occurs for a TRR mode3 page load. This offers the user more information about
the failure, and some options.

This page will be further improved at a later stage when we add a better
DNS over HTTPS settings page.

The page is visible when the browser is using DNS over HTTPS without fallback
to native DNS. To achieve this the user sets `network.trr.mode` to `3` then
loads a page such as `http://nonexistant.test`.

If a top level load's channel returns NS_ERROR_UNKNOWN_HOST we look at
whether the page was indeed loaded with an effectiveTRRMode == TRRONLY
(some loads are excluded from using TRR).
When that is true, we present the error page allowing the user to retry,
exclude the domain from TRR, or open the settings page.

Note: This initial implementation will not work if the
`network.dns.disablePrefetch` pref is set to true. In that case nsHttpChannel
does not get an OnLookupComplete callback, so it doesn't have the
effectiveTRRMode and trrSkipReason. This will be fixed in bug 1805372.

Project plan: https://docs.google.com/document/d/12IGABt1eXI276qHduXXbVZqRFrhLN7Ad3gKEgxz81sE
Copy deck: https://docs.google.com/document/d/130UTox8bQbybjYIwvltR4qBg2hWjsGhuNUHypLwUAEQ

Depends on D164642

Differential Revision: https://phabricator.services.mozilla.com/D164347
2022-12-23 09:26:16 +00:00
Jari Jalkanen 86c7134842 Bug 1802279 - Extend preference to disable WritableFileStream in all contexts. r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D165447
2022-12-23 09:21:44 +00:00