Commit Graph

750375 Commits

Author SHA1 Message Date
Andrew Halberstadt
79eed16d38 Bug 1638991 - [telemetry-tests-client] Ensure wptserve logs are included in our logger, r=raphael
Differential Revision: https://phabricator.services.mozilla.com/D109080
2021-03-23 17:24:42 +00:00
Tom Ritter
20e76faedb Bug 1699740 - Make updatebot run on a cron job in m-c r=aki
Differential Revision: https://phabricator.services.mozilla.com/D109076
2021-03-23 17:17:52 +00:00
alwu
5ca51f8b97 Bug 1352050 - re-enable MSE tests on Android. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D109518
2021-03-23 17:17:41 +00:00
Noemi Erli
cc4a17cea3 Backed out 4 changesets (bug 1610570) for causing lint failure in lower.py CLOSED TREE
Backed out changeset faf6f57c64eb (bug 1610570)
Backed out changeset ccc49e1fd15c (bug 1610570)
Backed out changeset 83b086da2960 (bug 1610570)
Backed out changeset c7f732f443b1 (bug 1610570)
2021-03-23 19:25:55 +02:00
Asumu Takikawa
6774e63d86 Bug 1690965 - part 4: add unwind wasm instruction r=rhunt
Adds support for the `unwind` instruction from the wasm exception
handling proposal to the Baseline compiler.

Differential Revision: https://phabricator.services.mozilla.com/D106221
2021-03-23 17:11:41 +00:00
Asumu Takikawa
2402c5e522 Bug 1690965 - part 3: add delegate wasm instruction r=rhunt
Adds support for the `delegate` instruction from the wasm exception
handling proposal to the Baseline compiler.

Differential Revision: https://phabricator.services.mozilla.com/D106220
2021-03-23 17:11:40 +00:00
Asumu Takikawa
c7ab6e937f Bug 1690965 - part 2: add rethrow wasm instruction r=rhunt
Adds support for the `rethrow` instruction from the wasm exception
handling proposal to the Baseline compiler.

Differential Revision: https://phabricator.services.mozilla.com/D105854
2021-03-23 17:11:40 +00:00
Asumu Takikawa
e41d478674 Bug 1690965 - part 1: add catch_all wasm instruction r=rhunt
Adds support for the `catch_all` instruction for the wasm exception
handling proposal in the Baseline compiler.

Differential Revision: https://phabricator.services.mozilla.com/D104292
2021-03-23 17:11:39 +00:00
Jonathan Kew
fd88ca7871 Bug 1681691 - Update metadata for WPT metrics-override tests. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D109291
2021-03-23 17:10:24 +00:00
Jonathan Kew
a92a9534ec Bug 1681691 - Adjust font-family names used in WPT metrics-override tests to avoid spurious failures due to antialiasing in Gecko. r=emilio
Many WPT reftests compare Ahem glyphs (squares) with a reference that uses simple shapes
such as a <div> with a solid background that is expected to have the exact same size.

If antialiasing is applied to the Ahem font, such tests will often fail because of
faint antialiasing pixels at the edges of the square glyphs, even though the test is
"passing" in terms of what it actually aims to check.

Rather than annotate all such tests as "fuzzy", Gecko has an option to disable antialiasing
for the Ahem font, despite it being enabled for font rendering in general, and we use this
when running the WPT reftests. However, this depends on the font-family name being exactly
"Ahem".

Therefore, in the tests which load Ahem via @font-face and override some descriptors,
we still want to use "Ahem" as the resulting family name (shadowing the standard Ahem,
if it is locally installed) so that the non-antialiased rendering will be used.

(In the case of metrics-override-normal-keyword, there are multiple "custom" versions
of Ahem loaded by the testcase, so we instead take the approach of also loading it with
a modified family name in the reference; then both testcase and reference will get
the default antialiased font rendering rather than special "Ahem" treatment.)

Differential Revision: https://phabricator.services.mozilla.com/D109290
2021-03-23 17:10:24 +00:00
Jonathan Kew
6aa01e5aa4 Bug 1681691 - Add support for metrics overrides to gfxUserFontEntry, dom::FontFace, etc r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D109289
2021-03-23 17:10:24 +00:00
Jonathan Kew
fc722045b9 Bug 1681691 - Add metrics override descriptors to webidl. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D109288
2021-03-23 17:10:23 +00:00
Jonathan Kew
c34bf0ad4f Bug 1681691 - Also remove unnecessary 'unsafe' from a bunch of FontFaceRule descriptor getters. r=emilio
Depends on D109287

Differential Revision: https://phabricator.services.mozilla.com/D109344
2021-03-23 17:10:23 +00:00
Jonathan Kew
8b75657e88 Bug 1681691 - Add ascent-, descent- and line-gap-override descriptors to the style system. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D109287
2021-03-23 17:10:22 +00:00
Jonathan Kew
54906f738a Bug 1681691 - Convert the font-stretch descriptor to use NonNegativePercentage. r=emilio
Depends on D109285

