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

7145 Коммитов

Автор SHA1 Сообщение Дата
Zibi Braniecki 92183f248d Bug 1613705 - [localization] part9: Update DOMLocalization to match Localization constructor. r=nika,emilio
Depends on D113691

Differential Revision: https://phabricator.services.mozilla.com/D113692
2021-08-03 16:25:13 +00:00
Zibi Braniecki 9e80b809ed Bug 1613705 - [localization] part8: Refactor SetIsSync to be SetAsync. r=platform-i18n-reviewers,dminor,emilio
Depends on D113571

Differential Revision: https://phabricator.services.mozilla.com/D113691
2021-08-03 16:25:13 +00:00
Zibi Braniecki dc735b20ee Bug 1613705 - [localization] part7: Re-enable custom locales argument to Localization. r=nika,emilio
Depends on D113570

Differential Revision: https://phabricator.services.mozilla.com/D113571
2021-08-03 16:25:12 +00:00
Zibi Braniecki 879ddf9634 Bug 1613705 - [localization] part3: Introduce passing Registry to Localization to replace BundleGenerator argument. r=emilio,nika
Depends on D104789

Differential Revision: https://phabricator.services.mozilla.com/D111178
2021-08-03 16:25:11 +00:00
Zibi Braniecki 9f3aa2521f Bug 1613705 - [localization] part2: Switch Localization class to use localization-ffi. r=emilio,nika
Depends on D104788

Differential Revision: https://phabricator.services.mozilla.com/D104789
2021-08-03 16:25:10 +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
Nika Layzell 78129583eb Bug 1650089 - Part 1: Add a remoteTypeOverride option for about:blank loads triggered by chrome, r=annyG,kmag
After the changes in this bug, about:blank loads triggered by chrome will
finish in a "web" content process, as they have an untrusted null principal
without a precursor. In a few places throughout the codebase, however, we
perform about:blank loads with the explicit expectation that they do not change
processes. This new remoteTypeOverride option allows the intended final process
to be explicitly specified in this situation.

For security & simplicity reasons, this new attribute is limited to only be
usable on system-principal triggered loads of about:blank in toplevel browsing
contexts.

Differential Revision: https://phabricator.services.mozilla.com/D120671
2021-08-03 15:39:33 +00:00
Butkovits Atila 949da905e7 Backed out 19 changesets (bug 1613705) for causing build bustages complaining about Document.cpp. CLOSED TREE
Backed out changeset 2ee1091dd20d (bug 1613705)
Backed out changeset d377afc0b09f (bug 1613705)
Backed out changeset de9d4378f0ac (bug 1613705)
Backed out changeset 9843372abb6e (bug 1613705)
Backed out changeset 5fc5918e5905 (bug 1613705)
Backed out changeset a7aeae7afd49 (bug 1613705)
Backed out changeset 5d61617a5402 (bug 1613705)
Backed out changeset 85bf98573899 (bug 1613705)
Backed out changeset 175af8a1b8c2 (bug 1613705)
Backed out changeset 93fcb23d7898 (bug 1613705)
Backed out changeset 595529cd906f (bug 1613705)
Backed out changeset 9f3e2963d925 (bug 1613705)
Backed out changeset 442289058933 (bug 1613705)
Backed out changeset fc3b9acb0e81 (bug 1613705)
Backed out changeset 408983c64f7f (bug 1613705)
Backed out changeset 08b637fc3fcd (bug 1613705)
Backed out changeset 6ef0aafd2db0 (bug 1613705)
Backed out changeset d88b294e0a5e (bug 1613705)
Backed out changeset e6bebff87544 (bug 1613705)
2021-08-03 12:36:01 +03:00
Zibi Braniecki 36d143e8ba Bug 1613705 - [localization] part9: Update DOMLocalization to match Localization constructor. r=nika,emilio
Depends on D113691

Differential Revision: https://phabricator.services.mozilla.com/D113692
2021-08-03 05:52:03 +00:00
Zibi Braniecki de1ee6dbf1 Bug 1613705 - [localization] part8: Refactor SetIsSync to be SetAsync. r=platform-i18n-reviewers,dminor,emilio
Depends on D113571

