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

19572 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano ace90e9307 Bug 1717760 - Disable `KeyEvent.initKeyEvent` by default r=smaug
Now, Gecko is the only browser to support undocumented `KeyEvent.initKeyEvent`.
We should drop it by default because `typeof KeyboardEvent.initKeyEvent` is
used at least in a major web-site and which causes not working the web-site.

Differential Revision: https://phabricator.services.mozilla.com/D121029
2021-08-10 03:51:38 +00:00
Mats Palmgren 14c9063444 Bug 1706080 - [css-fonts] Implement 'font-synthesis: small-caps'. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D114313
2021-08-09 21:41:34 +00:00
Paul Zuehlcke 2cffa3f5c4 Bug 1724386 - Cache InternalStorageAllowedCheck on inner window. r=timhuang,nika
Differential Revision: https://phabricator.services.mozilla.com/D120833
2021-08-09 16:50:42 +00:00
Barret Rennie 247bd59b37 Bug 1703356 - Support color-mix() in non-sRGB color spaces r=emilio
Out of gamut colours are currently clipped into sRGB.

Differential Revision: https://phabricator.services.mozilla.com/D120561
2021-08-09 16:16:40 +00:00
Alexandru Michis ad486327b2 Backed out 2 changesets (bug 1723204) for causing xpcshell failures in ValidateScriptFilename
CLOSED TREE

Backed out changeset 83e5baac01a9 (bug 1723204)
Backed out changeset 2ee6c94f35b3 (bug 1723204)
2021-08-09 18:33:15 +03:00
Bob Owen 3b32b0316b Bug 1724195: Turn on CET compatible modules only for the rdd process on Nightly. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D121866
2021-08-09 15:14:50 +00:00
Tom Ritter 0d2fa9bec2 Bug 1723204: Wire up a crash for Javascript Load Telemetry r=ckerschb,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121417
2021-08-09 14:42:31 +00:00
Tom Ritter 4e042e9603 Bug 1723204: Infrastructure for causing a crash at most N times r=KrisWright,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D121416
2021-08-09 14:42:31 +00:00
Emilio Cobos Álvarez e42b1228c4 Bug 1283388 - Implement datetime-local UI. r=Gijs
This only shows the date picker for now (matches Safari). Seems fine
since we don't enable the time picker by default.

Differential Revision: https://phabricator.services.mozilla.com/D113116
2021-08-09 10:36:13 +00:00
Emilio Cobos Álvarez 929cccabba Bug 1724674 - Disable bug 1723921 for now due to compat issues.
https://github.com/w3c/csswg-drafts/issues/6501 was open to determine
what to do here.

Differential Revision: https://phabricator.services.mozilla.com/D122078
2021-08-09 09:53:44 +00:00
Butkovits Atila d98f54bd68 Backed out changeset 8aef29efdec2 (bug 1283388) for causing failures in test_MozEditableElement_setUserInput.html. CLOSED TREE 2021-08-07 15:18:46 +03:00
Emilio Cobos Álvarez 9809dfd285 Bug 1283388 - Implement datetime-local UI. r=Gijs
This only shows the date picker for now (matches Safari). Seems fine
since we don't enable the time picker by default.

Differential Revision: https://phabricator.services.mozilla.com/D113116
2021-08-07 10:43:36 +00:00
Emilio Cobos Álvarez baf18c5198 Bug 1723921 - Throw on invalid pseudo-elements in getComputedStyle() as per spec. r=dholbert,layout-reviewers
I need to update tests, try incoming.

Depends on D121705

