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

802727 Коммитов

Автор SHA1 Сообщение Дата
Kershaw Chang fb786a3c1b Bug 1778460 - Disable mode 2.5 on Nightly, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D151236
2022-07-26 16:03:18 +00:00
kriswright 307c0abc9e Bug 1780058 - Turn off tab unloading on Linux. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D152433
2022-07-26 15:38:49 +00:00
Punam Dahiya 274a8b6ee6 Bug 1774071 - Existing User MR 2022 onboarding Screens r=mviar
Differential Revision: https://phabricator.services.mozilla.com/D152221
2022-07-26 15:35:04 +00:00
Emilio Cobos Álvarez d3bd8e444d Bug 1781268 - Clean up ResizeObserver error handling. r=Oriol
unobserve() never throws. observe() only threw on a case which should
never be reached (an already unlinked observer). We can assert and
return instead.

Differential Revision: https://phabricator.services.mozilla.com/D152769
2022-07-26 15:30:19 +00:00
Yoshi Cheng-Hao Huang 28c0adc46e Bug 1773997 - Part 4: wpt for injecting a <base> element for import-maps. r=jonco,yulia
This test introduces two new functions to test the base url functionality. In
addition, we have a new helper function: testInIframeInjectBase, which injects
a base url before the content with the import map is parsed.

The two tests test the following:
1. Static import coming after the import map and injected base element
2. Dynamic import coming after the import map and injected base element

Differential Revision: https://phabricator.services.mozilla.com/D150719
2022-07-26 15:16:12 +00:00
Yoshi Cheng-Hao Huang bfce4cb5f1 Bug 1773997 - Part 3: wpt with <base> for import-maps. r=jonco,yulia
With <base> element changes the base URL to "./resources/", the baseURL
of the import map should be updated as well.
The url "log.js" in the import map will be resolved to "./resources/log.js".

Differential Revision: https://phabricator.services.mozilla.com/D150718
2022-07-26 15:16:11 +00:00
Yoshi Cheng-Hao Huang 52674c2cc6 Bug 1773997 - Part 2: Use absolute path when calling static_import.py r=jonco,yulia
When using with <base> element, relative paths will also be changed.
So updating the path when calling static_import.py.

Differential Revision: https://phabricator.services.mozilla.com/D150717
2022-07-26 15:16:11 +00:00
Yoshi Cheng-Hao Huang 5b8ab13bd8 Bug 1773997 - Part 1: Add mochitests for loading import maps with <base> element. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D149155
2022-07-26 15:16:09 +00:00
Mark Banner 12ee099a88 Bug 1780347 - Switch from using importESModule to standard imports for XPCOMUtils in converted system modules. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D152253
2022-07-26 15:11:31 +00:00
Mark Banner cb83826195 Bug 1780017 - Load Urlbar providers via importESModule. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D152058
2022-07-26 15:11:30 +00:00
Mark Banner 8a275d4d92 Bug 1780017 - Migrate urlbar consumers to use ESM imports directly. r=adw,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152057
2022-07-26 15:11:30 +00:00
Mark Banner 3c1831d6fb Bug 1780017 - Migrate browser/components/urlbar to ESM. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D152056
2022-07-26 15:11:29 +00:00
Mark Banner e29d1aff71 Bug 1780017 - Remove undefined export from UrlbarPrefs.jsm. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D152055
2022-07-26 15:11:29 +00:00
Emilio Cobos Álvarez 8c0e9c2e38 Bug 1781034 - Add a shortcut to open the browser toolbox to the layout debugger. r=layout-reviewers,devtools-reviewers,nchevobbe,dshin
Depends on D152628

Differential Revision: https://phabricator.services.mozilla.com/D152629
2022-07-26 15:06:30 +00:00
Emilio Cobos Álvarez eef7f0ff16 Bug 1781034 - Remove layout debugger's visual debugging. r=layout-reviewers,dshin
Differential Revision: https://phabricator.services.mozilla.com/D152628
2022-07-26 15:06:30 +00:00
Julian Descottes 17d27fac52 Bug 1732123 - [devtools] Restart the nodepicker on webextension target navigation r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D126881
2022-07-26 15:05:13 +00:00
Julian Descottes 1322be9285 Bug 1767792 - [devtools] Ignore errors in Firefox data provider if clear was called mid-flight r=nchevobbe
depends on D152726