Differential Revision: https://phabricator.services.mozilla.com/D113691
2021-08-03 05:52:03 +00:00
Zibi Braniecki d22418d41e Bug 1613705 - [localization] part7: Re-enable custom locales argument to Localization. r=nika,emilio
Depends on D113570

Differential Revision: https://phabricator.services.mozilla.com/D113571
2021-08-03 05:52:02 +00:00
Zibi Braniecki 65b2ecfd3a Bug 1613705 - [localization] part3: Introduce passing Registry to Localization to replace BundleGenerator argument. r=emilio,nika
Depends on D104789

Differential Revision: https://phabricator.services.mozilla.com/D111178
2021-08-03 05:52:01 +00:00
Zibi Braniecki 294c93befa Bug 1613705 - [localization] part2: Switch Localization class to use localization-ffi. r=emilio,nika
Depends on D104788

Differential Revision: https://phabricator.services.mozilla.com/D104789
2021-08-03 05:52:00 +00:00
Cosmin Sabou 3564c330b3 Backed out 11 changesets (bug 1613705) for several test failures. CLOSED TREE
Backed out changeset 4e690882b6af (bug 1613705)
Backed out changeset 302e7a75affc (bug 1613705)
Backed out changeset 626b40e3aad1 (bug 1613705)
Backed out changeset 1cbab987bb7d (bug 1613705)
Backed out changeset 2213917abb30 (bug 1613705)
Backed out changeset c89aa0375690 (bug 1613705)
Backed out changeset 6466027c5767 (bug 1613705)
Backed out changeset 6c188c4b38bf (bug 1613705)
Backed out changeset 8d0c087b9896 (bug 1613705)
Backed out changeset 3404fd6725f1 (bug 1613705)
Backed out changeset c9cfbba15d90 (bug 1613705)
2021-08-02 14:04:29 +03:00
Zibi Braniecki 458a2494df Bug 1613705 - [localization] part9: Update DOMLocalization to match Localization constructor. r=nika,emilio
Depends on D113691

Differential Revision: https://phabricator.services.mozilla.com/D113692
2021-08-02 09:54:10 +00:00
Zibi Braniecki c5240d354f Bug 1613705 - [localization] part8: Refactor SetIsSync to be SetAsync. r=platform-i18n-reviewers,dminor,emilio
Depends on D113571

Differential Revision: https://phabricator.services.mozilla.com/D113691
2021-08-02 09:54:10 +00:00
Zibi Braniecki 791fb0ec84 Bug 1613705 - [localization] part7: Re-enable custom locales argument to Localization. r=nika,emilio
Depends on D113570

Differential Revision: https://phabricator.services.mozilla.com/D113571
2021-08-02 09:54:10 +00:00
Zibi Braniecki 2ea7cbbaf1 Bug 1613705 - [localization] part3: Introduce passing Registry to Localization to replace BundleGenerator argument. r=emilio,nika
Depends on D104789

Differential Revision: https://phabricator.services.mozilla.com/D111178
2021-08-02 09:54:08 +00:00
Zibi Braniecki bcc80223e2 Bug 1613705 - [localization] part2: Switch Localization class to use localization-ffi. r=emilio,nika
Depends on D104788

Differential Revision: https://phabricator.services.mozilla.com/D104789
2021-08-02 09:54:07 +00:00
William Durand b1c4ce35a8 Bug 1720845 - Remove the `extensions.webextPermissionPrompts` pref. r=rpl,robwu,asuth
This patch removes the `extensions.webextPermissionPrompts` pref as well as
`permissionPromptsEnabled` prop on `mozAddonManager`.

While working on this patch, we noticed that some of the `browser_webapi.js`
weren't testing anything for a while now. That has been fixed. In addition,
the `test_blocklistchange.js` file has been updated to handle the permissions
prompt.

