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

752894 Коммитов

Автор SHA1 Сообщение Дата
Mitchell Hentges 11157df8ec Bug 1697489: Run rusttests on Mac in CI r=firefox-build-system-reviewers,glandium
Run rusttests (debug) on `trunk` and rusttests (opt)
on `mozilla-central`.

Differential Revision: https://phabricator.services.mozilla.com/D109513
2021-04-08 23:06:29 +00:00
James Teh 1e3921cd84 Bug 1703169: Support XUL buttons labelled by text children. r=morgan
Previously, text children were excluded from the a11y tree, so they weren't considered when computing name from subtree.

Differential Revision: https://phabricator.services.mozilla.com/D111029
2021-04-08 22:59:43 +00:00
James Teh cc19c08fbf Bug 1703171: Support a11y exposure of accessKey for elements in shadow DOM. r=morgan
Previously, when determining the modifier, the code used the uncomposed document, which will be null for an element inside shadow DOM.

Differential Revision: https://phabricator.services.mozilla.com/D111033
2021-04-08 22:58:34 +00:00
Nick Alexander 950a63fea5 Bug 1703732 - Catch exception if `BackgroundAppUpdate` policy has locked `app.update.background.enabled`. r=bytesized,application-update-reviewers
There are two parts to this.  The first part is simply fixing the
issue, which was an oversight.  The second part is rejecting with a
JavaScript `Error`, which provides a nicely formatted stack in the
browser console, easing debugging.

Differential Revision: https://phabricator.services.mozilla.com/D111223
2021-04-08 22:55:21 +00:00
Glenn Watson a8a01690d9 Bug 1703737 - Only calculate prim_rect during dependency update for compositor surfaces. r=gfx-reviewers,nical
This calculation was previously required, but is now only used by
the methods that set up a compositor surface. The early out check
for invalid prim_rect is covered by the clip chain rect test below.

This removes a per-prim map operation from a hot part of the frame
building visibility pass.

Differential Revision: https://phabricator.services.mozilla.com/D111224
2021-04-08 22:43:51 +00:00
Iain Ireland 9eda529c4b Bug 1703740: Update irregexp r=mgaudet
Pulling in some small upstream fixes:

Bugs involving quantifiers inside look-around assertions
https://bugs.chromium.org/p/v8/issues/detail?id=11290
https://bugs.chromium.org/p/v8/issues/detail?id=11616

Allocating unnecessary memory in RegExpStack
https://bugs.chromium.org/p/v8/issues/detail?id=11540

--trace-regexp-assembler broken by adding RISC-V support
https://bugs.chromium.org/p/v8/issues/detail?id=11572

Differential Revision: https://phabricator.services.mozilla.com/D111334
2021-04-08 22:36:18 +00:00
Mark Striemer 2ce6674095 Bug 1702330 - Remove lazy notification deck creation test r=mconley
This test no longer passes with proton enabled by default, since the
deck would've been created already during startup.

Depends on D111309

Differential Revision: https://phabricator.services.mozilla.com/D111310
2021-04-08 22:25:06 +00:00
Mark Striemer 4f51569fbc Bug 1702330 - Use local gProton in notificationbox.js r=mconley
Depends on D111308

Differential Revision: https://phabricator.services.mozilla.com/D111309
2021-04-08 22:25:06 +00:00
Mark Striemer 103dedd38d Bug 1702330 - Fix browser_registerProtocolHandler_notification.js r=mconley
Depends on D110963

Differential Revision: https://phabricator.services.mozilla.com/D111308
2021-04-08 22:25:05 +00:00
Mark Striemer 77be5a8d55 Bug 1702330 - Remove -moz-proton-infobars media query support r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D110963
2021-04-08 22:25:05 +00:00
Mark Striemer 0201d62878 Bug 1702330 - Graduate infobars to main proton pref r=jaws,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D110638
2021-04-08 22:25:04 +00:00
Brad Werth fc3a667e9a WIP: Bug 1701587 Part 2: Upgrade asserts in AutoTransactionSender to run in release builds. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D111331
2021-04-08 22:21:30 +00:00
Daisuke Akatsuka e48da94164 Bug 1703332: Remove purge_caches listener before unlinking mRootNode.r=mak
Until now, we have removed the listener for `purge_caches` on the destructor.
https://searchfox.org/mozilla-central/rev/ee9dab6aa95f167a34cb178960f7375210a0bba4/toolkit/components/places/nsNavHistoryResult.cpp#3482-3484
But, when closing, since  NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN will be called before calling the destructor, even if `mRootNode` is unlinked, might capture the `purge_caches` event.
https://searchfox.org/mozilla-central/rev/ee9dab6aa95f167a34cb178960f7375210a0bba4/toolkit/components/places/nsNavHistoryResult.cpp#3411
And in the case, it will crash due to touch the null object.
In this change, remove the listener before unlinking the `mRootNode` explicitly.

