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

792827 Коммитов

Автор SHA1 Сообщение Дата
Sarah Clements eaa5d9e321 Bug 1761784 - Firefox View Recently closed tabs implementation r=fluent-reviewers,dao,flod
* Sketch in recently-closed-tabs section and listing
* Add some styles and suggested markup for the page-level sections & headers

Differential Revision: https://phabricator.services.mozilla.com/D143365
2022-04-26 11:00:30 +00:00
Emilio Cobos Álvarez 4930002631 Bug 1766227 - Forward-declare ObservableArray types correctly. r=edgar
Without this changing constructable stylesheets to be an ObservableArray
causes compile errors because StyleSheet isn't correctly forward-declared.

Differential Revision: https://phabricator.services.mozilla.com/D144546
2022-04-26 10:53:08 +00:00
Sarah Clements 096901dbf5 Bug 1731898 - Change protocol handling logic for non-standard cases r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D141859
2022-04-26 10:01:31 +00:00
Henrik Skupin 6e2c6b51eb Bug 1766314 - [wdspec] Mark failing debugger_address.py tests on Android as expected fail. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D144696
2022-04-26 09:55:25 +00:00
Csoregi Natalia aee562d93c Merge mozilla-central to autoland on a CLOSED TREE 2022-04-26 12:47:44 +03:00
Csoregi Natalia 0ffae75b69 Merge autoland to mozilla-central. a=merge 2022-04-26 12:45:21 +03:00
Glenn Watson 075f0b7568 Bug 1766017 - Do a better job of clipping off-screen surface allocation sizes r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D144534
2022-04-26 09:42:22 +00:00
Peter Van der Beken d2a9c427b6 Bug 1766122 - Make PeerConnectionImpl::Chain return an already_AddRefed<Promise>. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D144511
2022-04-26 09:24:16 +00:00
André Bargull 3898b564d6 Bug 1765779 - Part 6: Support MIsObject in object scalar replacement. r=iain
This is the last remaining instruction which needs to be supported for scalar
replacement of iterator objects.

Differential Revision: https://phabricator.services.mozilla.com/D144295
2022-04-26 08:46:16 +00:00
André Bargull 1d51fba365 Bug 1765779 - Part 5: Support MCompare in object scalar replacement. r=iain
Scalar replacement for iterator objects requires to support this code:
```
(obj = GuardToArrayIterator(obj)) === null
```

Differential Revision: https://phabricator.services.mozilla.com/D144294
2022-04-26 08:46:16 +00:00
André Bargull b9a0cb1616 Bug 1765779 - Part 4: Support phi-nodes for iterator object scalar replacement. r=iain
The guard pattern:
```
var obj = this;
if (!IsObject(obj) || (obj = GuardToArrayIterator(obj)) === null) {
  return callFunction(CallArrayIteratorMethodIfWrapped, this,
                      "ArrayIteratorNext");
}
```

creates a phi-node for `obj`. We can replace this phi-node when all its inputs
are equal to the iterator object we try to scalar replace.

Differential Revision: https://phabricator.services.mozilla.com/D144293
2022-04-26 08:46:15 +00:00
André Bargull 0b79a370eb Bug 1765779 - Part 3: Pass object instruction to IsObjectEscaped. r=iain
Pass the object instruction in preparation for the next part.

Differential Revision: https://phabricator.services.mozilla.com/D144292
2022-04-26 08:46:15 +00:00
André Bargull a2585c580a Bug 1765779 - Part 2: Change guard-to pattern to avoid spurious MBox instructions. r=iain
`var obj;` is equivalent to `var obj = undefined;`. This leads to creating a
phi-node, because `obj` can be either `undefined` or the this-value. If we
instead initialise `var obj = this;`, we can ensure that we see only object-typed
definitions during scalar replacement and it ensures we don't emit spurious
MBox instructions for the phi-node input.

Differential Revision: https://phabricator.services.mozilla.com/D144291
2022-04-26 08:46:14 +00:00
André Bargull e9052a588d Bug 1765779 - Part 1: Handle GuardToClass in object scalar replacement. r=iain
`GuardToArrayIterator` in `ArrayIteratorNext` blocks scalar replacement of the
array iterator object because `GuardToClass` isn't handled.