https://searchfox.org/mozilla-central/rev/d5edb4a4538657b7d691a41c00e6796a19ade6e7/devtools/client/netmonitor/src/har/test/browser_net_har_copy_all_as_har.js#79-104.

This method will perform 2 reloads immediately. This means that one of the requests will immediately cleared by the next navigation and if there was a pending call to FirefoxDataProvider.requestData, it will throw because the actor was already destroyed on the server.

Differential Revision: https://phabricator.services.mozilla.com/D152727
2022-07-26 15:03:02 +00:00
Julian Descottes 6173cfaf92 Bug 1777457 - [devtools] Update netmonitor test helpers when resources are cleared r=nchevobbe
There are potentially several sources for the recent netmonitor intermittent failures.
One of them is that we have several helpers to "wait" for requests, and they have a logic so that when they spot a request, they will wait for the request to be
completed.
However if a navigation occurs in the middle, the corresponding resource will be cleared and the updates will not be processed.
So here we emit a test-only event when the netmonitor attempts to clear resources, so that test helpers can update accordingly.

Differential Revision: https://phabricator.services.mozilla.com/D152726
2022-07-26 15:03:02 +00:00
stransky dc2ab68604 Bug 1777664 [Linux] Remove redundant logging from GtkCompositorWidget r=emilio
Depends on D152731

Differential Revision: https://phabricator.services.mozilla.com/D152732
2022-07-26 14:56:50 +00:00
stransky 1fb2b9ac47 Bug 1777664 [Wayland] Assert when ShowWaylandToplevelWindow() is called on popup r=emilio
Depends on D152730

Differential Revision: https://phabricator.services.mozilla.com/D152731
2022-07-26 14:56:50 +00:00
stransky 8e94daf065 Bug 1777664 [Wayland] Remove print of this from logging r=emilio
Depends on D152694

Differential Revision: https://phabricator.services.mozilla.com/D152730
2022-07-26 14:56:49 +00:00
stransky c3b309f091 Bug 1777664 [Linux] Destory layer manager at nsWindow::ReleaseGdkWindow() r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D152694
2022-07-26 14:56:49 +00:00
stransky 0b66ba74de Bug 1777664 [Wayland] Handle mCompositorWidgetDelegate changes in nsWindow r=emilio
When mCompositorWidgetDelegate is changed we need to recreate compositor and Wayland vsync. In this patch we do:

- Make mCompositorWidgetDelegate hard requirement for Wayland vsync source to avoid hidden failure.
- Stop Wayland vsync source at nsWindow::SetCompositorWidgetDelegate() when we're going to release or change mCompositorWidgetDelegate.
- Start Wayland vsync source at nsWindow::SetCompositorWidgetDelegate() when there's a new mCompositorWidgetDelegate to make sure vsync uses
  recent one.
- Set new window config (XWindow, shape, widget) and resume compositor at nsWindow::SetCompositorWidgetDelegate() when new mCompositorWidgetDelegate is assigned to widget.
- As it's possible that mCompositorWidgetDelegate is missing in nsWindow::ConfigureGdkWindow() use moz_container_wayland_add_initial_draw_callback() to call mCompositorWidgetDelegate->EnableRendering() & WaylandStartVsync(). That ensures we won't silently fail to set up nsWindow for rendering.

Differential Revision: https://phabricator.services.mozilla.com/D152693
2022-07-26 14:56:49 +00:00
stransky f2bb8e9336 Bug 1777664 [Wayland] Add more logging to EGL window management r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D152692
2022-07-26 14:56:48 +00:00
stransky 809626ef79 Bug 1777664 [Wayland] Split ShowWaylandWindow() to ShowWaylandPopupWindow()/ShowWaylandToplevelWindow() and enable/disable VSync for visible/hidden toplevel windows r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D152691
2022-07-26 14:56:48 +00:00
stransky b836ad16f3 Bug 1777664 [Wayland] Remove EnableRenderingToWindow()/DisableRenderingToWindow/()/ResumeCompositorHiddenWindow() r=emilio
Enable composition only once when nsWindow is created and don't stop compositon until a window is destroyed.
Remove COMPOSITOR_PAUSED_MISSING_WINDOW as we don't manage compositing for hidden windows any more.