Differential Revision: https://phabricator.services.mozilla.com/D109286
2021-03-23 17:10:22 +00:00
Jonathan Kew
bc2b113e81 Bug 1681691 - Create a NonNegativePercentage type in values:specified. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D109285
2021-03-23 17:10:21 +00:00
Tom Ritter
82fa953ecc Bug 1700396: Bump updatebot version to the one that gives detailed commit messages for vendoring tasks r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D109515
2021-03-23 16:48:14 +00:00
Nicolas Chevobbe
3ab0450b12 Bug 1693314 - [devtools] Enable new Performance panel by default on Beta. r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D109503
2021-03-23 16:06:27 +00:00
Alexandre Poirot
f320e1347f Bug 1700106 - [devtools] Removed synthesizeKeyFromKeyTag unused test helper. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D109483
2021-03-23 15:51:18 +00:00
Alexandre Poirot
ded026f627 Bug 1700106 - [devtools] Remove now-useless eslint files related to mochitests. r=jdescottes,Standard8
I kept a few having some overrides. But they may be irrelevant.
And I kept some eslint files for all folder that aren't matching the pattern matching "**/test*/**/browser*/".
Ideally we would rename these folder to match.

Last but not least, I identified one case where we were using mochitest file for xpcshell tests!

Differential Revision: https://phabricator.services.mozilla.com/D109481
2021-03-23 15:51:18 +00:00
Alexandre Poirot
349e77181c Bug 1700106 - [devtools] Exclude tests from general DevTools camelcase eslint rule. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D109478
2021-03-23 15:51:17 +00:00
Alexandre Poirot
8efc49e6bd Bug 1700106 - [devtools] Exclude tests from general reject-some-requires eslint rule. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D109477
2021-03-23 15:51:17 +00:00
Alexandre Poirot
d43cb93f72 Bug 1700106 - [devtools] Remove the balanced-observers eslint disabling from DevTools mochitests. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D109476
2021-03-23 15:51:17 +00:00
Alexandre Poirot
ddbcbd77a1 Bug 1700106 - [devtools] Remove the waitForTick custom eslint global from DevTools mochitests. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D109475
2021-03-23 15:51:16 +00:00
Alexandre Poirot
406fafaa4d Bug 1700106 - [devtools] Remove the waitUntilState custom eslint global from DevTools mochitests. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D109474
2021-03-23 15:51:16 +00:00
Alexandre Poirot
fb60911db8 Bug 1700106 - [devtools] Remove the gDevTools custom eslint global from DevTools mochitests. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D109473
2021-03-23 15:51:15 +00:00
Alexandre Poirot
c84217aeff Bug 1700106 - [devtools] Remove all unused eslint rules from devtools mochitests. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D109472
2021-03-23 15:51:15 +00:00
Emma Malysz
0f21a69d69 Bug 1699525, fix last tab's padding for proton r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D109161
2021-03-23 15:48:23 +00:00
Frederik Braun
9e740e0d37 Bug 1699101 - annotate WebExtension Content Style data URL loads r=rpl,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D108772
2021-03-23 15:28:03 +00:00
Tom Ritter
6470917122 Bug 1610570: Add a 'NoTaint=allvalid' attribute as well, and cut Gamepad over to it r=cmartin
Depends on D108247

Differential Revision: https://phabricator.services.mozilla.com/D108248
2021-03-23 15:15:39 +00:00
Tom Ritter
fb447b901d Bug 1610570: Apply the passback attribute to gamepad r=cmartin
Differential Revision: https://phabricator.services.mozilla.com/D108247
2021-03-23 15:15:38 +00:00
Tom Ritter
7d3fa671f3 Bug 1610570: Pass attributes through so lower.py can change code emission, and handle NoTaint r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D108246
2021-03-23 15:15:38 +00:00
Tom Ritter
63f2838313 Bug 1610570: Support the NoTaint attribute on method parameters with the passback value r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D108245
2021-03-23 15:15:37 +00:00
smolnar
8f2ee22900 Backed out changeset b17d8c432b6b (bug 1680407) for causing gecko browsertime failures. CLOSED TREE 2021-03-23 18:40:46 +02:00
smolnar
57d8d2e65a Bug 1699647 -Added lines at devs request r=fix CLOSED TREE 2021-03-23 18:39:06 +02:00
Yury Delendik
ac7f98233f Bug 1699647 - Use setCC only when register has 8bit personality. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D109108
2021-03-23 15:09:43 +00:00
Michael Cooper
4f268dd058 Bug 1699231 - Mark WebRender Normandy rollout as obsolete r=jrmuizel
Without this change, profiles that participated in the rollout that turned on WebRender for qualified Intel devices will continue to due extraneous work every start up to set the relevant preference, even though nothing is reading it. The information that the profile is active in the rollout also shows up in telemetry and about:support data unnecessarily.

Differential Revision: https://phabricator.services.mozilla.com/D108831
2021-03-23 15:07:51 +00:00
Bryce Seager van Dyk
2c0426060c Bug 1699434 - Remove code that blocks WMF AAC decoding based on sample rate. r=alwu
This will allow higher sample rate decoding when the platform supports it, and
will offer a similar error in cases where the platform does not.

Depends on D109380

