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

803038 Коммитов

Автор SHA1 Сообщение Дата
Dan Robertson 6d3555163e Bug 1782274 - mots: add hiro and dlrobertson to APZ peers. r=zeid
Differential Revision: https://phabricator.services.mozilla.com/D153234
2022-07-29 19:13:57 +00:00
Nick Alexander f1be36e2ca Bug 1781984 - Collect os.environment.{invoked_to_handle,is_default_handler,launched_to_handle} forever. r=bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D153224
2022-07-29 19:09:56 +00:00
Luke Swiderski af5850efb7 Bug 1696157 - Fix unexpected opening of breakpoints panel r=jdescottes
Previously when closing the breakpoints panel in secondary panes,
if an unselected call stack frame was selected, the breakpoints
panel would unexpectedly open.  This patch makes sure it remains
closed when a user has closed it and then clicks other elements
in the secondary panes.  The same issue was happening when
clicking the event listener breakpoint log checkbox, and or step
in, step out, and step over.  This patch should also fix
Bug 1755337.

Add mochitest.
Fix mochitest issues and move isFrameSelected to shared-head.js
Fix linting issues.
Merge new mochitests into browser_dbg-state-based-panels.js
Add condition to SecondaryPanes/index.js
Add PropTypes to index.js
Add logic to reducers/pause.js
Add selector to selectors/pause.js
Add breakpointsPane action to pause/actions
Update mochitests to test for edge case
Remove dbg_browser-breakpoints-secondary-pane.js
Fix linting
Make changes suggest by reviewer
Add additional mochitest for event breakoints log
Remove unnecessary parameters from action
Fix mozbuild order
Remove previewPausedLocation.js from mozbuild to fix conflict

Differential Revision: https://phabricator.services.mozilla.com/D149994
2022-07-29 19:00:06 +00:00
Dão Gottwald c94ab98464 Bug 1780406 - [Colorway Closet] Enable in Nightly. r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D153233
2022-07-29 18:51:32 +00:00
Bob Owen edb40ba976 Bug 1682520 p2: Register the WER Runtime Exception Module very early in process start up. r=gsvelto,glandium
Depends on D152198

Differential Revision: https://phabricator.services.mozilla.com/D152199
2022-07-29 18:10:54 +00:00
Bob Owen cf59d0973b Bug 1682520 p1: Move GeckoProcessType and implementation of get and set into separate files. r=glandium
This means we can include these files in other binaries when we need earlier
access to the process type and use consistent code.

Differential Revision: https://phabricator.services.mozilla.com/D152198
2022-07-29 18:10:53 +00:00
stransky 43cd54a683 Bug 1782049 [Linux] Update nsWindow compositor configuration r=emilio
- Don't delete layer manager when nsWindow is unrealized but leave that to Destroy() when it's actually deleted.
  Only disable rendering in ReleaseGdkWindow().
- Create msWindow with enabled composition
- Use single nsWindow::ConfigureCompositor() routine to configure compositor and use it from
  ConfigureGdkWindow() and SetCompositorWidgetDelegate().

Depends on D153206

Differential Revision: https://phabricator.services.mozilla.com/D153207
2022-07-29 16:32:48 +00:00
stransky 1d37f8759d Bug 1782049 [Wayland] Print wayland mozcontainer logs as widget one r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D153206
2022-07-29 16:32:47 +00:00
stransky a1cb667044 Bug 1782006 [Wayland] Check if widget is live at WindowSurfaceProvider::EndRemoteDrawingInRegion() r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D153209
2022-07-29 16:29:59 +00:00
Butkovits Atila 09b6bee447 Backed out 2 changesets (bug 1742842) for causing failures complaining about vsync. CLOSED TREE
Backed out changeset 82364f4b3520 (bug 1742842)
Backed out changeset b94a13888214 (bug 1742842)
2022-07-29 19:09:13 +03:00
Florian Quèze 2dcecd3dc8 Bug 1742842 - Workaround known issues in tests that currently keep vsync enabled forever, r=mconley.
Depends on D132055

Differential Revision: https://phabricator.services.mozilla.com/D153204
2022-07-29 15:31:19 +00:00
Florian Quèze 69a9721934 Bug 1742842 - Ensure that vsync is disabled after each browser-chrome mochitest, r=mconley.
Differential Revision: https://phabricator.services.mozilla.com/D132055
2022-07-29 15:31:19 +00:00
Adam Vandolder 20df8296d1 Bug 1422260 - Prevent default value of output element from being truncated after reset. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D153127
2022-07-29 15:11:57 +00:00
Edgar Chen 195299747d Bug 1782122 - Get rid of nsIDroppedLinkHandler.dropLink; r=NeilDeakin
No one use it after bug 92737.

