Commit Graph

824111 Commits

Author SHA1 Message Date
Ben Hearsum
1ddbce2898 Bug 1804894: Don't write postSigningData in MSIX builds r=nalexander
This is only done by the Return-to-AMO flow, which is not supported in MSIX anyways.

Also, disable the RTAMO test for MSIX builds while we're here.

Differential Revision: https://phabricator.services.mozilla.com/D164666
2022-12-15 14:30:09 +00:00
Ben Hearsum
5db0d0956a Bug 1712329: Add support for not running tests by msix variant r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D164665
2022-12-15 14:30:09 +00:00
Nazım Can Altınova
3319aecf8a Bug 1804399 - Do not check the profiling directory inside _is_extra_profiler_run and gracefully fail later r=perftest-reviewers,sparky
Previously we were checing if there is a profiling directory to decide that
it's an extra profiler run. But actually this is incorrect because it can still
be an extra profiler run with a failed output. So we skip checking that
directory while deciding if it's a profiler run, and add an additional check to
see if this step is failed.

Differential Revision: https://phabricator.services.mozilla.com/D164662
2022-12-15 14:17:40 +00:00
Nazım Can Altınova
a8e1407132 Bug 1804165 - Fail silently if profile is not found for symbolication r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D164661
2022-12-15 14:17:40 +00:00
Nazım Can Altınova
5beb5a27c4 Bug 1804403 - Catch the incomplete read exception during symbolication r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D164660
2022-12-15 14:17:40 +00:00
Nazım Can Altınova
f2b133ffa7 Bug 1804399 - Do not throw an error in case there isn't a captured profile r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D164659
2022-12-15 14:17:39 +00:00
Nazım Can Altınova
dacaa146bf Bug 1800887 - Silently return early on symbolication if it's an extra profiler run r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D164658
2022-12-15 14:17:39 +00:00
Oriol Brufau
3d4c8e30f3 Bug 1805894 - Lint container_rule.rs. r=emilio
Just using 'rustup run nightly rustfmt'.
No change in behavior.

Differential Revision: https://phabricator.services.mozilla.com/D164805
2022-12-15 14:13:31 +00:00
Paul Adenot
e9c8ca64ee Bug 1802349 - Document about:logging. r=firefox-source-docs-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D163012
2022-12-15 14:11:07 +00:00
Paul Adenot
ac6e2fd862 Bug 1800076 - Test about:logging. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D162014
2022-12-15 14:11:06 +00:00
Paul Adenot
dd75e63e38 Bug 1796554 - Make it explicit when there's no log file set. r=mossop,flod
Differential Revision: https://phabricator.services.mozilla.com/D161311
2022-12-15 14:11:06 +00:00
Paul Adenot
5c6b31cdd0 Bug 1797497 - Allow custom configuration of about:logging via URL parameter. r=mossop,flod
Differential Revision: https://phabricator.services.mozilla.com/D160379
2022-12-15 14:11:06 +00:00
Paul Adenot
2fb0e34b5c Bug 1797284 - Teach about:logging to start the Firefox Profiler, with the appropriate profiler preset for a particular logging preset. r=julienw,mossop,flod
This has some provision to continue working if the tab is closed or reloaded,
but it's not fool proof. Eventually we might want to move this to a service, but
it's already very useful as it is.

Differential Revision: https://phabricator.services.mozilla.com/D160213
2022-12-15 14:11:05 +00:00
Paul Adenot
be9e96b54b Bug 1796585 - Introduce logging presets for about:logging. r=mossop,flod
Differential Revision: https://phabricator.services.mozilla.com/D160212
2022-12-15 14:11:05 +00:00
Paul Adenot
b7545cdc40 Bug 1796554 - Make about:logging look a bit better, fix inconsistencies when clicking various buttons. r=desktop-theme-reviewers,mossop,flod,dao
It's now clear when there is no log modules enabled.

