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

828636 Коммитов

Автор SHA1 Сообщение Дата
Andrew McCreight 5528ac12d7 Bug 1808598, part 1 - Clean up send semantics IPDL types. r=ipc-reviewers,nika
This patch implements a number of cleanups for how send semantics are
represented in IPDL types.

1. needsMoreJuiceThan is inlined.
2. convertsTo is renamed to sendSemanticsSatisfiedBy to be more descriptive,
   and is no longer a class method.
3. nestedRange, sendSemantics and the methods that operate on them
   are moved from IPDLType to a new class, which MessageType and
   ProtocolType now inherit from.
4. IPDLType.hasReply has been inlined into MessageType.hasReply.

Differential Revision: https://phabricator.services.mozilla.com/D167836
2023-01-30 15:41:14 +00:00
Mark Banner 474151c8bc Bug 1810766 - Move parts of search engine add-on upgrade process to AddonSearchEngine. r=search-reviewers,daleharvey
This moves the upgrade parts which are to do with getting details from the add-on manager.

Differential Revision: https://phabricator.services.mozilla.com/D167050
2023-01-30 15:13:58 +00:00
Mark Banner d80619eca1 Bug 1810766 - Move parts of search engine add-on initialisation into AddonSearchEngine. r=search-reviewers,daleharvey
This moves the initialisation parts from SearchService to AddonSearchEngine.
It is primarily aimed at moving the parts interacting with the add-on manager.

Differential Revision: https://phabricator.services.mozilla.com/D167049
2023-01-30 15:13:57 +00:00
Tom Schuster fdae682e1f Bug 1790345 - Strip cross-origin URIs in frame-src CSP reports. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D165818
2023-01-30 14:56:27 +00:00
Denis Palmeiro 1c091a7539 Bug 1813320: Remove Telemetry::SetEventRecordingEnabled for page_load event r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D168215
2023-01-30 14:48:03 +00:00
Rob Wu 0c3022d4ac Bug 1811459 - Avoid _moveOutKids on disconnected panelmultiview r=Gijs,rpl
`this.forNode` (with `this` being a `PanelMultiView` instance) may
return a node that was already disconnected before, in which case its
`node` member will be void. To avoid unexpected promise rejections, add
a null check before `_moveOutKids()`.

Differential Revision: https://phabricator.services.mozilla.com/D167369
2023-01-30 14:43:24 +00:00
Tim Chevalier 648d99a724 Bug 1813283 - Add cross-compartment tests for change-array-by-copy methods r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D168177
2023-01-30 16:14:01 +00:00
Christoph Kerschbaumer 68a4d483b4 Bug 1813509: Update bmo_id and name of ckerschb in mots.yaml, r=zeid
Differential Revision: https://phabricator.services.mozilla.com/D168248
2023-01-30 14:41:20 +00:00
Emilio Cobos Álvarez 33660d726e Bug 1813070 - Partially back out bug 1811486 for causing this bug.
MANUAL PUSH: Trivial backout CLOSED TREE
2023-01-30 16:44:06 +01:00
Butkovits Atila 4350c1597e Backed out changeset 0bd6e56348ff (bug 1813302) for causing xpc shell failures at test_providerOmnibox.js. CLOSED TREE 2023-01-30 17:36:11 +02:00
Butkovits Atila d94887c64b Backed out changeset ab00cf793f29 (bug 1800417) for causing failures at browser_unified_extensions_overflowable_toolbar.js. 2023-01-30 17:34:14 +02:00
Marco Bonardo 81ba61c0ea Bug 1813314 - Tweak expiration of favicons older than 180 days. r=Standard8
Expire page <-> icon relations older than 180 days if the page is not bookmarked
and there is a root icon for the page's origin.