Differential Revision: https://phabricator.services.mozilla.com/D121706
2021-08-07 09:55:55 +00:00
Christoph Kerschbaumer 22d869b0c1 Bug 1723783: Enable Mixed Content Download Protection also in Early Beta r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121645
2021-08-07 06:36:06 +00:00
Ryan Hunt 2bb63b5075 Bug 1721686 - wasm: Add mozIntGemm() to WebAssembly namespace in privileged content. r=yury
Differential Revision: https://phabricator.services.mozilla.com/D120662
2021-08-06 19:14:23 +00:00
Emilio Cobos Álvarez 68e6a59c07 Bug 1226042 - Enable system-ui font-family. r=jfkthame
Making the macOS font selection language-dependent is a nice
improvement (which we should probably make to all system fonts in
general), but I don't think it should block this.

system-ui behaves like -apple-system right now, which a bunch of pages
use instead. So I think this is a strict improvement even on macOS.

Differential Revision: https://phabricator.services.mozilla.com/D121509
2021-08-06 07:53:20 +00:00
Valentin Gosu cf6459027c Bug 1724166 - Add pref for large keepalive factor r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D121839
2021-08-06 07:09:36 +00:00
Butkovits Atila 22fb2b6793 Backed out 8 changesets (bug 1650089) for causing Xpcshell failures on test_ext_redirects.js. CLOSED TREE
Backed out changeset ee763318d378 (bug 1650089)
Backed out changeset 24d7898ec4bd (bug 1650089)
Backed out changeset bcdd2f5c9840 (bug 1650089)
Backed out changeset 24a5bd7f97dd (bug 1650089)
Backed out changeset 1b8b4e939e82 (bug 1650089)
Backed out changeset a7a4f37a5d72 (bug 1650089)
Backed out changeset 78c012d4b071 (bug 1650089)
Backed out changeset e870508c1ddc (bug 1650089)
2021-08-06 04:35:52 +03:00
Nika Layzell 58c1037005 Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag
This is a large refactoring of the DocumentChannel process switch codepath,
with the end goal of being better able to support future process switch
requirements such as dynamic isolation on android, as well as the immediate
requirement of null principal handling.

The major changes include:
1. The logic is in C++ and has less failure cases, meaning it should be harder
   for us to error out unexpectedly and not process switch.
2. Process selection decisions are more explicit, and tend to rely less on
   state such as the current remoteType when possible. This makes reasoning
   about where a specific load will complete easier.
3. Additional checks are made after a "WebContent" behavior is selected to
   ensure that if an existing document in the same BCG is found, the load will
   finish in the required content process. This should make dynamic checks such
   as Android's logged-in site isolation easier to implement.
4. ProcessIsolation logging is split out from DocumentChannel so that it's
   easier to log just the information related to process selection when
   debugging.
5. Null result principal precursors are considered when performing process
   selection.

Other uses of E10SUtils for process selection have not yet been migrated to the
new design as they have slightly different requirements. This will be done in
follow-up bugs.

Differential Revision: https://phabricator.services.mozilla.com/D120673
2021-08-06 00:10:57 +00:00
Jon Bauman 909cb45a39 Bug 1682995 - Enable AVIF support by default. r=jrmuizel,necko-reviewers,preferences-reviewers,valentin,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121819
2021-08-05 15:48:00 +00:00
Kagami Sascha Rosylight 0b5d4cebd4 Bug 1635018 - Part 1: Limit dragexit event to chrome on Nightly r=edgar,masayuki
Differential Revision: https://phabricator.services.mozilla.com/D121189
2021-08-05 14:33:38 +00:00
Matt Woodrow 9558b10a83 Bug 1722258 - Add FallbackRenderer to replace BasicLayerManager usage. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D120921
2021-08-05 06:48:34 +00:00
Markus Stange 33ad3f97af Bug 1723215 - Merge local and remote objdir prefs. r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D121436
2021-08-04 20:27:32 +00:00
Narcis Beleuzu 00977c4e37 Backed out changeset f8edef1f2a0a (bug 1706292) for wpt failures on /websockets/unload-a-document/001.html . CLOSED TREE 2021-08-04 22:26:19 +03:00
Paul Zuehlcke 0abff0009c Bug 1706292 - Cache InternalStorageAllowedCheck on inner window. r=timhuang,nika
Differential Revision: https://phabricator.services.mozilla.com/D120833
2021-08-04 16:03:09 +00:00
Marco Castelluccio 5770a04f8a Bug 1723959 - Disable XFA support in the PDF Viewer in release, only enable it for early betas. r=pdfjs-reviewers,calixte DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D121718
2021-08-04 15:25:20 +00:00
Kagami Sascha Rosylight 9697db7e82 Bug 1641280 - Part 3: Enable Web Share on Windows for nightly/beta r=smaug
Depends on D121421