Differential Revision: https://phabricator.services.mozilla.com/D152690
2022-07-26 14:56:48 +00:00
stransky 99644f391c Bug 1777664 [Wayland] Don't pause compositor when nsWindow is hidden r=emilio
We should not pause compositor as compositing is driven by refresh driver and compositor pause leads to browser freeze.

Differential Revision: https://phabricator.services.mozilla.com/D152689
2022-07-26 14:56:47 +00:00
stransky bba1a89638 Bug 1777664 [Linux] Create nsWindow with initially paused compositor as we don't have valid GdkWindow/XWindow yet r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D152688
2022-07-26 14:56:47 +00:00
stransky 6164864dbc Bug 1777664 [Linux] Don't pause/resume compositor by nsWindow::SetCompositorWidgetDelegate() r=emilio
nsWindow::SetCompositorWidgetDelegate() should not control compositor state as nsWindow::SetCompositorWidgetDelegate() itself is called by nsBaseWidget::CreateCompositor()/nsBaseWidget::DestroyCompositor().

In this patch we remove compositor pause/resume from nsWindow::SetCompositorWidgetDelegate() and update only GdkWindow/XWindow stored in remote widget.

Differential Revision: https://phabricator.services.mozilla.com/D152687
2022-07-26 14:56:46 +00:00
stransky c2a7d21d6d Bug 1777664 [Linux] Replace CleanLayerManagerRecursive() with DestroyLayerManager() as they're the same r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D152686
2022-07-26 14:56:46 +00:00
Emilio Cobos Álvarez d98aff87e0 Bug 1781140 - Remove nsTimingFunction and ComputedTimingFunction. r=dshin
They're simple wrappers of StyleComputedTimingFunction so we can remove
them.

Differential Revision: https://phabricator.services.mozilla.com/D152700
2022-07-26 14:49:02 +00:00
Sebastian Hengst f4f23a92a8 Bug 1780776 - set service-workers/cache-storage/cross-partition.https.tentative.html as timing out in Beta and Release. r=timhuang DONTBUILD
Test got added in bug 1780776. dFPI has been enabled in bug 1776760. dFPI for
ServiceWorkers remains restricted to Nightly, see bug 1730885.

Differential Revision: https://phabricator.services.mozilla.com/D152526
2022-07-26 14:36:02 +00:00
Marian-Vasile Laza aa61e2020a Backed out 2 changesets (bug 1781034) for causing bustages on nsImageFrame.cpp. CLOSED TREE
Backed out changeset 6a7a9375987a (bug 1781034)
Backed out changeset 58728270361e (bug 1781034)
2022-07-26 17:45:06 +03:00
Marian-Vasile Laza 2ab97e789a Backed out 2 changesets (bug 1778492) for causing eslint failures.
Backed out changeset 6c3ac3569d31 (bug 1778492)
Backed out changeset 34227495753a (bug 1778492)
2022-07-26 17:43:53 +03:00
Rob Lemley b8b6d515df Bug 1762712 - Run "initial" taskgraph verifications after graph_config.register(). r=taskgraph-reviewers,ahal
The "initial" verifications import gecko_taskgraph.transforms.job.registry.
Doing so brings in gecko.transforms.task as a depdendency, which imports
gecko_taskgraph.optimize.schema.OptimizationSchema.

Thunderbird's call to gecko_taskgraph.optimize.schema.set_optimization_schema()
needs to happen before gecko.transforms.task is loaded so that Thunderbird-
specific optimizations are registered. That happens when graph_config.register()
is called, so to fix the situation, run the "initial" verifications after
calling graph_config.register().