Differential Revision: https://phabricator.services.mozilla.com/D111039
2021-04-08 22:06:18 +00:00
Nihanth Subramanya 1bafdfc64d Bug 1699523 - Key TRR skip reason histograms by provider, split fallback into success and failure. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D109436
2021-04-08 21:45:07 +00:00
Sebastian Zartner 86a324602a Bug 872078 - Allow multi-line font previews. r=jdescottes
This change prepares the font preview generation for the display within the Network Monitor's Response view.
In there, the preview is meant to contain all the letters of the Latin alphabet in upper and lower case plus the numbers from 0 to 9 and different characters in other alphabets.
As those are too long to be displayed in a single line, they will be split into several ones.

For this to work, the getFontPreviewData() method now splits the given preview text at new-line characters into several lines.
This also means that for the existing single-line preview texts within the Inspector there is no change.

Differential Revision: https://phabricator.services.mozilla.com/D110167
2021-04-08 21:39:56 +00:00
Brindusan Cristian bb90b740d2 Backed out 2 changesets (bug 1703444) for causing xpcshell failures at test_parser.js. CLOSED TREE
Backed out changeset 200e93289ab1 (bug 1703444)
Backed out changeset b5a9076a78b5 (bug 1703444)
2021-04-09 01:46:04 +03:00
Alexandru Michis 09042e0dd1 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2021-04-09 00:56:30 +03:00
Sebastian Hengst 6aacf54e0c Bug 1702830 - adjust expectations for wpt for intermittent failures. CLOSED TREE 2021-04-08 23:34:07 +02:00
Sebastian Hengst 5a8487d8e9 Bug 1702830 - adjust expectations for wpt for intermittent failures. CLOSED TREE 2021-04-08 23:34:07 +02:00
Tom Schuster 704591d611 Bug 1702636 - Fix cancelPromise in ReadableStreamTee being resolved twice (again). r=arai
Differential Revision: https://phabricator.services.mozilla.com/D110657
2021-04-08 21:22:58 +00:00
Olli Pettay fae44f08b8 Bug 1692639 - Change dom/broadcastchannel/tests/test_bfcache.html to use BroadcastChannel, r=annyG
This changes the test a bit. It doesn't test BroadcastChannel's postMessage anymore, but receiving the message.
I can't see how postMessage could be tested, since given the new setup, no one should have access to it anymore.

This is functionally now very similar to another test I wrote recently, but I think it is fine to keep this too.

Differential Revision: https://phabricator.services.mozilla.com/D109539
2021-04-08 21:15:02 +00:00
Markus Stange d7174dbb18 Bug 1703927 - Never update nsView visibility for menupopups that are shown as non-native menus. r=tnikkel
Now that nsMenuPopupFrame considers itself open while the native menu is shown,
it may try to open its non-native widget if layout happens to run while the
native menu is shown.
This check prevents that.