Differential Revision: https://phabricator.services.mozilla.com/D153205
2022-07-29 15:10:00 +00:00
Sam Foster b6d4cd35e9 Bug 1779328 - Use currentColor for favicons which support context-fill. r=sclements
Differential Revision: https://phabricator.services.mozilla.com/D153129
2022-07-29 15:05:54 +00:00
Andrew Osmond 2ae0134b4c Bug 1780193 - Refactor gfxFontCache expiration behaviour to mitigate perf reductions. r=jfkthame
In this patch, we make gfxFont use normal AddRef/Release semantics, and
instead now hold a strong reference to it inside the cache. At all times
a font should be in the expiration tracker, and whenever a lookup is
performed, we mark it as used.

When the tracker attempts to expire an entry, we check to see if the
only strong reference is inside the cache itself. If so, it is deleted.
If not, we mark it as used again instead of expiring it.

This has the advantage of making gfxFont::Release cheaper when there is
only one outstanding reference left outside the cache. It used to
acquire the gfxFontCache mutex in order to reinsert the font into the
expiration tracker when the last strong reference was cleared. This is a
very common case since the typical use case is only the main thread is
interacting with the cache, one font reference at a time.

This does not completely restore us to the previous performance
observed, but it does reclaim half of the original design benefit while
remaining threadsafe.

Differential Revision: https://phabricator.services.mozilla.com/D153110
2022-07-29 14:48:38 +00:00
Manuel Bucher c8aca9b1fa Bug 1775764 - Fix intermittent by using the relaxed request count r=necko-reviewers,dragana
Reported with `./mach test-info failure-report --bug 1775764`:

```
07:31:33     INFO - TEST-UNEXPECTED-FAIL | netwerk/test/browser/browser_103_preload.js | test_103_anchor: Unexpected amount of requests made - {"hinted":1,"normal":1} deepEqual {"hinted":1,"normal":0} - JS frame :: chrome://mochitests/content/browser/netwerk/test/browser/browser_103_preload.js :: test_103_anchor :: line 262
  macosx1015-64-qr/opt-mochitest-browser-chrome-spi-nw-spi-nw: 1
  windows10-64-2004-shippable-qr/opt-mochitest-browser-chrome: 2
  windows10-64-2004-qr/opt-mochitest-browser-chrome-spi-nw-spi-nw: 1
  windows10-64-2004-shippable-qr/opt-mochitest-browser-chrome-spi-nw-spi-nw: 6
  linux1804-64-qr/debug-mochitest-browser-chrome-spi-nw-spi-nw: 1
  windows7-32-qr/opt-mochitest-browser-chrome: 1
  linux1804-64-qr/debug-mochitest-browser-chrome-swr-swr: 1
  windows10-64-2004-qr/opt-mochitest-browser-chrome: 1
```

Differential Revision: https://phabricator.services.mozilla.com/D153165
2022-07-29 14:34:45 +00:00
Nicolas Chevobbe 9a96297e35 Bug 1781726 - [devtools] Pass an `isModeSwitching` property to `onTargetDestroyed` callback param when switching modes. r=jdescottes,devtools-backward-compat-reviewers.
We pass `isModeSwitching` to `unwatchTargets` from the target command when the
pref is changed.
On the server, we then pass it to the various places which might call `notifyTargetDestroyed`,
so we can pass the flag in the `target-destroyed-form` event, which we can then
pass to TargetCommand#onDestroyed callbacks.`

Differential Revision: https://phabricator.services.mozilla.com/D152758
2022-07-29 14:30:07 +00:00
Emilio Cobos Álvarez 9c927cafd9 Bug 1781284 - Make MediaPacket movable, and make copies explicit. r=bwc
This will be useful for bug 1775062, but also should avoid some copies.

