Commit Graph

858569 Commits

Author SHA1 Message Date
Jon Coppeard
ea4585ae48 Bug 1857218 - Part 4: Rename Nursery::setCurrentChunk() r=sfink
This renames setCurrentChunk to moveToStartOfChunk to make it clearer what's happening.

Differential Revision: https://phabricator.services.mozilla.com/D190192
2023-10-06 08:36:54 +00:00
Jon Coppeard
34ef5d5f01 Bug 1857218 - Part 3: Rename Nursery::setStartPosition() r=sfink
Reading this code I found I did not know what the position the start was being
set to. The patch renames this to make it clear that it's being set to the
current position.

Differential Revision: https://phabricator.services.mozilla.com/D190191
2023-10-06 08:36:54 +00:00
Jon Coppeard
551493433a Bug 1857218 - Part 2: Remove Nursery::spaceToEnd() r=sfink
This is only used by Nursery::committed() which can be simplified by
implementing it another way.

Differential Revision: https://phabricator.services.mozilla.com/D190190
2023-10-06 08:36:53 +00:00
Jon Coppeard
65f97c15d8 Bug 1857218 - Part 1: Rename Nursery::currentStartChunk_ and currentStartPosition_ r=sfink
These members specify the start of the nursery (usually they are zero, but can
be different in generational zeal mode). They are constant between collections.

Calling them 'current' implies that they change often and this could lead to
confusion with currentChunk, which does change between collections. It's
simpler to remove the 'current'.

Differential Revision: https://phabricator.services.mozilla.com/D190189
2023-10-06 08:36:53 +00:00
Ziran Sun
08eca17319 Bug 1838450 - Refine attribute handling. r=emilio
https://github.com/whatwg/dom/pull/1176
https://dom.spec.whatwg.org/#concept-element-attributes-change-ext
"attribute change steps"  at https://html.spec.whatwg.org/multipage/popover.html#attr-popover

Differential Revision: https://phabricator.services.mozilla.com/D181880
2023-10-06 08:06:54 +00:00
Nicolas Chevobbe
a9138ad00c Bug 1844062 - [devtools] Properly handle aria-pressed attribute on selector highlighter icon. r=devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D189916
2023-10-06 07:52:29 +00:00
Sylvestre Ledru
cfcaf0ad1f Bug 1856795 - Enable readability-redundant-member-init r=linter-reviewers,ahal DONTBUILD
Depends on D190002

Differential Revision: https://phabricator.services.mozilla.com/D190008
2023-10-06 07:46:43 +00:00
anonymous0000007
47f944ce16 Bug 1855952 - nss_secutil.c: Resource leak: input r=andi
Differential Revision: https://phabricator.services.mozilla.com/D190110
2023-10-06 07:45:55 +00:00
James Graham
78f7639d4d Bug 1571426 - Read geckodriver port on startup for all wdspec tests, r=webdriver-reviewers,jdescottes
Instead of using get_free_port(), pass in 0 as the port number and
allow geckodriver to select a free port. Then read the port from the
geckodriver output at startup. This should prevent rare race
conditions where we happen to select a port that later turns out to be
used.

Differential Revision: https://phabricator.services.mozilla.com/D189927
2023-10-06 07:35:43 +00:00
James Graham
17743ef552 Bug 1571426 - Read geckodriver port number in fixture, r=webdriver-reviewers,jdescottes
Instead of passing in a port selected in the fixture, pass in 0 as the
port, allowing geckodriver to select the port, and then read the port
number from the utput in stdout.

This should prevent us trying to reuse an already bound port in
a race-free way.

Differential Revision: https://phabricator.services.mozilla.com/D189926
2023-10-06 07:35:43 +00:00
James Graham
1164415e99 Bug 1857193 - Make passing --port=0 select a free port, r=webdriver-reviewers,jdescottes
Previously this bound to a free port, but we weren't allowing
connections because we checked the Host header against the specified
port (i.e. 0) rather than the bound port.

Differential Revision: https://phabricator.services.mozilla.com/D189925
2023-10-06 07:35:43 +00:00
Mozilla Releng Treescript
15b53f5429 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
tr -> 27e692a7b872f933e787ec025c82e227300a7959
2023-10-06 06:58:52 +00:00
Henrik Skupin
25a9eb239b Bug 1852243 - [wpt] Enable async touch and wheel events for wpt but not wdspec tests. r=jgraham,hiro
Differential Revision: https://phabricator.services.mozilla.com/D188297
2023-10-06 06:13:19 +00:00
Henrik Skupin
27f9813b59 Bug 1852243 - [dom] Add specific preferences for all available async event types. r=hiro
The preference "test.events.async.enabled" controls the usage of
widget events in general, but Marionette doesn't support all of
them yet. To get widget events enabled for web-platform tests
those unsupported event types need to still synthesize the event.