Differential Revision: https://phabricator.services.mozilla.com/D144290
2022-04-26 08:46:14 +00:00
Marco Castelluccio 7570af090f Bug 1754765 - Don't enumerate severity levels in the source docs to avoid sync problems with the canonical definitions. r=glob DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D144320
2022-04-26 08:44:55 +00:00
Martin Robinson fdf7fc5326 Bug 1766265 - Content hidden by `content-visibility` should not trigger intersection observers r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D144584
2022-04-26 08:40:26 +00:00
Martin Robinson 3df3e47b53 Bug 1764721 - Content skipped via `content-visibility` should not be focusable r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D143723
2022-04-26 08:35:53 +00:00
Kershaw Chang d2ac979432 Bug 1727995 - Disable websocket over h2, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D126322
2022-04-26 08:09:15 +00:00
Marco Bonardo 0055ef2082 Bug 1765024 - Low resolution icons in newtab. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D144434
2022-04-26 08:02:56 +00:00
Csoregi Natalia b7da7c79ba Backed out changeset b3e2641c90ce (bug 1766370) for causing spidermonkey bustage. CLOSED TREE 2022-04-26 10:26:30 +03:00
James Teh 4e63bbff78 Bug 1765460 part 2: Add the scroll offset of the parent in ParentRelativeBounds. r=morgan
This means that cached bounds stay the same regardless of scroll offset.
The scroll position gets subtracted later when calculating absolute bounds.

Differential Revision: https://phabricator.services.mozilla.com/D144392
2022-04-26 07:05:50 +00:00
James Teh 38d42cbd8e Bug 1765460 part 1: Fix testBoundsInContent to correctly enforce both low and high constraints. r=morgan
We use two constraints to ensure the bounds fall within 5 px of the expected values in either direction.
However, the function was using || , so only one constraint was being enforced.
In practice, this meant that we wouldn't fail for any value.
Change this to && to enforce both constraints.

Differential Revision: https://phabricator.services.mozilla.com/D144391
2022-04-26 07:05:49 +00:00
Narcis Beleuzu 81091420b6 Bug 1763179 - Disable browser_bug1309630.js on Linux64 for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D144452
2022-04-26 06:59:17 +00:00
Mozilla Releng Treescript 0b8f82c6d1 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
it -> eb9e97692f4a3023117b0b9437ce3a13fcfef822
kab -> ea91a03834f028c7a1e20172a1ff42478f2b1a45
sc -> 3e47007f4a3856f51c46eb62afc5c4447207b3c3
tg -> ee088d079b99faa0df0a70925d7564eeba4c47ed
2022-04-26 06:57:40 +00:00
Mike Hommey b634c56e07 Bug 1766370 - Fix bitfield-enum-conversion warnings in Windows builds. r=jandem
js/src/jit/x86-shared/Architecture-x86-shared.h(326,9): error: signed bit-field 'reg_' needs an extra bit to represent the largest positive enumerators of 'XMMRegisterID' [-Werror,-Wbitfield-enum-conversion]
      : reg_(Codes::Encoding(r)), type_(k), isInvalid_(false) {}
        ^
js/src/jit/x86-shared/Architecture-x86-shared.h(310,3): note: consider making the bitfield type unsigned
  Codes::Encoding reg_ : 5;
  ^~~~~~~~~~~~~~~
(...)
js/src/jit/RangeAnalysis.h(378,28): error: signed bit-field 'canHaveFractionalPart_' needs an extra bit to represent the largest positive enumerators of 'FractionalPartFlag' [-Werror,-Wbitfield-enum-conversion]
    canHaveFractionalPart_ = canHaveFractionalPart;
                           ^
js/src/jit/RangeAnalysis.h(227,25): note: consider making the bitfield type unsigned
  MOZ_INIT_OUTSIDE_CTOR FractionalPartFlag canHaveFractionalPart_ : 1;
                        ^~~~~~~~~~~~~~~~~~