Differential Revision: https://phabricator.services.mozilla.com/D160210
2022-12-15 14:11:04 +00:00
Paul Adenot
8ffa6c942f Bug 1796152 - Reformat HTML to remove indent levels, remove extraneous </div>. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D162012
2022-12-15 14:11:04 +00:00
Paul Adenot
b722494b1d Bug 1796152 - Explain why sometimes some buttons are disabled in about:logging. r=fluent-reviewers,mossop
Differential Revision: https://phabricator.services.mozilla.com/D160209
2022-12-15 14:11:03 +00:00
Paul Adenot
0984cefce5 Bug 1805675 - Dump the JavaScript stack on innerHTML setting violation to ease debugging. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D164679
2022-12-15 14:10:45 +00:00
Paul Adenot
3f4ec16d28 Bug 1805675 - Add browser-harness.xhtml to the innerHTML allow-list. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D164678
2022-12-15 14:10:44 +00:00
Chris H-C
198e621c98 Bug 1805427 - Take advantage of new Cow<str> labels in Glean r=janerik
Depends on D164605

Differential Revision: https://phabricator.services.mozilla.com/D164606
2022-12-15 14:04:55 +00:00
Chris H-C
651a4ed90f Bug 1805427 - Turn on Glean's trim_data_to_registered_pings r=janerik
FOG gets to learn which app ids register which pings, allowing it to tell the
Glean SDK to trim all data not associated with those pings.

This will keep other app_ids' custom pings' events from growing without bound.

Alas, this does not come with tests as the trim behaviour is very internal to
the SDK. As such we'll have to rely on the SDK's tests.

Depends on D164604

Differential Revision: https://phabricator.services.mozilla.com/D164605
2022-12-15 14:04:54 +00:00
Chris H-C
37e15535e6 Bug 1805427 - Update Glean to 52.0.0, uuid to 1.0 r=glandium,janerik,webdriver-reviewers,supply-chain-reviewers
Depends on D164603

Differential Revision: https://phabricator.services.mozilla.com/D164604
2022-12-15 14:04:54 +00:00
Chris H-C
cea1cf11f5 Bug 1805427 - Update glean_parser to 6.4.0 r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D164603
2022-12-15 14:04:53 +00:00
ffxbld
1071f00713 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D164800
2022-12-15 14:04:48 +00:00
Stanca Serban
404b6563bb Backed out changeset 311eb6a3a3ed (bug 1779822) for coverage related failures. CLOSED TREE 2022-12-15 16:25:29 +02:00
Stanca Serban
18c1b9219f Backed out 2 changesets (bug 1805678) for causing mochitests failures in browser_history_recently_closed_middleclick.js. CLOSED TREE
Backed out changeset 110abf97facf (bug 1805678)
Backed out changeset 82e2726e9aec (bug 1805678)
2022-12-15 16:23:03 +02:00
Stanca Serban
e56872cc6e Backed out changeset 3bea0e8a2bc0 (bug 1805457) as requested by jonco. CLOSED TREE 2022-12-15 16:17:34 +02:00
andrej
3bebb4742f Bug 1779822 - Create new mozperftest later for Fenix and nightly startup bechmarks. r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D154126
2022-12-15 13:54:10 +00:00
Greg Mierzwinski
fa0bbf38d9 Bug 1784176 - Re-record instagram test. r=perftest-reviewers,afinder
Differential Revision: https://phabricator.services.mozilla.com/D164589
2022-12-15 13:24:40 +00:00
Gijs Kruitbosch
f3ffce7756 Bug 1805678 - clean up cruft in browserPlacesViews, r=mak
`.footer` is no longer used on extraClasses, so I got rid of that.

I simplified the `.entry` bits because they were unnecessarily
verbose. Honestly I think we may be able to remove the getter/setter
for `options` entirely, but I got bored of trying to modernize things...

PlacesPanelMenuView was introduced in bug 963095 and then replaced
as part of Photon (with PlacesPanelview) and then I removed the only
callsite (that was already behind a pref) in bug 1354117, so that was
just dead code, AFAICT, so I removed it.