Differential Revision: https://phabricator.services.mozilla.com/D168198
2023-01-30 13:41:19 +00:00
William Durand 70d0fbbc13 Bug 1800417 - Fix the use of both `toolbarbutton-1` and `subviewbutton` CSS classes in extension widgets. r=Itiel,mconley,dao,rpl
Differential Revision: https://phabricator.services.mozilla.com/D162712
2023-01-30 13:36:07 +00:00
Jonathan Kew 459ee06d92 Bug 1813513 - Avoid redundantly serializing the initial value of font-weight (400) as part of the font shorthand in computed style. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D168250
2023-01-30 13:27:29 +00:00
ffxbld ff267a18d4 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D168244
2023-01-30 13:10:36 +00:00
Gregory Pappas d5268d2a66 Bug 1813302 - Add missing blockL10n property to UrlbarProviderOmnibox payload r=dao,adw
Differential Revision: https://phabricator.services.mozilla.com/D168191
2023-01-30 12:55:37 +00:00
Kagami Sascha Rosylight 92e63734b2 Bug 1689565 - Part 3: Migrate removed tests r=dom-worker-reviewers,smaug
Ported most of the removed tests from D167236, except the payload test because of a misbehavior regarding to icon URL parsing (and thus fails on Chrome if ported as-is).

It's still covered in dom/serviceworkers/test/test_notification_get.html, so skipping it does not decrease the coverage.

Differential Revision: https://phabricator.services.mozilla.com/D167943
2023-01-30 12:50:52 +00:00
Kagami Sascha Rosylight d5986c606b Bug 1689565 - Part 2: Tweak marionette hack to allow `notifications` r=jgraham,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D167976
2023-01-30 12:50:51 +00:00
Ho Cheung c1b2ac7b4e Bug 1689565 - Part 1: Remove Notification.get() r=saschanaz
Remove Notification.get() in the code

Differential Revision: https://phabricator.services.mozilla.com/D167236
2023-01-30 12:50:51 +00:00
Alexandre Poirot 8e9b448440 Bug 1766485 - [devtools] Consider server side target switching always enabled for tab toolboxes. r=devtools-reviewers,nchevobbe
This removes the devtools.target-switching.server.enabled preference,
which was only having an impact on tab debugging.
Toolboxes other than tabs aren't yet using "server side target switching",
which will probably happen once we enable EFT in these and
we would probably not use a preference for enabling this.

This remove all assertions in tests covering client side target switching.
And it removed a couple of tests that became irrelevant.

Differential Revision: https://phabricator.services.mozilla.com/D166921
2023-01-30 12:49:54 +00:00
Butkovits Atila cd7bfe4eb2 Backed out changeset 0072aa5cd31d (bug 1800670) for causing multiple mochitest failures. CLOSED TREE 2023-01-30 15:26:29 +02:00
Butkovits Atila 18c5cb56cd Backed out changeset 377f28cf90f0 (bug 1790345) for causing failures at test_blocked_uri_redirect_frame_src.html. 2023-01-30 15:22:40 +02:00
Emilio Cobos Álvarez 0ee5fd9a49 Bug 1807534 - Try to also wait for content transforms in the iframe. r=dholbert
This would explain the failure (it seems like the popup opens at the
wrong position because the screen rect is off in the iframe process).

Differential Revision: https://phabricator.services.mozilla.com/D168214
2023-01-30 12:29:46 +00:00
Jared Hirsch 053b5d681c Bug 1800670 - Update cookie banner handling UI in protections popup r=pbz
This patch also implements bug 1800671 and bug 1800673.

Differential Revision: https://phabricator.services.mozilla.com/D164241
2023-01-30 12:24:28 +00:00
Tom Schuster ea722ddbc7 Bug 1790345 - Strip cross-origin URIs in frame-src CSP reports. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D165818
2023-01-30 11:56:27 +00:00
Itiel 5521917cd2 Bug 1813393 - Remove redundant rule in panelUI-shared.css from the Australis era r=dao
Differential Revision: https://phabricator.services.mozilla.com/D168216
2023-01-30 11:41:52 +00:00
Kershaw Chang c18e0387fb Bug 1813082 - Move :status to the front of response headers, r=necko-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D168121
2023-01-30 11:37:56 +00:00
William Durand 78b4cceb88 Bug 1811128 - Use 16/32px extension icons in toolbars. r=rpl,dao
Differential Revision: https://phabricator.services.mozilla.com/D167573
2023-01-30 10:46:12 +00:00
William Durand 3c6db97ab0 Bug 1813275 - Fix extension installation doorhanger position. r=rpl
This was regressed by mistake in Bug 1799009.