Differential Revision: https://phabricator.services.mozilla.com/D121114
2021-07-30 14:25:24 +00:00
Noemi Erli a523fe1ad1 Backed out changeset 3cb3442efede (bug 1622846) for causing Bug 1722702 CLOSED TREE 2021-07-29 20:14:46 +03: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 d1a6052ca7 Bug 1650089 - Part 1: Add a remoteTypeOverride option for about:blank loads triggered by chrome, r=annyG,kmag
After the changes in this bug, about:blank loads triggered by chrome will
finish in a "web" content process, as they have an untrusted null principal
without a precursor. In a few places throughout the codebase, however, we
perform about:blank loads with the explicit expectation that they do not change
processes. This new remoteTypeOverride option allows the intended final process
to be explicitly specified in this situation.

For security & simplicity reasons, this new attribute is limited to only be
usable on system-principal triggered loads of about:blank in toplevel browsing
contexts.

Differential Revision: https://phabricator.services.mozilla.com/D120671
2021-07-29 01:40:19 +00:00
Dzmitry Malyshau 9963bd1ee1 Bug 1622846 - Update WebGPU API to latest and wgpu-core to 0.9 r=webidl,jgilbert,jimb,emilio
This *mostly* gets us the latest WebIDL API of WebGPU. There is a few limits we are missing, and maybe some things I didn't notice.
But it gets us the new `GPUCanvasContext`, `GPUSupportedLimits`, and `GPUVertexStepMode`.

Differential Revision: https://phabricator.services.mozilla.com/D120764
2021-07-27 22:37:46 +00:00
Neil Deakin 25c196780b Bug 1717684, remove the popupRangeParent and popupRangeOffset properties in document and just use the cached event in the PendingPopup, r=emilio
This also limits computing the range properties to only the context menu cases that need them rather than all popups.

Differential Revision: https://phabricator.services.mozilla.com/D120132
2021-07-22 19:50:10 +00:00
Boris Chiou e1c99a968b Bug 1599176 - Use sequence for borderBoxSize and contentBoxSize in ResizeObserverEntry. r=smaug,dholbert
Based on the spec, we should use FrozenArray for these two attributes.
However, we don't support FrozenArray in Gecko now, so use sequence.

spec: https://drafts.csswg.org/resize-observer/#resize-observer-entry-interface

Differential Revision: https://phabricator.services.mozilla.com/D120276
2021-07-20 20:45:17 +00:00
Sean Feng 2aa145db40 Bug 1705141 - Implement imperative slotting API r=smaug,emilio
Differential Revision: https://phabricator.services.mozilla.com/D119444
2021-07-20 18:06:25 +00:00
Kagami Sascha Rosylight a2f7e12c52 Bug 1648944 - Part 4: Move onselectionchange attribute to GlobalEventHandlers r=masayuki,edgar
Differential Revision: https://phabricator.services.mozilla.com/D118378
2021-07-20 13:46:45 +00:00
Emilio Cobos Álvarez 60812fc63c Bug 1711437 - Don't EnsureUniqueInner from the cssRules getter. r=layout-reviewers,jfkthame
Instead, fix up the various content data structures when the stylesheet
is mutated. This makes reading a stylesheet not disable style sharing.

Differential Revision: https://phabricator.services.mozilla.com/D115203
2021-07-20 13:17:02 +00:00
Brindusan Cristian 7cd95d50e6 Backed out 5 changesets (bug 1648944) for causing wpt failures in idlharness.window.html.
CLOSED TREE

Backed out changeset 598789cabb9f (bug 1648944)
Backed out changeset f464507bef57 (bug 1648944)
Backed out changeset fb2b9ceb7c69 (bug 1648944)
Backed out changeset a73cfada74cf (bug 1648944)
Backed out changeset 3f41877ffd14 (bug 1648944)
2021-07-20 13:29:49 +03:00
Kagami Sascha Rosylight 77fd5668e3 Bug 1648944 - Part 4: Move onselectionchange attribute to GlobalEventHandlers r=masayuki,edgar
Differential Revision: https://phabricator.services.mozilla.com/D118378
2021-07-20 08:59:48 +00:00
Nika Layzell 6f4ec0a0f4 Bug 1586830 - Part 2: Expose Document.isInitialDocument to chrome JS, r=smaug
Previously only the value in the parent process,
`windowGlobalParent.isInitialDocument`, was exposed to chrome JS. for testing
and other purposes, it is also useful to be able to read this value from JS in
a child process.

Depends on D119815