Differential Revision: https://phabricator.services.mozilla.com/D121488
2021-08-04 13:53:13 +00:00
Kagami Sascha Rosylight 693b1afa39 Bug 1641280 - Part 2: Resolve WindowsUIUtils::Share without waiting action on Windows r=smaug,agashlin
Windows does not fire any DataPackage event when a user selects copy action from the OS dialog, potentially causing never-resolved promise. Windows still does not provide any other way to detect that action, even on Windows 11.

Per https://github.com/w3c/web-share/issues/188 Chromium gave up and decided not to wait for user action.

Given that Microsoft is not expected to fix the situation anytime soon, it's probably better to follow what others do.

Depends on D121420

tmp

Differential Revision: https://phabricator.services.mozilla.com/D121421
2021-08-04 13:53:12 +00:00
Alexandru Michis ec4b92d7d0 Backed out 3 changesets (bug 1641280) for causing bustages.
CLOSED TREE

Backed out changeset aa2915f66825 (bug 1641280)
Backed out changeset 080107249a1c (bug 1641280)
Backed out changeset b183dae47176 (bug 1641280)
2021-08-04 16:45:32 +03:00
Kagami Sascha Rosylight 1a92fbedd0 Bug 1641280 - Part 3: Enable Web Share on Windows for nightly/beta r=smaug
Depends on D121421

Differential Revision: https://phabricator.services.mozilla.com/D121488
2021-08-04 13:27:15 +00:00
Kagami Sascha Rosylight edb1e9956b Bug 1641280 - Part 2: Resolve WindowsUIUtils::Share without waiting action on Windows r=smaug,agashlin
Windows does not fire any DataPackage event when a user selects copy action from the OS dialog, potentially causing never-resolved promise. Windows still does not provide any other way to detect that action, even on Windows 11.

Per https://github.com/w3c/web-share/issues/188 Chromium gave up and decided not to wait for user action.

Given that Microsoft is not expected to fix the situation anytime soon, it's probably better to follow what others do.

Depends on D121420

tmp

Differential Revision: https://phabricator.services.mozilla.com/D121421
2021-08-04 13:27:15 +00:00
Alexandru Michis 5ca72bfc53 Backed out 7 changesets (bug 1650089) for causing xpcshell failures in test_ext_cookieBehaviors.js
Backed out changeset 336d6eb2fc15 (bug 1650089)
Backed out changeset 283ba29cdbeb (bug 1650089)
Backed out changeset c470e4c65117 (bug 1650089)
Backed out changeset 8fc2f428694d (bug 1650089)
Backed out changeset 37e5185dae14 (bug 1650089)
Backed out changeset a26afdc56d91 (bug 1650089)
Backed out changeset 32e207558b3d (bug 1650089)
2021-08-04 12:32:07 +03:00
Nika Layzell e0fc657cb6 Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag
This is a large refactoring of the DocumentChannel process switch codepath,
with the end goal of being better able to support future process switch
requirements such as dynamic isolation on android, as well as the immediate
requirement of null principal handling.

The major changes include:
1. The logic is in C++ and has less failure cases, meaning it should be harder
   for us to error out unexpectedly and not process switch.
2. Process selection decisions are more explicit, and tend to rely less on
   state such as the current remoteType when possible. This makes reasoning
   about where a specific load will complete easier.