Differential Revision: https://phabricator.services.mozilla.com/D168226
2023-01-30 10:37:20 +00:00
Paul Bone a40d416215 Bug 1812239 - Log budgetWasIncreased in the GC log r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D167765
2023-01-30 10:27:52 +00:00
Paul Bone b49085cdbb Bug 1812239 - Use rounding when extending GC budgets r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D167764
2023-01-30 10:27:52 +00:00
Masayuki Nakano 119ca1706d Bug 1811997 - Make `HTMLEditor` not join different style inline elements r=m_kato
Even in the HTML mode, `HTMLEditor` should not join elements having different
styles because from users' point of view, it looses style data and looks odd.

Note that even in the HTML mode, CSS styled elements may appear, for example,
pasting content whose elements styled with CSS.

Differential Revision: https://phabricator.services.mozilla.com/D167744
2023-01-30 10:25:21 +00:00
Paul Adenot f284e71d53 Bug 1812375 - Fix static-analysis warnings TimeUnits.h and FFmpegAudioDecoder.cpp. r=media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D167914
2023-01-30 09:44:12 +00:00
Tom Schuster 8e5521d76b Bug 1813081 - Remove ScreenOrientation::ShouldResistFingerprinting. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D168117
2023-01-30 09:41:25 +00:00
Masayuki Nakano 90cf68390d Bug 1808722 - Make the delete handler of `HTMLEditor` collapse `Selection` to end of left block after joining blocks r=m_kato
The other browsers do not allow to type text into right hand inline element,
however, Gecko allows it depending on the cursor movement immediately before.
I think that Gecko's behavior is reasonable for users from point of view of
style editing.  However, for providing consistent behavior between browsers,
we should collapse selection to end of left paragraph's text node when joining
paragraphs.  Then, web apps do not need to arrange `Selection` for consistent
behavior between browsers and we can keep the Gecko's better style handling.

Differential Revision: https://phabricator.services.mozilla.com/D167743
2023-01-30 08:32:35 +00:00
Norisz Fay 7a9e3bbab8 Backed out changeset c2571e59e07b (bug 1811978) for causing multiple failures CLOSED TREE 2023-01-30 10:04:27 +02:00
Mozilla Releng Treescript 946a2b9078 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
es-ES -> a52510ac067edbb2a034be585bf5df5b17cd35dc
fur -> a916a24676d0cc9062188be5b8920088c80b6694
2023-01-30 07:02:26 +00:00
Glenn Watson 8a92e5ca8e Bug 1811978 - Enable the new tiled rendering path, update test expectations r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D167630
2023-01-30 02:54:41 +00:00
Glenn Watson 24de73bc80 Bug 1808830 - Fix a panic from an invalid cast in euclid r=gfx-reviewers,jrmuizel
When the scale is very large, we need to adjust that before
doing the cast to integer units.

Differential Revision: https://phabricator.services.mozilla.com/D168027
2023-01-30 00:12:15 +00:00
Glenn Watson 3f7b25bf9c Bug 1800358 - Fix invalid scroll root selection in some cases. r=gfx-reviewers,jrmuizel
Reverts an optimization that can cause artifacts on some pages. We
need to do a deeper investigation at some point to find out why,
and then reenable the optimization.

Differential Revision: https://phabricator.services.mozilla.com/D168026
2023-01-29 23:57:40 +00:00
Glenn Watson 1e90b02453 Bug 1812341 - Fix 3d transforms bug with backface-visibility: hidden r=gfx-reviewers,jrmuizel
Revert the original changes from bug 1772049 for now. We don't
currently rely on that patch, having found a simpler way to
handle how that code interacts with the backdrop-filter code.