Differential Revision: https://phabricator.services.mozilla.com/D152787
2022-07-29 14:08:59 +00:00
Shelly Lin 303dfb188c Bug 1577383 - Implement async iterable declaration in WebIDL. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D142527
2022-07-29 14:06:31 +00:00
Butkovits Atila 9737f1fdf2 Backed out changeset 698658fc606b (bug 1774397) for causing multiple mochitest failures. CLOSED TREE 2022-07-29 17:19:40 +03:00
Andreea Pavel 8e59a7d48d Bug 1705410 - disable test_drawWindow_widget_layers.html on linux r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D153210
2022-07-29 14:00:34 +00:00
Nicolas Chevobbe dd4613555c Bug 1779173 - [devtools] Fix call to isMinified in Debugger to prevent performance issue when opening big single-line file. r=jdescottes.
Changes in Bug 1754407 caused a performance regression as it now triggered
syntax highlighting of big files, which we avoided before.
This is because we don't call `isMinified` with the expected type of data, causing
the file to not be seen as minified, and thus highlighting it.

Differential Revision: https://phabricator.services.mozilla.com/D153140
2022-07-29 13:52:50 +00:00
Christian Holler caf94dc5d4 Bug 1780741 - Add init checks to ExternalHelperAppParent. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D152633
2022-07-29 13:47:22 +00:00
Benjamin VanderSloot c737ca4ccc Bug 1781818 - Allow unpartitioning of SessionStorage, r=timhuang
This is controlled by a preference so we can disable it for experimentation later.

Differential Revision: https://phabricator.services.mozilla.com/D152893
2022-07-29 13:44:28 +00:00
Christian Holler ac4d655d24 Bug 1781243 - Avoid DOM thaw/freeze diagnostic asserts in fuzzing. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D152752
2022-07-29 13:43:25 +00:00
Niklas Baumgardner 7725b67743 Bug 1774397 - Add notification dot to Firefox View button. r=Gijs,sfoster,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D151401
2022-07-29 12:56:45 +00:00
Emilio Cobos Álvarez e847b456c5 Bug 1781747 - Don't use shadow class for non-menupopup popup windows. r=Jamie,handyman
These don't get styles early enough to make a shadow decision before Show().
This also matches the previous behavior (nothing would set
nsWidgetInitData::mDropShadow for these windows), so this is the less risky
fix.

It seems somewhat sketchy to use a popup window for these to begin with (Linux
for example maps them to a toplevel Window, at least on Wayland...), but let's
not change too much right now.

The hbrBackground change is a no-op because we can't have a brush before
Create() is called, we update it in SetBackgroundColor().

Differential Revision: https://phabricator.services.mozilla.com/D153095
2022-07-29 12:47:48 +00:00
Gregory Mierzwinski 09044ce53f Bug 1780763 - Add ability to skip tests to Talos. r=perftest-reviewers,kshampur
This patch adds the ability to skip tests to Talos. This lets us prevent tests from running depending on which branch we are on. It also adds some code that will skip tests on the pine branch.

Differential Revision: https://phabricator.services.mozilla.com/D152513
2022-07-29 11:16:52 +00:00
Hannah Peuckmann 06b01d3155 Bug 1778090 - Catch errors of content principal creation, skip invalid hosts. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D151628
2022-07-29 11:12:28 +00:00
Florian Queze 5ff0428973 Bug 1782096 - Add profiler markers for window messages sent to WindowProc, r=gerald.
Differential Revision: https://phabricator.services.mozilla.com/D153101
2022-07-29 10:55:42 +00:00
Butkovits Atila 900cbd85bd Backed out 2 changesets (bug 1776609) for causing gtest failures. CLOSED TREE
Backed out changeset 7630fea97777 (bug 1776609)
Backed out changeset 426cbe0fac73 (bug 1776609)
2022-07-29 13:42:33 +03:00
Emilio Cobos Álvarez 6177804447 Bug 1782185 - Fix a typo introduced in bug 1765083. r=Gijs
I confirmed it's the only one, whoops.

Differential Revision: https://phabricator.services.mozilla.com/D153152
2022-07-29 09:52:38 +00:00
André Bargull 440ca8257a Bug 1782190: Remove no longer used eslint definitions for js-shell module loader. r=jonco
The shell module loader was rewritten to C++ in bug 1637529.

"jsrtfuzzing-example.js" was changed to appease prettier, now that it's enabled.