Differential Revision: https://phabricator.services.mozilla.com/D188296
2023-10-06 06:13:18 +00:00
Sandor Molnar
4a38308864 Backed out 2 changesets (bug 243797, bug 1273551) for causing mochitest failures on browser/modules/test/browser/browser_ProcessHangNotifications.js CLOSED TREE
Backed out changeset d6264637680c (bug 243797)
Backed out changeset 059192553e9b (bug 1273551)
2023-10-06 08:49:10 +03:00
Natalia Csoregi
8af8a2427c Backed out 2 changesets (bug 1816992) for causing repackage bustage. CLOSED TREE
Backed out changeset c06f8d8a7bdc (bug 1816992)
Backed out changeset 63af389f8fe2 (bug 1816992)
2023-10-06 07:46:51 +03:00
Drew Willcoxon
d32ee1ec14 Bug 1857137 - Convert addon suggestions from dynamic to standard results. r=daisuke,desktop-theme-reviewers,dao
This converts addon suggestions from dynamic to standard results and removes
support for review stars. Other things worth noting:

* I removed `suggestion.is_top_pick` support because addons should always be top
  picks. This lets us simplify the code and tests.
* This changes the overall icon box size for addons from 60px to 52px, since it
  combines the icon rules for Pocket and addons. I checked with Josh, and he
  says that's fine ([Slack](https://mozilla.slack.com/archives/C03LYL79G82/p1696471328852089?thread_ts=1696446640.986769&cid=C03LYL79G82))
* Currently the default `-webkit-line-clamp` is 3 and MDN and Pocket rows
  override it by setting it to 2. I think the opposite makes more sense, i.e.
  the default should be 2, since there are no row types that need it to be 3.
  This lets me avoid adding a rule for addon rows. (`-webkit-line-clamp` was
  added in D185247)

Depends on D190138

Differential Revision: https://phabricator.services.mozilla.com/D190145
2023-10-06 04:21:31 +00:00
sotaro
cf875ad584 Bug 1857195 - Keep TextureHostWrapperD3D11 alive during updating Texture r=gfx-reviewers,lsalzman
Counted ref of TextureHostWrapperD3D11 is added to GpuProcessD3D11TextureMap::UpdatingTextureHolder. Then  TextureHostWrapperD3D11 remains alive during updating Texture.

TextureCheck is added to TextureHostWrapperD3D11::~TextureHostWrapperD3D11(). It is for preventing the crash by null pointer deref.

NotifyNotUsed() call to wrapped TextureHost is removed, since TextureHostWrapperD3D11 holds compositable ref of wrapped TextureHost and the NotifyNotUsed() is called when compositable ref becomes 0. Then NotifyNotUsed() call to wrapped TextureHost is not necessary.

Differential Revision: https://phabricator.services.mozilla.com/D190243
2023-10-06 03:59:58 +00:00
Drew Willcoxon
6ba98906a7 Bug 1857108 - Set has-url on dynamic-result-type rows when they contain a URL. r=dao
This sets `has-url` on dynamic-result-type rows when their view template
contains a `.urlbarView-url` element. This fixes the missing separator in both
addon and weather rows.

This does not address one remaining problem: When `wrap` is set, the separator
is still missing in addon rows because they don't handle wrapping. Prior to
bug 1855639, they just always showed their title separator, and since they don't
wrap their URL, that was fine. I'd like to handle that separately by converting
addon rows from dynamic to standard. I filed bug 1857137 for that.

Differential Revision: https://phabricator.services.mozilla.com/D190144
2023-10-06 03:28:12 +00:00
Mike Conley
083c3d91a5 Bug 1818237 - MockFilePicker should be able to return the nsIFile for a selected directory. r=Gijs
Depends on D189840