Differential Revision: https://phabricator.services.mozilla.com/D119816
2021-07-14 15:51:20 +00:00
Dorel Luca d1e1f219ba Backed out changeset 0e17878eeb86 (bug 1711437) for causing Bug 1719963. a=backout DONTBUILD 2021-07-14 00:36:05 +03:00
Emilio Cobos Álvarez 241951bce9 Bug 1711437 - Don't EnsureUniqueInner from the cssRules getter. r=layout-reviewers,jfkthame
Instead, fix up the various content data structures when the stylesheet
is mutated. This makes reading a stylesheet not disable style sharing.

Differential Revision: https://phabricator.services.mozilla.com/D115203
2021-07-12 16:02:58 +00:00
Alexandru Michis 6550c23862 Backed out changeset 998af7ced46f (bug 1711437) for causing Bug 1719963. a=backout 2021-07-10 12:44:08 +03:00
Emilio Cobos Álvarez 3de336bbc1 Bug 1711437 - Don't EnsureUniqueInner from the cssRules getter. r=layout-reviewers,jfkthame
Instead, fix up the various content data structures when the stylesheet
is mutated. This makes reading a stylesheet not disable style sharing.

Differential Revision: https://phabricator.services.mozilla.com/D115203
2021-07-09 16:25:54 +00:00
Neil Deakin 931c6d6227 Bug 1717680, remove the now unused document.popupNode and document.tooltipNode properties, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D118524
2021-07-09 11:51:15 +00:00
Dzmitry Malyshau fd414128b4 Bug 1680377 - WebGPU error scopes r=webidl,emilio
Implements the error scopes - primary way of getting the errors back from WebGPU.
Currently we ignore the filter.

Differential Revision: https://phabricator.services.mozilla.com/D118741
2021-07-08 20:24:12 +00:00
Karl Tomlinson e18321c6af Bug 1716494 restrict setSinkId and sinkId to SecureContext r=emilio
Depends on D117983

Differential Revision: https://phabricator.services.mozilla.com/D117984
2021-06-25 04:32:55 +00:00
Kagami Sascha Rosylight a54da69bc5 Bug 1717613 - Remove HAVE_SIDEBAR build condition r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D118613
2021-06-24 20:55:37 +00:00
Sandor Molnar e6880a9bb9 Backed out changeset 9da3d7718f82 (bug 1717613) for causing BR build bustages. CLOSED TREE 2021-06-24 22:24:55 +03:00
Kagami Sascha Rosylight 66ab2e605c Bug 1717552 - Remove dom.select_events.enabled r=masayuki,smaug
Differential Revision: https://phabricator.services.mozilla.com/D118639
2021-06-24 12:30:35 +00:00
Kagami Sascha Rosylight 0976ff66fa Bug 1717613 - Remove HAVE_SIDEBAR build condition r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D118613
2021-06-23 20:36:16 +00:00
Kagami Sascha Rosylight a4841d8501 Bug 1717615 - Remove nsSidebar r=smaug. Relanded. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D118500
2021-06-23 14:02:23 +00:00
Sandor Molnar 631f53bfe4 Backed out changeset f7641b51ed31 (bug 1717615) for causing build bustage. CLOSED TREE 2021-06-23 18:07:44 +03:00
Kagami Sascha Rosylight 64a3bc93a9 Bug 1717615 - Remove nsSidebar r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D118500
2021-06-23 14:02:23 +00:00
Iulian Moraru e52d645cec Backed out changeset a52d5a052386 (bug 1717615) for causing build bustages. CLOSED TREE 2021-06-23 15:43:28 +03:00
Kagami Sascha Rosylight 25884fe5f6 Bug 1717615 - Remove nsSidebar r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D118500
2021-06-23 10:28:47 +00:00
Kagami Sascha Rosylight 751f4ef52c Bug 1717612 - Disable window.sidebar from early-beta-or-earlier r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D118472
2021-06-22 16:05:45 +00:00
Kagami Sascha Rosylight d7c2b12fbe Bug 1717072 - Add window.clientInformation r=annevk,smaug
Differential Revision: https://phabricator.services.mozilla.com/D118466
2021-06-22 12:38:13 +00:00