Differential Revision: https://phabricator.services.mozilla.com/D153151
2022-07-29 09:44:27 +00:00
Butkovits Atila 882b34a92f Merge mozilla-central to autoland. CLOSED TREE 2022-07-29 12:39:57 +03:00
Daisuke Akatsuka 116af17513 Bug 1776609: Record source and triggeringPlaceId for sponsored item on urlbar. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D151572
2022-07-29 09:24:28 +00:00
Daisuke Akatsuka 7c02dae76f Bug 1776609: Record source and triggeringPlaceId for sponsored tile on newtab. r=mak,geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D150729
2022-07-29 09:24:28 +00:00
Emilio Cobos Álvarez d23c50ffee Bug 1782082 - Avoid rounding error accumulation in nsDOMWindowUtils::ToScreenRectInCSSUnits. r=dholbert
Make sure to use the same scale the browser-chrome would actually use by
rounding to full app units.

This is especially visible with 1.5 text scale factor.

Differential Revision: https://phabricator.services.mozilla.com/D153099
2022-07-29 09:04:43 +00:00
Mark Banner b598671f33 Bug 1782055 - Ignore chrome and resource URIs for ESLint's import/no-unresolved rule. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D153086
2022-07-29 08:10:05 +00:00
Jan de Mooij bbd9f0ee44 Bug 1782095 part 4 - Remove freeLists argument from refillFreeListAndAllocate. r=jonco
Depends on D153145

Differential Revision: https://phabricator.services.mozilla.com/D153146
2022-07-29 08:03:19 +00:00
Jan de Mooij cfb330413f Bug 1782095 part 3 - Remove JSContext::tenuredAllocsSinceMinorGC_. r=jonco
It's now simpler to use the counter on the zone directly. It also no longer needs
to be an atomic because we only get/set it on the main thread.

Differential Revision: https://phabricator.services.mozilla.com/D153145
2022-07-29 08:03:18 +00:00
Jan de Mooij 2b91483487 Bug 1782095 part 2 - Remove JSContext::freeLists_. r=jonco
We needed this to support off-thread atom allocation, but we no longer do that
since Stencil.

Depends on D153143

Differential Revision: https://phabricator.services.mozilla.com/D153144
2022-07-29 08:03:18 +00:00
Jan de Mooij 1e6378bece Bug 1782095 part 1 - Remove unused isAtomsZone argument from JSContext::setZone. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D153143
2022-07-29 08:03:17 +00:00
Butkovits Atila 29a5313686 Backed out changeset 220e0dfd7bdc (bug 1776863) for causing failures at browser_aboutwelcome_multistage_mr.js on central. CLOSED TREE 2022-07-29 10:55:14 +03:00
Butkovits Atila 9729661cda Merge autoland to mozilla-central. a=merge 2022-07-29 12:31:41 +03:00
Butkovits Atila 091ebc642e Backed out changeset 220e0dfd7bdc (bug 1776863) for causing failures at browser_aboutwelcome_multistage_mr.js on central. CLOSED TREE 2022-07-29 10:55:14 +03:00
Nicolas Chevobbe 14ad2fbb20 Bug 1781269 - [devtools] Don't try to unwatch resource in stopWatchingNetworkResources when Console is closing. r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D152889
2022-07-29 07:13:39 +00:00
Mozilla Releng Treescript d7a9009c1c no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
de -> fd64990b63d5ff5240cf6430abb805c0626072d4
nb-NO -> 9c058e008b1c194f7895233ce1bd5332475262b8
pt-BR -> 47675bd8fc5d53a6f1118d6f5f71db8ea3de30de
tg -> ed6760f6adf4d40ebf745b47e3b3b9f9901e2426
uk -> 8843d79ea9dfc2fd00c39ff67850792083f4cd65
2022-07-29 07:00:34 +00:00
Matthew Gregan 084fc3c965 Bug 1782147 - Update AudioIPC v1 branch to fb7a2b12. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D153126
2022-07-29 05:36:23 +00:00
Julian Descottes df78346aa4 Bug 1782077 - [devtools] Restore CSS specificity for Edit And Resend headers r=nchevobbe
The flex-wrap rule no longer had higher specificity than
    .network-monitor .tabpanel-summary-container {
        flex-wrap: wrap;
        padding-inline-start: 4px;
        margin-bottom: 5px;
    }

Which broke the layout.
https://searchfox.org/mozilla-central/rev/2bbb0c0a90df20702df8c8011a8996536a83cb75/devtools/client/netmonitor/src/assets/styles/HeadersPanel.css#166

I am adding a ".network-monitor" to selectors for which I started using a class instead of an ID.

Differential Revision: https://phabricator.services.mozilla.com/D153097
2022-07-29 05:36:22 +00:00