(...)
js/src/jit/RangeAnalysis.h(379,24): error: signed bit-field 'canBeNegativeZero_' needs an extra bit to represent the largest positive enumerators of 'NegativeZeroFlag' [-Werror,-Wbitfield-enum-conversion]
    canBeNegativeZero_ = canBeNegativeZero;
                       ^
js/src/jit/RangeAnalysis.h(228,25): note: consider making the bitfield type unsigned
  MOZ_INIT_OUTSIDE_CTOR NegativeZeroFlag canBeNegativeZero_ : 1;
                        ^~~~~~~~~~~~~~~~

Differential Revision: https://phabricator.services.mozilla.com/D144664
2022-04-26 06:52:55 +00:00
Julian Descottes a3214e22a3 Bug 1765760 - [devtools] Do not wait indefinitely for DOMContentLoaded in inspector actor getWalker r=devtools-reviewers,nchevobbe
Fixes the issue by waiting only 500ms max for the event

Differential Revision: https://phabricator.services.mozilla.com/D144335
2022-04-26 06:31:09 +00:00
Emilio Cobos Álvarez b1878d8eee Bug 1717292 - Prefer ppd to ipp to custom names in GTK code. r=AlaskanEmily
Try to find a PPD paper size from our IPP paper size to workaround print
driver bugs.

Before:

  Apr 25 18:43:47 ryzen cupsd[850753]: cupsdProcessIPPRequest: media keyword 'iso_a4_210x297mm'

After:

  Apr 25 19:22:54 ryzen cupsd[850753]: cupsdProcessIPPRequest: PageSize nameWithoutLanguage 'A4'