Differential Revision: https://phabricator.services.mozilla.com/D152446
2022-07-26 14:18:48 +00:00
Emilio Cobos Álvarez 75b34d5fc7 Bug 1781034 - Add a shortcut to open the browser toolbox to the layout debugger. r=layout-reviewers,devtools-reviewers,nchevobbe,dshin
Depends on D152628

Differential Revision: https://phabricator.services.mozilla.com/D152629
2022-07-26 14:08:57 +00:00
Emilio Cobos Álvarez 81b3b99519 Bug 1781034 - Remove layout debugger's visual debugging. r=layout-reviewers,dshin
Differential Revision: https://phabricator.services.mozilla.com/D152628
2022-07-26 14:08:56 +00:00
Emilio Cobos Álvarez f0b9ca55d6 Bug 1781222 - Allow moving dom::Optional<>. r=edgar
This will be useful for bug 1775062.

Differential Revision: https://phabricator.services.mozilla.com/D152738
2022-07-26 14:08:17 +00:00
Emilio Cobos Álvarez ec58d0cfd5 Bug 1781127 - Enable linear() timing function on Nightly. r=dshin
This allows other developers and folks to test it more easily, while not
shipping it to the web just yet.

Differential Revision: https://phabricator.services.mozilla.com/D152684
2022-07-26 14:07:38 +00:00
Christian Holler 555e8f7574 Bug 1781044 - Disable some diagnostic asserts in widget for IPC fuzzing. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D152639
2022-07-26 14:06:24 +00:00
Sean Feng da2adeb013 Bug 1778492 - Move origin-trial mochitests to its own directory r=Standard8
This avoids adding the .eslintrc.js file to bypass
`no-undef` rule.

Differential Revision: https://phabricator.services.mozilla.com/D152563
2022-07-26 14:06:04 +00:00
Sean Feng 38f70ee5fc Bug 1778492 - Add an origin trial for coep: credentialless r=emilio,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D151381
2022-07-26 14:06:04 +00:00
Christian Holler 09aebb9f54 Bug 1781250 - Don't crash in RecvIsWindowSupportingProtectedMedia when fuzzing. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D152756
2022-07-26 14:03:08 +00:00
Jan-Erik Rediger 21fd159579 Bug 1779992 - mach subcommand to upgrade Glean across all files. r=chutten DONTBUILD
This only modifies the files and prints the steps to be done manually.

Differential Revision: https://phabricator.services.mozilla.com/D152627
2022-07-26 13:51:31 +00:00
Bogdan Szekely 55d622a34d Backed out changeset ffb9fa8567c4 (bug 1732123) for causing mochitest failures on browser_inspector_highlighter-07.js CLOSED TREE 2022-07-26 17:02:54 +03:00
Lee Salzman c78dca6613 Bug 1779681 - Mark WebGL framebuffer as initially valid in DrawTargetWebgl. r=aosmond,gfx-reviewers
mWebglValid gets initialized to false, but it will never get reset to true until the next
frame, causing us to render into Skia the first frame rather than accelerate. Therefor, we
should just initialize it to valid. Since it is cleared to zero initially, this is safe.

Differential Revision: https://phabricator.services.mozilla.com/D151896
2022-07-26 13:41:32 +00:00
Matthew Gaudet 2fa95f0dc6 Bug 1772012 - Add ShadowRealms to fuzz-flags.txt r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D152696
2022-07-26 13:38:47 +00:00
Meg Viar 71dc77d783 Bug 1779608 - Intermittent browser/components/newtab/test/browser/browser_aboutwelcome_multistage_mr.js | single tracking bug r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D152650
2022-07-26 13:17:16 +00:00
André Bargull 60cbb2459a Bug 1768648 - Part 2: Use LCompareAndBranch for Compare_RefOrNull. r=rhunt
Depends on D152631

Differential Revision: https://phabricator.services.mozilla.com/D152632
2022-07-26 12:58:20 +00:00
André Bargull 1b520e0210 Bug 1768648 - Part 1: Compare Compare_RefOrNull as pointers. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D152631
2022-07-26 12:58:19 +00:00