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

752905 Коммитов

Автор SHA1 Сообщение Дата
Alexandru Michis 09b48c2afd Backed out changeset aab899c222a0 (bug 1702310) for causing talos failures. 2021-04-09 05:26:23 +03:00
Daisuke Akatsuka ade063249d Bug 1446828: Focus on urlbar upon middle clicking on home button. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D111208
2021-04-09 02:16:22 +00:00
Lee Salzman c3c9d1ce6b Bug 1694721 - Don't do a debug render if there is no debug overlay. r=gw
When toggling debug state, we can sometimes queue debug renders, without
any debug overlay to send them to. This patch ensures we don't actually
draw anything in the debug renderer when there is no debug overlay.

Differential Revision: https://phabricator.services.mozilla.com/D111355
2021-04-09 01:53:34 +00:00
Drew Willcoxon 039abf1efa Bug 1703389 - Fix failures in browser/modules/test/browser/browser_PageActions_newWindow.js with proton urlbar. r=mak
Depends on D111222

Differential Revision: https://phabricator.services.mozilla.com/D111330
2021-04-09 01:27:41 +00:00
Gijs Kruitbosch 79ad8f7e81 Bug 1703716 - Enable Proton panels. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D111202
2021-04-09 00:33:05 +00:00
Andrew Osmond 6094f4d097 Bug 1703839 - Defer OOM crashing for mapping in shared surfaces to frame rendering. r=jrmuizel
If we fail to map in a shared surface that we support unmapping for,
don't OOM crash immediately if this is the first time we are mapping it.
This is because we probably freed up a bunch of virtual memory already
purging the expiration tracker, but on Windows, this may take some time
before the virtual address space is available for reuse. Since there
will be some time gap between the mapping and the frame rendering, this
may be sufficient time to recover in some cases, avoiding a GPU process
OOM crash.

This should only affect 32-bit users, since we never unmap on 64-bit
builds.

Differential Revision: https://phabricator.services.mozilla.com/D111270
2021-04-09 00:27:54 +00:00
sotaro ef4b27093a Bug 1702953 - Stop RenderBackend's task from WebRenderAPI::DestroyRenderer() r=gfx-reviewers,kvark
WebRenderAPI::DestroyRenderer() destroys RendererOGL and WebRender's Renderer instance. After RendererOGL is destroyed, RenderBackend could not sent message to WebRender's Renderer via RenderBackend::result_tx.

Message sending by RenderBackend::result_tx needs to be stopped after destroying WebRender's Renderer instance.

After wr_api_stop_render_backend() call, RemoveRenderer have to be called via wr_api_send_external_event(). It actually destroys the renderer. Its message arrives when WR backend is in RenderBackendStatus::StopRenderBackend state. At the time, WR backend is stopped sending message to renderer.

Differential Revision: https://phabricator.services.mozilla.com/D110795
2021-04-09 00:23:39 +00:00
Alexandru Michis b40e464292 Backed out 5 changesets (bug 1702330) for causing failures in browser_aboutNewTab_defaultBrowserNotification.js
CLOSED TREE

Backed out changeset 365fd1bb6dde (bug 1702330)
Backed out changeset eba73c72be18 (bug 1702330)
Backed out changeset e1277c21543f (bug 1702330)
Backed out changeset 907e4fcda266 (bug 1702330)
Backed out changeset eb2a8569ed02 (bug 1702330)
2021-04-09 03:34:23 +03:00
Alexandru Michis 1d33d2e604 Backed out changeset fc811f9689e0 (bug 1703740) for causing sm failures in property-escapes/generated
CLOSED TREE
2021-04-09 03:33:33 +03:00
Kagami Sascha Rosylight a80acd6199 Bug 1697093 - Expose ongamepad[dis]connected IDL attributes r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D108528
2021-04-08 23:25:42 +00:00
Andrew McCreight 6ad26cb8a3 Bug 1703083 - Don't run maybeShowOtherBookmarksFolder if doc has gone away. r=kmag
This can also touch the doc, so we don't want to run it if the
doc has been unlinked.

Differential Revision: https://phabricator.services.mozilla.com/D111332
2021-04-08 23:21:43 +00:00
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