Differential Revision: https://phabricator.services.mozilla.com/D111326
2021-04-08 20:59:43 +00:00
Marco Bonardo c19d1c90dd Bug 1703383 - Update browser_ext_themes_autocomplete_popup.js for proton urlbar. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D111265
2021-04-08 20:58:59 +00:00
Steve Fink be4388946e Bug 1702310 - Add --gecko-profile-features and similar options to `mach try fuzzy` and `mach raptor` etc. to make it easier to generate marker-only profiles, configure threads and sampling interval, etc. r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D110451
2021-04-08 20:41:34 +00:00
Mike Conley d772f64a42 Bug 1702289 - Update some icons used in the URL bar. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D110849
2021-04-08 20:34:04 +00:00
Gijs Kruitbosch ff36c1a84e Bug 1703716 - Revert backout of 44916257e305 since it was backed out twice.
CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D111202
2021-04-09 00:29:43 +03:00
Alexandru Michis c4b2eb6394 Backed out changeset 44916257e305 (bug 1703716) for causing reftest failures in menulist-shrinkwrap-2.xhtml
CLOSED TREE
2021-04-09 00:10:23 +03:00
Alexandru Michis 678bd611d2 Backed out changeset 44916257e305 (bug 1703716) for causing accessible failures in test_visibility.xhtml
CLOSED TREE
2021-04-08 23:56:22 +03:00
Filipa Rocha a996b86cb7 Bug 1703131 Replaced BrowserTestUtils.waitForCondition. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D111180
2021-04-08 20:23:27 +00:00
Marco Bonardo d4ca45c776 Bug 1703391 - Fix browser_UITour4.js for proton urlbar. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D111184
2021-04-08 20:22:10 +00:00
Marco Bonardo 70c11d7795 Bug 1703835 - Skip uitour/test/browser_showMenu.js for proton urlbar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D111281
2021-04-08 20:22:10 +00:00
Leslie Orellana 85649427ab Bug 1702451 - Replace BrowserTestUtils.waitForCondition with TestUtils.waitForCondition. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D111171
2021-04-08 20:21:55 +00:00
Sarah Ukoha 98ea52a477 Bug 1703813 - Replaced BrowserTestUtils.waitForCondition with TestUtils.waitForCondition in browser_policy_extensions.js. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D111263
2021-04-08 20:17:51 +00:00
Mike Conley efe5cc9385 Bug 1703651 - Proton toolbar icons should have no fill opacity by default. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D111176
2021-04-08 20:09:06 +00:00
Alexandru Michis 772dc881d6 Backed out changeset 7b35e3017b76 (bug 1703383) for causing bc failures in browser_ext_themes_autocomplete_popup.js
CLOSED TREE
2021-04-08 23:27:24 +03:00
Luz De La Rosa 9deb85ab75 Bug 1703626 - Replace BrowserTestUtils.waitForCondition with TestUtils.waitForCondition in browser_ext_openPanel.js. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D111284
2021-04-08 19:55:15 +00:00
alwu 1f84d7f77f Bug 1703444 - part2 : add more debug log. r=jbauman
Differential Revision: https://phabricator.services.mozilla.com/D111301
2021-04-08 19:44:50 +00:00
alwu 38a3d53a58 Bug 1703444 - part1 : comment block should be preceded by a blank line. r=jbauman
Differential Revision: https://phabricator.services.mozilla.com/D111300
2021-04-08 19:44:49 +00:00
Itiel f10bf5a49a Bug 1703571 - Set border-radius for in-content links r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D111112
2021-04-08 19:41:43 +00:00
Itiel e40f1bc7a8 Bug 1703625 - Fix the Profiler popup menulist styles for Proton r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D111297
2021-04-08 19:41:22 +00:00
Harry Twyford 92452c82b5 Bug 1703892 - Stop halving alpha in the dark selection color. r=mac-reviewers,bradwerth,mstange
Differential Revision: https://phabricator.services.mozilla.com/D111291
2021-04-08 19:21:07 +00:00
Sebastian Hengst 41cba1d446 Bug 1702830 - adjust expectations for websocket tests for intermittent failures. CLOSED TREE 2021-04-08 21:20:36 +02:00
Jeff Muizelaar baaf5a1521 Bug 1702189. Don't use -ffast-math on gcc. r=lsalzman
gcc doesn't support using -mrecip=none universally and it's a
pain to keep track of where it's supported so just avoid using
-ffast-math altogether.

Differential Revision: https://phabricator.services.mozilla.com/D111304
2021-04-08 19:19:05 +00:00
Drew Willcoxon de4cbcce3d Bug 1703388 - Fix failures in browser/modules/test/browser/browser_PageActions_contextMenus.js with proton urlbar. r=mak
This builds on D111205 by factoring out some initialization into a new
`initPageActionsTest()` in head.js. I'll need to use it in
browser_PageActions_newWindow.js too (bug 1703389).

Pre-Proton, there are 4 page action context menu items:

* Add to Address Bar
* Remove from Address Bar
* Manage Extension
* Remove Extension

Regardless of Proton, there are two context menus, one for buttons in the urlbar
and one for items in the page action panel. They're actually the same menu of
course.

This test currently checks each menu item in both context menus for a
non-built-in action except for the Remove Extension menu item. In Proton, we
don't need to check Add or Remove, so I modified the test to skip them. I also
added a check for the Remove Extension menu item. The test now must actually
create an extension with a page action to test the context menu because in
Proton only actions with extension IDs get the context menu (bug 1700364). Since
the test is creating an extension anyway, testing the Remove Extension menu item
isn't too hard.

Depends on D111205

Differential Revision: https://phabricator.services.mozilla.com/D111222
2021-04-08 19:07:27 +00:00
Drew Willcoxon 2226cdec68 Bug 1703387 - Fix failures in browser/modules/test/browser/browser_PageActions.js with proton urlbar. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D111205
2021-04-08 19:07:26 +00:00
Marco Bonardo fc747114b5 Bug 1703378 - Fix browser_ext_menus.js for proton urlbar. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D111271
2021-04-08 18:57:28 +00:00
Marco Bonardo ca4ee2e33c Bug 1703383 - Update browser_ext_themes_autocomplete_popup.js for proton urlbar. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D111265
2021-04-08 18:56:18 +00:00
Mike Conley b17ce018cd Bug 1702986 - Update defaultFavicon icon. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D110955
2021-04-08 18:52:32 +00:00
Lars T Hansen 4dcaa0f34d Bug 1695585 - Flip SIMD flag to true for x64/x86. r=rhunt
Flip javascript.options.wasm_simd to true for beta and release.

This patch leaves the flag as true on nightly and otherwise false, for arm64,
since arm64 code landing is imminent.  But in truth simd is not even compiled
in for arm64 at the moment.

Differential Revision: https://phabricator.services.mozilla.com/D111285
2021-04-08 18:50:02 +00:00
Mike Conley bb4404f5da Bug 1702837 - Update some of our permission icons, batch 1 r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D110873
2021-04-08 18:35:08 +00:00