3. Additional checks are made after a "WebContent" behavior is selected to
   ensure that if an existing document in the same BCG is found, the load will
   finish in the required content process. This should make dynamic checks such
   as Android's logged-in site isolation easier to implement.
4. ProcessIsolation logging is split out from DocumentChannel so that it's
   easier to log just the information related to process selection when
   debugging.
5. Null result principal precursors are considered when performing process
   selection.

Other uses of E10SUtils for process selection have not yet been migrated to the
new design as they have slightly different requirements. This will be done in
follow-up bugs.

Differential Revision: https://phabricator.services.mozilla.com/D120673
2021-08-03 18:17:54 +00:00
Gijs Kruitbosch 1e4a561ac0 Bug 1721627 - crash on requests to non-existing chrome: and resource: files on infra, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D120557
2021-08-03 16:46:34 +00:00
Noemi Erli 6cd9318b66 Backed out 7 changesets (bug 1650089) foe causing bustages in ProcessIsolation.cpp
Backed out changeset 4e73beb8872c (bug 1650089)
Backed out changeset 092451e931ce (bug 1650089)
Backed out changeset ca9ba60010c6 (bug 1650089)
Backed out changeset ee61b69ba556 (bug 1650089)
Backed out changeset 091c4efa36a7 (bug 1650089)
Backed out changeset dbdee40ef8a0 (bug 1650089)
Backed out changeset 54d12a4333a0 (bug 1650089)
2021-08-03 20:15:54 +03:00
Ryan VanderMeulen 9d24b9f088 Bug 1722989 - Update freetype2 to 2.11.0. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D121248
2021-08-03 16:12:25 +00:00
Edgar Chen f7e947ba90 Bug 1723396 - Ship Custom Elements disabledFeatures; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D121491
2021-08-03 15:53:46 +00:00
Nika Layzell 35dca5bd20 Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag
This is a large refactoring of the DocumentChannel process switch codepath,
with the end goal of being better able to support future process switch
requirements such as dynamic isolation on android, as well as the immediate
requirement of null principal handling.

The major changes include:
1. The logic is in C++ and has less failure cases, meaning it should be harder
   for us to error out unexpectedly and not process switch.
2. Process selection decisions are more explicit, and tend to rely less on
   state such as the current remoteType when possible. This makes reasoning
   about where a specific load will complete easier.
3. Additional checks are made after a "WebContent" behavior is selected to
   ensure that if an existing document in the same BCG is found, the load will
   finish in the required content process. This should make dynamic checks such
   as Android's logged-in site isolation easier to implement.
4. ProcessIsolation logging is split out from DocumentChannel so that it's
   easier to log just the information related to process selection when
   debugging.
5. Null result principal precursors are considered when performing process
   selection.

Other uses of E10SUtils for process selection have not yet been migrated to the
new design as they have slightly different requirements. This will be done in
follow-up bugs.

Differential Revision: https://phabricator.services.mozilla.com/D120673
2021-08-03 15:39:34 +00:00
Dorel Luca 24feffa455 Backed out 2 changesets (bug 1721627) for Talos failures. CLOSED TREE
Backed out changeset bc5e08d27347 (bug 1721627)
Backed out changeset a670f5679e0b (bug 1721627)
2021-08-03 03:57:21 +03:00
Gijs Kruitbosch 50385d763f Bug 1721627 - crash on requests to non-existing chrome: and resource: files on infra, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D120557
2021-08-02 16:55:35 +00:00
Cosmin Sabou 79810cb376 Backed out 4 changesets (bug 1721686) for wasm related spidermonkey failures. CLOSED TREE
Backed out changeset 248879341368 (bug 1721686)
Backed out changeset 7ff074e3a920 (bug 1721686)
Backed out changeset 226e4f35aa52 (bug 1721686)
Backed out changeset 7bbc69180316 (bug 1721686)
2021-07-30 20:01:06 +03:00
Ryan Hunt 5e3fa5be27 Bug 1721686 - wasm: Add mozIntGemm() to WebAssembly namespace in privileged content. r=yury
Differential Revision: https://phabricator.services.mozilla.com/D120662
2021-07-30 15:39:36 +00:00
Csoregi Natalia 2aa97aea10 Merge autoland to mozilla-central. a=merge 2021-07-30 00:43:06 +03:00
Csoregi Natalia bc4c680c8d Backed out 3 changesets (bug 1722258) for causing Bug 1722935. a=backout
Backed out changeset cf8a1175abd1 (bug 1722258)
Backed out changeset 41176d476eb7 (bug 1722258)
Backed out changeset 4149d596d03d (bug 1722258)
2021-07-29 20:19:48 +03:00
Tim Huang cd54328176 Bug 1720294 - Part 1: Add a pref 'network.http.referer.disallowCrossSiteRelexingDefault'. r=ckerschb
Add a pref to control if Firefox to disallow relaxing the referrer
policy for cross-site requests. If it's set, we will ignore
'unsafe-url', 'no-referrer-when-downgrade' and
'origin-when-cross-origin' for cross-site requests.