Differential Revision: https://phabricator.services.mozilla.com/D164757
2022-12-15 13:11:19 +00:00
Gijs Kruitbosch
2bd18d2b90 Bug 1805678 - ensure bookmark menu button submenus don't reuse root/view element references, r=mak
Only the bookmarks menu button is doing this peculiar re-using of
options.

I tried various fixes: keeping the inheritance but replacing only the
rootElt/viewElt (and using Object.assign to clone the options so modifications
don't 'transmit' to the ancestor menus) but it was messy and net code increase
for a pretty crufty UI surface. I also wasn't sure if that would end up
negatively influencing (now or in the future) e.g. menus shown from the main
bookmarks toolbar view (which would show up as a 'parent' view for the menus
we open from there), and thought that reusing the options was likely to cause
further confusion in future as well, should we add more, uh, options, to them.

So in the end I stuck with Keeping It Simple - I just repeat the one-off
repeating entry class. I'm not even sure how needed this is - in particular,
I wonder why we don't need it for other submenus for 'real' bookmark folders!
But I didn't investigate this too much. If you're sure that we can get rid of
some more of it, happy to do that in a followup.

Note that the addition of _init() was not ultimmately needed to fix this bug
(I think), but it brought the initialization sequence and when we set
`_placesView` more in line with what we did before and what I already did for
`PlacesToolbar`, so that seemed like a good thing to avoid further/other issues.

Differential Revision: https://phabricator.services.mozilla.com/D164756
2022-12-15 13:11:18 +00:00
Cosmin Sabou
441a13eec1 Backed out changeset 337925bb04cf (bug 1801391) for causing fullscreen related wpt failures. CLOSED TREE 2022-12-15 14:31:57 +02:00
Alex Ionescu
3288f620ff Bug 1805143 - Remove output kwarg before calling side by side r=perftest-reviewers,sparky,afinder
Differential Revision: https://phabricator.services.mozilla.com/D164437
2022-12-15 12:18:04 +00:00
Andreas Pehrson
8abe456348 Bug 1804035 - Make runtests.py set up so it works with gst-launch-1.0. r=padenot,ahal
gst-launch-1.0 appears to be blocking while the pipeline is running, and this
is different from previous versions. This patch makes us spin up a separate
process for gst-launch before starting tests, and makes sure it is killed
as the mochitest runner shuts down.

Differential Revision: https://phabricator.services.mozilla.com/D163824
2022-12-15 11:12:50 +00:00
Stanca Serban
c2acdd43f8 Backed out changeset 06a17fd75d84 (bug 1586574) for causing wpt failures in ignored-properties-001.html. CLOSED TREE 2022-12-15 13:09:51 +02:00
William Durand
5f3f11820e Bug 1437171 - Add Web MIDI support in navigator.permissions.query(). r=webidl,smaug,pbz
Differential Revision: https://phabricator.services.mozilla.com/D164036
2022-12-15 10:24:17 +00:00
Edgar Chen
2e047ca037 Bug 1801391 - Avoid handling multiple widget fullscreen at the same time; r=smaug
We had some protection in https://searchfox.org/mozilla-central/rev/2fc2ccf960c2f7c419262ac7215715c5235948db/dom/base/nsGlobalWindowOuter.cpp#4259-4265,
but it isn't enough, it is still possible that fullscreen state get confused if
there are multiple request happens at a short time.

This patch tries to improve how we handle multiple request, we don't need to
track each request, but need to ensure widget matches with the latest fullscreen
state specified.

Differential Revision: https://phabricator.services.mozilla.com/D163311
2022-12-15 10:19:24 +00:00
Jon Coppeard
ba3b2937c4 Bug 1805442 - Enable parallel marking in TSAN tests r=jmaher
To help test parallel marking this patch enables it in some browser TSAN tests.
This change will be removed when it is enabled by default.

Differential Revision: https://phabricator.services.mozilla.com/D164579
2022-12-15 09:52:47 +00:00
Mike Hommey
266c958712 Bug 1804360 - Update goblin to 0.6.0. r=janerik,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D164009
2022-12-15 09:13:24 +00:00
Masayuki Nakano
2594ee7d9c Bug 1789574 - part 2: Make HTMLEditor preserve style of following text if deleting/replacing range starts around inline element boundary r=m_kato
Chrome preserves inline styles of first character in the deleting/replacing
if first visible thing is text.  Safari preserves inline style of the first
content of the range (i.e., styles of `<img>` etc is also respected).
For now, due to the market share and Safari's behavior is not obviously better
than Chrome, let's try to emulate the Chrome's behavior.  However, the rules are
complicated and probably depend on how it implements the deletion.  Therefore,
this patch makes Gecko only scan following text node if selection range starts
from end of a text node.

Depends on D164520

Differential Revision: https://phabricator.services.mozilla.com/D164521
2022-12-15 09:11:48 +00:00
Masayuki Nakano
4493e43e5d Bug 1789574 - part 1: Make HTMLEditor preserve order of inline style elements too r=m_kato
Currently, `HTMLEditor` preserves styled elements with the reversed order in
the loop.
https://searchfox.org/mozilla-central/rev/d7d5c89ee7bc70dec0fd846689ca030f94931393/editor/libeditor/HTMLEditSubActionHandler.cpp#8638-8658

I.e., if `<b><i></i></b>` is restored in the HTML styling mode, it will be
restored as `<i><b>...</b></i>`.  This blocks writing tests for bug 1789574.
Therefore, this should be fixed first.

(As I commented in the method, ideally we should store all inline elements and
restore all of them, but currently we don't need to do it.  It requires redesign
of the style cache, but it seems that we don't know web apps which is broken by
current behavior.  Therefore, I think that we should do it when we meet a
trouble with the behavior.)

Depends on D164519

Differential Revision: https://phabricator.services.mozilla.com/D164520
2022-12-15 09:11:47 +00:00
Masayuki Nakano
077fe4f24c Bug 1789574 - part 0: Add WPT to check which inline style should be preserved r=m_kato
This patch removes some traditional behavior check in the mochitest and
port it into expected results which match with the behavior of Chrome.

Almost all the new tests pass in Chrome, but some fails due to odd result in
Chrome. E.g., Chrome sometimes append `style` attribute with empty value.
Therefore, the expectations in this patch must be what Chrome developers
expected at implementing it.

Depends on D164004

Differential Revision: https://phabricator.services.mozilla.com/D164519
2022-12-15 09:11:47 +00:00
Marco Bonardo
4a9e98461a Bug 1805702 - Log engagement event regardless of recording being enabled. r=daisuke
Logs engagement telemetry for debug purposes, regardless of it being reported
upstream.
Also changes a couple other logs to make browser.urlbar.logLevel = "Info"
more readable and usable.

Differential Revision: https://phabricator.services.mozilla.com/D164701
2022-12-15 08:59:22 +00:00
Paul Adenot
4d93fe9a58 Bug 1805721 - Update libcubeb to revision dbc60333. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D164710
2022-12-15 08:59:19 +00:00
Sandor Molnar
cc504d5847 Merge mozilla-central to autoland. a=merge CLOSED TREE 2022-12-15 11:51:40 +02:00
Sandor Molnar
b4de9fa6fe Merge autoland to mozilla-central. a=merge 2022-12-15 11:18:37 +02:00
Frederic Wang
43a06a1f37 Bug 1586574 - apply horizontal writing mode to mathml elements. r=emilio CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D48279
2022-12-15 09:11:48 +00:00
Stanca Serban
fb105d2048 Backed out changeset 32522f6f6750 (bug 1586574) for causing wpt unexpected passes on reset-and-logicial-property.html. CLOSED TREE 2022-12-15 11:45:38 +02:00
Alexandra Borovova
aff45ced0f Bug 1805661 - [wdspec] Fix wdspec tests for script module for exceptions for platform objects of type Node. r=webdriver-reviewers,jdescottes,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D164685
2022-12-15 08:24:44 +00:00
Frederic Wang
241ec05d64 Bug 1586574 - apply horizontal writing mode to mathml elements. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D48279
2022-12-15 08:23:15 +00:00