Differential Revision: https://phabricator.services.mozilla.com/D189841
2023-10-06 02:56:45 +00:00
Natalia Csoregi
8c4703e3b7 Backed out changeset 04750ca05094 (bug 1845407) for causing failures on mozapps/update/*. CLOSED TREE 2023-10-06 06:55:04 +03:00
Drew Willcoxon
d4195691e7 Bug 1857114 - Update the icon in addon rows. r=daisuke,desktop-theme-reviewers,dao
These rules are similar to [the Pocket ones](https://searchfox.org/mozilla-central/rev/1f5d04fed3631f97a84b589429419b83342d7c9a/browser/themes/shared/urlbarView.css#789-793) because the UI is similar: A 24x24px
icon inside a larger gray box.

Differential Revision: https://phabricator.services.mozilla.com/D190138
2023-10-06 02:47:14 +00:00
alwu
ea0fd9af2e Bug 1857380 - return type should be HRESULT. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D190244
2023-10-06 02:10:02 +00:00
alwu
1808a9d2e3 Bug 1856785 - make reporting telemetry async. r=sotaro
As we will need to re-initialize the wmf decoder module, which takes
longer time sometime resulting IPC timeout. Therefore, make it async in
order to not interfere IPC response.

Differential Revision: https://phabricator.services.mozilla.com/D190224
2023-10-06 01:38:54 +00:00
Heitor Neiva
8067bbe451 Bug 1816992 - Add attribution job for DMGs r=taskgraph-reviewers,releng-reviewers,bhearsum
Depends on D189404

Differential Revision: https://phabricator.services.mozilla.com/D189405
2023-10-06 01:30:29 +00:00
Heitor Neiva
24b944a39c Bug 1816992 - Add sentinel attribution to repackage jobs r=taskgraph-reviewers,releng-reviewers,bhearsum
Depends on D189259

Differential Revision: https://phabricator.services.mozilla.com/D189404
2023-10-06 01:30:29 +00:00
Steve Fink
3ab7874b7d Bug 1857099 - Make JSDependentString::new_() always return a dependent string. r=jandem
This is a pure refactoring that just moves the inline string logic out into NewDependentString so that all *String::new_ creation functions are low-level and return a string of the class they are called on.

Differential Revision: https://phabricator.services.mozilla.com/D190127
2023-10-06 00:35:55 +00:00
Masayuki Nakano
b371a09523 Bug 1856289 - Make the test request a reflow of a child document when it received the last expected event message r=edgar
The test requests reflow to a child document which the listener listens to
when expected event gets received as a message.  However, the message listener
is set twice for listening same events on `<html>` and `<div>`.  Therefore,
the request occurs twice, and that assumes that the reflow happens before
the next task of a `setTimeout` call.

This patch makes the order stabler.
* Request reflow only when the the last expected event is received
* Remove the message listeners when the reflow request is performed in the child

Differential Revision: https://phabricator.services.mozilla.com/D189817
2023-10-06 00:29:38 +00:00
Perry McManis
5353bb388e Bug 1851685 - Test for shopping surface onboarding displayed event r=aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D190231
2023-10-05 23:55:06 +00:00
Sam Foster
6e6ac6197e Bug 1852622 - Track a lastSetActive property on each tab and use that when sorting open tabs for recency in firefox view. r=jsudiaman,Gijs,fxview-reviewers,tabbrowser-reviewers,mak,sclements
Differential Revision: https://phabricator.services.mozilla.com/D189444
2023-10-05 23:44:57 +00:00
Sam Foster
e3a5f85385 Bug 1852622 - Fix an issue in PlacesQuery where it tries to re-finalizes the deferred task. r=jsudiaman,places-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D189867
2023-10-05 23:44:57 +00:00
Sam Foster
3d1fa88e86 Bug 1852622 - Add a test-only firefoxview-entered notification, and modify the test helpers to use it. r=sclements,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D189443
2023-10-05 23:44:56 +00:00
Ben Hearsum
4a2eed2ffb Bug 1816998: Update ASRouter to use extended attribute attribution on macOS r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D189259
2023-10-05 23:30:58 +00:00
Ben Hearsum
16fe634564 Bug 1816998: Replace macOS quarantine database-based attribution with extended attribute attribution r=nalexander
With extended attribute attribution using exactly the same attribution strings as Windows (eg: no URLs), this turns out to be quite straightforward. Once we've pulled in the attribution string from the extended attribute, the existing parsing, validation, etc. just works.

The only wrinkle is that the extended attributes may have nul bytes or tabs that we need to strip away. (Tabs may be present because we use them to pad the attribution area when we prepare the DMG for attribution. Nul bytes may be present because we overwrite the entire attribution before updating the attribution data.)

Differential Revision: https://phabricator.services.mozilla.com/D189258
2023-10-05 23:30:57 +00:00
Dan Robertson
28077f363d Bug 1856716 - Ensure that we hold a strong reference to the APZ event state. r=hiro
- Ensure that we hold a strong reference to the APZ event state before
   calling ProcessSingleTap, as ProcessSingleTap fires events.
 - Mark ProcessSingleTap as MOZ_CAN_RUN_SCRIPT since it can fire events.

Differential Revision: https://phabricator.services.mozilla.com/D190228
2023-10-05 22:34:32 +00:00
Olivia Hall
3eceb9a32f Bug 1844521 - GeckoView Initial Session Translations API r=geckoview-reviewers,kaya,calu
This patch lands an initial GeckoView session API for using toolkit
translations. This patch adds an initial session translate delegate,
functions to translate, detect languages, and restore to an original
page. The runtime API will follow in bug 1852313 and additional session
API changes are planned.

Differential Revision: https://phabricator.services.mozilla.com/D189228
2023-10-05 22:18:54 +00:00
Nicolas Chevobbe
9a4832dfe3 Bug 1857065 - [devtools] Don't run browser_dbg-fission-frame-breakpoint.js when fission is disabled. r=devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D190211
2023-10-05 21:47:35 +00:00
PupAtlas
309b7b1cfb Bug 243797 - Reworded WindowCloseBlockedWarning in the en-US locale to remove double-negative. r=flod,dom-core,mccr8
Depends on D188656

- Fixed comment

Differential Revision: https://phabricator.services.mozilla.com/D188662
2023-10-05 21:25:21 +00:00
PupAtlas
aaf9abf83d Bug 1273551 - Enabled 'Debug Script' button in nightly builds as well as the dev edition r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D188656
2023-10-05 21:25:21 +00:00
Sidharth Sachdev
00d7856ddd Bug 1845583 - Handle Keyboard shortcuts for edit and delete. r=credential-management-reviewers,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D187317
2023-10-05 21:20:30 +00:00
alwu
5ed0b2ee44 Bug 1852333 - part5 : add inband config test. r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D189981
2023-10-05 21:07:16 +00:00
alwu
142b08c28d Bug 1852333 - part4 : check the sample's mimetype to ensure only accept correct type for parsing. r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D189686
2023-10-05 21:07:15 +00:00
alwu
491da4fbcd Bug 1852333 - part3 : separate different errors for debug purpose. r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D189685
2023-10-05 21:07:15 +00:00
alwu
55d989b77e Bug 1852333 - part2 : detect config change for HEVC stream. r=media-playback-reviewers,padenot
This patch detects inband change for the HEVC playback so that we can
recreate decoder if the new config is different from the previous one.

Differential Revision: https://phabricator.services.mozilla.com/D187805
2023-10-05 21:07:15 +00:00
alwu
37859b957a Bug 1852333 - part1 : fix incorrect macro. r=media-playback-reviewers,padenot
`READ_IN_RANGE_OR_RETURN` causes incorrectly reading bits multiple
times,so we remove it and modify the other macros to ensure that reading
bits should only be triggered once.

Differential Revision: https://phabricator.services.mozilla.com/D189871
2023-10-05 21:07:14 +00:00
Eitan Isaacson
668b2554cd Bug 1845407 - Don't pump apple events before application starts. r=nika
When we call `nextEventMatchingMask` we send a "did launch app" notification to the OS workspace. If we do that before we call `[NSApp run]` accessibility isn't hooked up yet internally in AppKit and we fail to respond to a11y API queries.

Pumping Apple events is currently used for getting url requests in order to launch Firefox with the URLs loading correctly in a browser window. We can achieve the same result by using `application:openURLs:` in the delegate and calling `run` on the NSApp earlier and then stopping the loop in order to build the command line and finish initializing Firefox.

Also pumping the apple event queue should be deferred in `ProcessNextNativeEvent` until `[NSApp run]` is called.

Differential Revision: https://phabricator.services.mozilla.com/D184524
2023-10-05 21:05:26 +00:00
Cristina Horotan
3d0b07f5a3 Backed out changeset 5873383c36e2 (bug 1856545) for causing talos max run time exceeded failures. CLOSED TREE 2023-10-06 04:07:39 +03:00
Emilio Cobos Álvarez
ad64ab4526 Bug 1854446 - Update some pre-existing valgrind suppressions. CLOSED TREE 2023-10-06 02:33:06 +03:00
Sebastian Hengst
2c4e33261b Bug 1856996 - set font-relative-units.html as passing on Windows x86 opt. CLOSED TREE
Incorrect test expectation had been added by latest wpt sync.
2023-10-06 01:08:11 +02:00
moz-wptsync-bot
3a8ccd83e7 Bug 1856996 - [wpt-sync] Update web-platform-tests to 4cd570dc80fec7b17cad121e7ac866badf62df38, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 4cd570dc80fec7b17cad121e7ac866badf62df38
wpt-type: landing
2023-10-04 16:35:59 +00:00