Differential Revision: https://phabricator.services.mozilla.com/D144606
2022-04-26 03:36:32 +00:00
Razvan Cojocaru 9788952c5a Bug 1733313 - Change EffectsInfo::mScaleX/Y into a Scale2D and rename to mRasterScale. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D144274
2022-04-26 03:12:38 +00:00
Cristian Tuns d6b4fc6e92 Backed out changeset e24ed89246a4 (bug 1766017) for causing refest failures quirks-decorations.html CLOSED TREE 2022-04-25 23:20:02 -04:00
Mike Hommey 74147a241d Bug 1742864 - Sanitize the input frame pointer given to DoFramePointerStackWalk. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D144396
2022-04-26 02:26:45 +00:00
Mike Hommey 49275714a9 Bug 1766347 - Fix comma warnings in Windows builds. r=media-playback-reviewers,bryce
media/gmp-clearkey/0.1/WMFH264Decoder.cpp(145,24): error: possible misuse of comma operator here [-Werror,-Wcomma]
  while (type = nullptr,
                       ^
media/gmp-clearkey/0.1/WMFH264Decoder.cpp(145,10): note: cast expression to void to silence warning
  while (type = nullptr,
         ^~~~~~~~~~~~~~
         static_cast<void>( )

Differential Revision: https://phabricator.services.mozilla.com/D144641
2022-04-26 02:04:58 +00:00
Mark Hammond 236be5487e Bug 1765743 - fix how TPS validates pings. r=LougeniaBailey
Differential Revision: https://phabricator.services.mozilla.com/D144388
2022-04-25 23:51:22 +00:00
Glenn Watson 7e73e2d39d Bug 1766017 - Do a better job of clipping off-screen surface allocation sizes r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D144534
2022-04-25 23:40:40 +00:00
Raphael Ferrand f69ce054c6 Bug 1654731 - [devtools] Preview class when selecting item in the cls autocomplete popup r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D132261
2022-04-25 22:28:35 +00:00
Mike Hommey 859225f457 Bug 1762484 - Enable most of the same warnings on Windows as on other platforms. r=firefox-build-system-reviewers,andi
This moves the manual addition of some flags from old-configure to
python configure, and disables the set of flags that still trigger a
bunch of warnings (which -Werror turns into bustage).

Differential Revision: https://phabricator.services.mozilla.com/D144406
2022-04-25 22:21:31 +00:00
Mike Hommey 43a4b9f47f Bug 1762484 - Remove `gcc` from warning and flag function names. r=firefox-build-system-reviewers,mhentges
This is in preparation for those functions taking care of all platforms
and compilers.

Differential Revision: https://phabricator.services.mozilla.com/D144405
2022-04-25 22:21:31 +00:00
Mike Hommey b229581b84 Bug 1762484 - Allow plain values instead of functions for depends()(). r=firefox-build-system-reviewers,mhentges
This allows to remove the requirement on "--help" for dependable(),
which avoids dependable() implying the execution of `when` when it's
within a `with only_when`.

Differential Revision: https://phabricator.services.mozilla.com/D144404
2022-04-25 22:21:29 +00:00
James Teh 60be7cd6d6 Bug 1765944: Fix transform cache updates. r=morgan
The frame might not be transformed yet when MaybeQueueCacheUpdateForStyleChanges is called.
In that case, frame->IsTransformed() will return false.
However, newStyle->StyleDisplay()->HasTransform(frame) returns true, so we can use that.

Differential Revision: https://phabricator.services.mozilla.com/D144429
2022-04-25 22:19:00 +00:00
James Teh 4f1f309c35 Bug 1765964: Don't push scrollPosition to the cache if it's 0. r=morgan
In addition, don't send DeleteEntry for Transform for an initial cache update, since there's nothing to delete.
These fixes don't change the behaviour for users, but optimise both cache storage and IPC trafic.

Differential Revision: https://phabricator.services.mozilla.com/D144421
2022-04-25 22:14:36 +00:00
Sam Foster 2305de5ca1 Bug 1765333 - Fix the spacing between icon and button label in Screenshots. r=niklas
Differential Revision: https://phabricator.services.mozilla.com/D144238
2022-04-25 22:11:43 +00:00
Andrew Osmond 40e355361a Bug 1766333 - Disable blob recordings for SVG images. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D144635
2022-04-25 22:09:59 +00:00
Glenn Watson 795afdf264 Bug 1765684 - Include DirectComposition surface offset in blit target rect r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D144535
2022-04-25 22:09:30 +00:00
Dan Robertson e04d4a70db Bug 1668923 - APZ mochitest rect handling cleanup. r=botond
Use width and height instead of w and h for object member names to simplify
usage.

Differential Revision: https://phabricator.services.mozilla.com/D144379
2022-04-25 21:41:29 +00:00
Cristian Tuns 86026adfee Merge mozilla-central to autoland on a CLOSED TREE 2022-04-25 17:39:18 -04:00
Cristian Tuns 0249c123e7 Merge autoland to mozilla-central. a=merge 2022-04-25 17:28:56 -04:00
Brad Werth 4065114084 Bug 1763781 Part 2: Update test expectations. r=jgilbert
This gives us better correctness for 10-bit vp9 reftests. In the WPTs, we
turn off some tests on macos because of the difficulty that our
screenshots have in analyzing srgb image data. It seems to consistently
report 191,255,191,73 when we are expecting 255,0,0,255.

Depends on D144039

Differential Revision: https://phabricator.services.mozilla.com/D144228
2022-04-25 21:13:38 +00:00
Brad Werth 7105deccae Bug 1763781 Part 1: Force FFmpegVideoDecoder to use MacIOSurfaceImage for HDR video. r=media-playback-reviewers,alwu
This change ensures that macOS will correctly detect the surface as a video
and use an HDR-capable display layer. Unfortunately, it invokes a slower code
path for this case. Bug 1765388 may restore this fast path for HDR video.

Differential Revision: https://phabricator.services.mozilla.com/D144039
2022-04-25 21:13:38 +00:00
Meg Viar d3cc7e1fd1 Bug 1765823 - Clean up use of .corner class in AboutWelcome in favor of [pos] attribute r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D144319
2022-04-25 21:03:33 +00:00
aline 5ef296866c Bug 1765639 - removed rule for .pictureInPictureToggleButton r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D144355
2022-04-25 20:59:40 +00:00
aline 15a2d0ecd8 Bug 1765639 - removed obsolete class selectors .pictureInPictureToggleButton r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D144348
2022-04-25 20:59:40 +00:00