Differential Revision: https://phabricator.services.mozilla.com/D168015
2023-01-29 23:38:27 +00:00
Jonathan Kew 7b1b4f78e7 Bug 1813395 - Use write_char in place of write_str when serializing single-character literals. r=emilio
Generated by running

  find servo/components/style -name "*.rs" -exec perl -p -i -e "s/write_str\(\"(.)\"\)/write_char('\1')/g" {} \;

(and then added `use std::fmt::Write;` in a couple of places to fix build errors that arose).

Differential Revision: https://phabricator.services.mozilla.com/D168217
2023-01-29 22:01:28 +00:00
Alexandre Poirot 28fb286b43 Bug 1810095 - [devtools] Fix extension storage updates when the add-on is reloaded. r=devtools-reviewers,rpl,jdescottes
I actually regressed this from D166661 within this current patch queue.
It isn't clear why the old code was somehow keeping the parent/ext-storage.js class
alive -or- somehow magically recalling apiManager.asyncGetAPI after addon reload.
But now we handle the case of addon reload explicitly.

Differential Revision: https://phabricator.services.mozilla.com/D167364
2023-01-29 20:50:49 +00:00
Alexandre Poirot eed1fa9259 Bug 1810095 - [devtools] Split storage actor file into one file per storage type. r=devtools-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D167127
2023-01-29 20:50:48 +00:00
Alexandre Poirot 1efc237714 Bug 1810095 - [devtools] Remove now-unused Storage target scoped actor. r=devtools-reviewers,devtools-backward-compat-reviewers,jdescottes
This actor was only used by the legacy listener.
Its main method was listStores which exposed all the storage type actors.
Now they are exposed via storage Resource watchers.

This requires to tweak the decision making to show the storage panel
as the actor no longer exists... Unfortunately we can't check for
resource traits on the watcher actor as the browser toolbox
on older runtime won't expose it.

Note that this.front wasn't used for a little while in ui.js.

I had to keep a few things in the frontend in order to still be able
to connect to old servers. But I put lots of comments to do proper cleanup later.

Differential Revision: https://phabricator.services.mozilla.com/D166770
2023-01-29 20:50:48 +00:00
Alexandre Poirot ff6deaa55d Bug 1578975 - [devtools] Remove now-unused setupInParent code. r=devtools-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D166695
2023-01-29 20:50:48 +00:00
Alexandre Poirot 6139fed419 Bug 1578975 - [devtools] Remove now-useless pre-resource-watchers cross process messaging code from storage actor. r=devtools-reviewers,jdescottes
This glue, necessary to communicated between content and parent processes
was only necessary when manually spawning the storage actors.
Now that this code is only used via ResourceWatcher, running in the right process
right away, we no longer need any cross process communication.

Differential Revision: https://phabricator.services.mozilla.com/D166694
2023-01-29 20:50:47 +00:00
Alexandre Poirot 94e02496ef Bug 1666534 - [devtools] Listen to extension storages via a server side watcher. r=devtools-reviewers,nchevobbe,jdescottes
This was the last resource type requiring to keep the old storage actor as-is.
This will help drastically simplify it and move storage type code into each Resource Watcher class.

Differential Revision: https://phabricator.services.mozilla.com/D166661
2023-01-29 20:50:47 +00:00
Mozilla Releng Treescript 7539d4e3f4 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
de -> 2df86f82c0840e9f5788ff8b4b518a5ac8c6c28c
fur -> e881239ec9998fbed02deea4aad1aa91fe90cc85
nn-NO -> a849dbfe316a0a66811b7dbd8429b33f6ff1abd3
sk -> 82e91ea49eb100e7d9a371b92067293597c4018e
2023-01-29 19:08:35 +00:00
Jonathan Kew b927eaab86 Bug 1724892 - Implement the font-synthesis-{weight,style,small-caps} longhand properties, and make font-synthesis into a shorthand. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D167480
2023-01-29 13:25:31 +00:00