Differential Revision: https://phabricator.services.mozilla.com/D119971
2021-07-29 15:23:05 +00:00
Emilio Cobos Álvarez a6332e6c05 Bug 1722908 - Make accent-color foreground-computation prefs atomic. r=jnicol
When there are remote processes  we query all colors on the main thread
as part of the pref update, but otherwise this code can totally run OMT,
and we hit the thread-safety assert in:

  https://searchfox.org/mozilla-central/rev/cfc40681e13089f92fb3f5f67d5d527fb04d9505/modules/libpref/init/StaticPrefListBegin.h#23

Differential Revision: https://phabricator.services.mozilla.com/D121199
2021-07-29 14:26:13 +00:00
Jeff Gilbert 9ce93546e4 Bug 1722782 - Re-enable but deprecate WEBGL_debug_renderer_info. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D121149
2021-07-29 07:22:09 +00:00
Dorel Luca f8c23e7e7f Backed out 5 changesets (bug 1650089) for Browser-chrome failures in browser/components/originattributes/test/browser/browser_firstPartyIsolation_aboutPages.js. CLOSED TREE
Backed out changeset 26ddad079ad3 (bug 1650089)
Backed out changeset 5ae2b2641484 (bug 1650089)
Backed out changeset c5d267a1907c (bug 1650089)
Backed out changeset d9eeca699dec (bug 1650089)
Backed out changeset 8bb303f6831a (bug 1650089)
2021-07-29 05:53:31 +03:00
Nika Layzell 3072efd270 Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag
This is a large refactoring of the DocumentChannel process switch codepath,
with the end goal of being better able to support future process switch
requirements such as dynamic isolation on android, as well as the immediate
requirement of null principal handling.

The major changes include:
1. The logic is in C++ and has less failure cases, meaning it should be harder
   for us to error out unexpectedly and not process switch.
2. Process selection decisions are more explicit, and tend to rely less on
   state such as the current remoteType when possible. This makes reasoning
   about where a specific load will complete easier.
3. Additional checks are made after a "WebContent" behavior is selected to
   ensure that if an existing document in the same BCG is found, the load will
   finish in the required content process. This should make dynamic checks such
   as Android's logged-in site isolation easier to implement.
4. ProcessIsolation logging is split out from DocumentChannel so that it's
   easier to log just the information related to process selection when
   debugging.
5. Null result principal precursors are considered when performing process
   selection.

Other uses of E10SUtils for process selection have not yet been migrated to the
new design as they have slightly different requirements. This will be done in
follow-up bugs.

Differential Revision: https://phabricator.services.mozilla.com/D120673
2021-07-29 01:40:20 +00:00
Matt Woodrow 0c782c8447 Bug 1722258 - Add FallbackRenderer to replace BasicLayerManager usage. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D120921
2021-07-28 20:58:23 +00:00