Differential Revision: https://phabricator.services.mozilla.com/D109381
2021-03-23 15:03:52 +00:00
Bryce Seager van Dyk
557d12ddf1 Bug 1699434 - Add aac audio test files for different sample rates. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D109380
2021-03-23 15:03:51 +00:00
Gijs Kruitbosch
93e5713c2c Bug 1693008 - add a test for showing the origin for web content dialogs in proton, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D109152
2021-03-23 15:02:07 +00:00
Gijs Kruitbosch
bd7a32063a Bug 1693008 - show only the origin in web content dialogs when using proton, r=mtigley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D108713
2021-03-23 15:02:07 +00:00
Gijs Kruitbosch
4c87898068 Bug 1693008 - add an iconified title to commonDialog using a reusable script, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D108656
2021-03-23 15:02:06 +00:00
Nicolas Chevobbe
4c0ed07ed9 Bug 1700352 - Reference phab-test-policy webextension in testing policy documentation. r=bgrins. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D109496
2021-03-23 15:01:49 +00:00
Stéphane Maniaci
50e42451a1 Bug 1678360: don't pass -no-remote in CreateInstanceWithProfile r=mossop
Launching new profiles from the ProfileManager is done with the
-no-remote command-line argument; this decision is silently hardcoded,
hence confusing.

Differential Revision: https://phabricator.services.mozilla.com/D106684
2021-03-23 14:46:15 +00:00
Markus Stange
f92e83a7db Bug 1698997 - Make nsXULPopupManager::ShowPopupAtScreen open a native context menu, if preffed on. r=tnikkel
This is macOS only and behind the prefs widget.macos.native-context-menus and
browser.proton.contextmenus.enabled .

The big design question here is: Where do we put the fork in the road? How much
should the existing non-native popup management machinery know about the state
of the native menu? Which parts of the non-native state should a) reflect the
true native state, b) enter a special "handled natively" state, or c) lie?

This patch picks the following approach:

 - The nsMenuPopupFrame of the root menupopup knows about the native menu; it
   keeps it alive in its new mNativeMenu field.
 - If the context menu has submenus, i.e. nested <menupopup> elements, the
   nsMenuPopupFrames for those nested menupopups do not know anything about the
   native menu.
 - The mPopupState of natively-handled nsMenuPopupFrames is ePopupClosed.
 - XULPopupElement::GetState, which queries the frame's mPopupState, also
   returns "closed". This might cause problems in the future.
 - The XUL popup manager's mPopups "menu chain" does not know about any open
   native menus.
 - The rollup widget also does not know about the native popup.

I've chosen to use ePopupClosed for native menus for the following reasons:
 1. While mirroring / updating the state for the root menu would be doable
    without too much trouble, it would be much more annoying to do the same for
    nested menupopups of submenus. So if submenus will be ePopupClosed, it's
    consistent for the root menu to also be ePopupClosed.
 2. nsXULPopupManager has assertions (for example in MayShowPopup) that make
    sure that the menu popup frame's mPopupState is consistent with the XUL
    popup manager's mPopups menu chain. Keeping the two both "closed" is the
    easiest way to achieve consistency.

Unless there are grave concerns with this approach, I suggest we go with it for
now and see what trouble arises.

Differential Revision: https://phabricator.services.mozilla.com/D109183
2021-03-23 14:38:29 +00:00
Markus Stange
ed5ee3edd2 Bug 1698997 - Add NativeMenuSupport::CreateNativeContextMenu. r=harry
Depends on D109181

Differential Revision: https://phabricator.services.mozilla.com/D109182
2021-03-23 14:38:29 +00:00
Markus Stange
ea9ef4937e Bug 1698997 - Add NativeMenu::ShowAsContextMenu. r=harry
Depends on D109180

Differential Revision: https://phabricator.services.mozilla.com/D109181
2021-03-23 14:38:29 +00:00
Markus Stange
29451fe8f3 Bug 1698997 - Add nsCocoaUtils::GeckoPointToCocoaPoint. r=harry
Depends on D109179

Differential Revision: https://phabricator.services.mozilla.com/D109180
2021-03-23 14:38:28 +00:00
Markus Stange
7555ea54af Bug 1698997 - Disable the Services item in context menus for now. r=harry
Bug 660452 tracks turning this on for the appropriate menus.

Depends on D108721

Differential Revision: https://phabricator.services.mozilla.com/D109179
2021-03-23 14:38:28 +00:00
Markus Stange
070f09c1ac Bug 1698997 - Allow OnOpen() to be called before MenuOpened(), and track the state correctly. r=harry
This will be useful for native context menus: We can call OnOpen() before we
ask the OS to open the menu. This way, popupshowing handlers can prevent the
menu from opening.
I was also planning to use this to call OnOpen during menuNeedsUpdate, which is
where the Apple docs say we should do our menu modifications. However, doing so
has some other effects so I will hold off on making that change.

This patch also clarifies our inability to interfere with menu opening, which
clashes a little bit with the cross-platform expectations around popupshowing
events, but should hopefully not make a difference in practice.

Differential Revision: https://phabricator.services.mozilla.com/D108721
2021-03-23 14:38:28 +00:00