Commit Graph

858641 Commits

Author SHA1 Message Date
Edgar Chen
3be03351ff Bug 1854747 - Stop exposing the image data as file to clipboard; r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D189242
2023-10-05 15:26:35 +00:00
Henrik Skupin
7739355410 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-05 15:12:00 +00:00
Henrik Skupin
33362e3ffb 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-05 15:11:59 +00:00
Alexandre Poirot
0f714077b7 Bug 1856658 - [devtools] Avoid duplicating the large breakpoints positions array when using function filtering methods. r=devtools-reviewers,nchevobbe
The filterBySource was looping over the whole list once again
but worse, was duplicating the array once more.

Same for filterByUniqLocation.

Finally, once we removed these two last filtering methods... we could prevent the creation of the whole "positions"
intermediate object and craft directly what we aim to store in redux.

Differential Revision: https://phabricator.services.mozilla.com/D189951
2023-10-05 15:03:32 +00:00
Alexandre Poirot
0e5417ff35 Bug 1856658 - [devtools] Better integrate SourceMapLoader into breakable positions computation. r=devtools-reviewers,nchevobbe
We can avoid the creation of an handful of object creations by passing
the "breakpoint positions" objects directly to the Source Map Loader.
(avoid convertToList)

We can also tune `SourceMapLoader.getOriginalLocations` output to better
fit the requirements of the main thread.

Differential Revision: https://phabricator.services.mozilla.com/D189950
2023-10-05 15:03:32 +00:00
Alexandre Poirot
4a83fa6e97 Bug 1856658 - [devtools] Drop unused options/search argument to getOriginalLocation(s). r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D189949
2023-10-05 15:03:31 +00:00
Alexandre Poirot
8b10a8c0c5 Bug 1856658 - [devtools] Document breakable position retrieval and avoid instation of many Sets and Arrays. r=devtools-reviewers,nchevobbe
This code is a bit hard to follow, so let's add some comments.

Also `columns = [...new Set([...existing, ...columns])];` is probably very bad for performance.
It clones existing and columns into a third array, whose content is cloned into a Set,
which is ultimately cloned into the final array.

Differential Revision: https://phabricator.services.mozilla.com/D189948
2023-10-05 15:03:30 +00:00
Emilio Cobos Álvarez
3d5c651f4d Bug 1857202 - Use native titlebar color on dark HCM on macOS too. r=mac-reviewers,spohl
Matches what we do on light mode, and provides higher contrast, plus
looks nicer over-all.

Differential Revision: https://phabricator.services.mozilla.com/D190187
2023-10-05 14:41:03 +00:00
Emilio Cobos Álvarez
8cebbdf995 Bug 1857202 - Add a dark hcm urlbar field border. r=dao,desktop-theme-reviewers
This wasn't a problem before bug 1843044 because for dark mode we
ignored HCM (as it was a lightweight theme), and because on Windows
HCM implies light mode.

Differential Revision: https://phabricator.services.mozilla.com/D190185
2023-10-05 14:40:49 +00:00
David Shin
6a9b168e62 Bug 1856676: Allow induced canvas noise to pass the webextension resist fingerprinting test for now. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D190041
2023-10-05 14:33:02 +00:00
Kai Engert
e6befa74a3 Bug 1753165 - Disable an assertion for a legitimate failure during shutdown. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D189165
2023-10-05 14:24:37 +00:00
Michael Froman
7cb31c1d17 Bug 1857037 - pt2 - cleanup libwebrtc/third_party BUILD.gn changes. r=ng,webrtc-reviewers
Many of these files are now in unmodified form.  These changes produce
no changes when running:
./mach python python/mozbuild/mozbuild/gn_processor.py dom/media/webrtc/third_party_build/gn-configs/webrtc.json

Depends on D190104

Differential Revision: https://phabricator.services.mozilla.com/D190105
2023-10-05 14:21:48 +00:00
Michael Froman
8c35f0a5ac Bug 1857037 - pt1 - add shim gni files to limit BUILD.gn changes. r=ng,webrtc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D190104
2023-10-05 14:21:48 +00:00
Matthew Gaudet
9255c64b0c No Bug - Spelling error 'detatched' r=boris DONTBUILD
Depends on D190116

Differential Revision: https://phabricator.services.mozilla.com/D190117
2023-10-05 14:16:48 +00:00
Matthew Gaudet
80b92aae82 No Bug - Spelling error 'detatched' r=masayuki DONTBUILD
Depends on D190115

Differential Revision: https://phabricator.services.mozilla.com/D190116
2023-10-05 14:16:47 +00:00
Matthew Gaudet
018423f60b No Bug - Fix spelling error 'detatched' r=allstarschh DONTBUILD
Depends on D190114

Differential Revision: https://phabricator.services.mozilla.com/D190115
2023-10-05 14:16:47 +00:00
Matthew Gaudet
84d20233cd No Bug - Spelling error: detatched r=saschanaz DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D190114
2023-10-05 14:16:46 +00:00
scottjehl
42b6e80a55 Bug 1841432 - change test setup to rely on promises that the child iframe will resolve and also use a supported and playable video source so that source selection sticks. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D190066
2023-10-05 14:09:59 +00:00
Niklas Baumgardner
377404f0a6 Bug 1844783 - Use new moz-message-bar in shopping components. r=shopping-reviewers,fluent-reviewers,reusable-components-reviewers,hjones,flod,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D189163
2023-10-05 14:07:28 +00:00
Cristian Tuns
39cbd706eb Backed out changeset 6b3aa93d1a33 (bug 1856988) for causing lint failures in moz.yaml CLOSED TREE 2023-10-05 10:13:05 -04:00
Niklas Baumgardner
245e48c7d7 Bug 1852810 - Requests ads when ads are toggled on. r=shopping-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D189822
2023-10-05 14:04:45 +00:00
Emilio Cobos Álvarez
8a3a7a9bcb Bug 1856917 - Tweak font loading priority. r=smaug
I'm hesitant to use RenderBlocking in the sense that... well, we know we
are not going to get to fetch it between rendering. Maybe this?

Differential Revision: https://phabricator.services.mozilla.com/D190107
2023-10-05 13:32:27 +00:00
serge-sans-paille
e9ccf17041 Bug 1856988 - Vendor libfuzzer using mach vendor r=decoder
We hit some limitations of the globbing system in exclude file, which
relies on glob.iglob and skips dotfiles...

As a side effect update the license to the one actually shipped with
libfuzzer.

Differential Revision: https://phabricator.services.mozilla.com/D190068
2023-10-05 13:23:46 +00:00
Johannes J. Schmidt
a21db5fc1b Bug 1852745 - additional tests for protocol handling in combination with includeOtherSubdomainsInLookup - r=credential-management-reviewers,dimi
This patch adds a test that demonstrates what is believed to be inconsistent
behavior when selecting matching logins depending on the protocol used.

With a form served from https://example.com, with an action pointing to
https://otherexample.com,

when includeOtherSubdomainsInLookup is true:
* do show login https://example.com
* do show login http://example.com
* do show both http://example.com and https://example.com

when includeOtherSubdomainsInLookup is false:
* do not show login https://example.com
* do show login http://example.com
* do only show http://example.com

Perhaps we would prefer to always display the https login (which matches the server site host and protocol), regardless of the
includeOtherSubdomainsInLookup setting?

Differential Revision: https://phabricator.services.mozilla.com/D190170
2023-10-05 13:03:57 +00:00
Johannes J. Schmidt
f27302e7f0 Bug 1852745 - calculate date string in current process - r=credential-management-reviewers,dimi
no need to send to parent process.

Depends on D188970

Differential Revision: https://phabricator.services.mozilla.com/D190164
2023-10-05 13:03:56 +00:00
Johannes J. Schmidt
4182f0d705 Bug 1852745 - support xorigin for test_include_other_subdomains_in_lookup - r=credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D188970
2023-10-05 13:03:56 +00:00
Johannes J. Schmidt
84eef66562 Bug 1852745 - rename test_autocomplete_basic_form_subdomain - r=credential-management-reviewers,sgalich
into `test_include_other_subdomains_in_lookup.html` to match the preference name.

Differential Revision: https://phabricator.services.mozilla.com/D188817
2023-10-05 13:03:55 +00:00
Johannes J. Schmidt
5b90ae074a Bug 1852745 - modernize test_autocomplete_basic_form_subdomain - r=credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D188815
2023-10-05 13:03:55 +00:00
Johannes J. Schmidt
84b102e98e Bug 1852745 - setContentForTask can also accept a dom node - r=credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D188814
2023-10-05 13:03:55 +00:00
moz-wptsync-bot
cbc43343b5 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-05 13:02:21 +00:00
Nate Chapin
7591309d00 Bug 1856740 [wpt PR 42233] - Make navigation-api/navigate-event/ resilient to starting with extra NavigationHistoryEntries, a=testonly
Automatic update from web-platform-tests
Make navigation-api/navigate-event/ resilient to starting with extra NavigationHistoryEntries

When WPT are run in-browser or via wptrunner, there may be additional
session history entries when the test starts, so the tests shouldn't
assume that they start with navigation.entries().length == 1 or
navigation.currentEntry.index == 0.

This is a workaround for https://github.com/web-platform-tests/wpt/issues/33590.

Change-Id: I978d492d5d31d110716d6a1d84732aff792aca14
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4904223
Reviewed-by: Domenic Denicola <domenic@chromium.org>
Auto-Submit: Nate Chapin <japhet@chromium.org>
Commit-Queue: Nate Chapin <japhet@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1204863}

--

wpt-commits: 4cd570dc80fec7b17cad121e7ac866badf62df38
wpt-pr: 42233
2023-10-05 13:02:20 +00:00
moz-wptsync-bot
1216b19589 Bug 1856722 [wpt PR 42227] - Update wpt metadata, a=testonly
wpt-pr: 42227
wpt-type: metadata
2023-10-05 13:02:19 +00:00
Matt Reynolds
2321555ec7 Bug 1856722 [wpt PR 42227] - gamepad: Check that the DocumentLoader is not null, a=testonly
Automatic update from web-platform-tests
gamepad: Check that the DocumentLoader is not null

Gamepad timestamps are reported relative to the navigationStart
timestamp, accessed from the DocumentLoader's DocumentLoadTiming.
In some scenarios the document may have been detached before the
NavigatorGamepad is initialized, causing the DocumentLoader to be
nullptr.

This CL checks that the DocumentLoader is non-null, and uses the
current time in place of navigationStart if it is null.

Bug: 1483777
Change-Id: Ib3efcf3a612cd4c1c543218fa5fb8568c7129dcf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4899018
Reviewed-by: Alvin Ji <alvinji@chromium.org>
Commit-Queue: Matt Reynolds <mattreynolds@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1204813}

--

wpt-commits: 3ae2cb8c5b5ba61809da15318821a6c1fe54829f
wpt-pr: 42227
2023-10-05 13:02:18 +00:00
moz-wptsync-bot
210e8104f4 Bug 1856706 [wpt PR 42083] - Update wpt metadata, a=testonly
wpt-pr: 42083
wpt-type: metadata
2023-10-05 13:02:17 +00:00
Mason Freed
75e4e6595e Bug 1856706 [wpt PR 42083] - Optimize several things about DOM Parts [1/2], a=testonly
Automatic update from web-platform-tests
Optimize several things about DOM Parts [1/2]

See [1] for details. This CL makes these changes:
- Stop maintaining “live” parts lists across DOM mutations. This is
  controlled by a new feature flag, DOMPartsAPIActivePartTracking,
  that when disabled, short-circuits all of the part list maintenance
  code during DOM mutations. This means that if DOM nodes that are
  connected to parts are moved around in the DOM, including being
  removed from the document, the cached parts list does not change.
- Update ToV8HelperSequence to work directly with Deques, and get
  rid of getParts() code to convert to a HeapVector.
- Optimize ToV8HelperSequence to use iterators instead of array
  indexing, which should also speed up all sequence bindings. (TBD)
- Change from FrozenArray<Part> to sequence<Part>. This eliminated
  the overhead of Object::SetIntegrityLevel(), which was ~29% of the
  total getParts() time.
- Add a fast path for PartRoot.replaceChildren when all children
  are being removed.
- Inline IsValid().
- Call InsertBefore() instead of before() to avoid some extra
  validity checks. This required making ConvertNodeUnionsIntoNode
  public.
- Add PartRoot.getPartNode(n), which allows direct access to a
  single Part's Node, to avoid wrapping up the entire parts list.

[1] https://docs.google.com/document/d/1wSbBV6tS-KLlHWxaK_FmEJFOwkY-pb8_YDoFJgDrbMg/edit

Bug: 1453291
Change-Id: I3df15b2a552fe9c2793a7f7f2095d632bcea8326
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4878048
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Commit-Queue: Mason Freed <masonf@chromium.org>
Auto-Submit: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1204772}

--

wpt-commits: 27ccadd96797aec13652caaeaab3a428c06ab2d3
wpt-pr: 42083
2023-10-05 13:02:16 +00:00
moz-wptsync-bot
7c22e1a0fa Bug 1856032 [wpt PR 42252] - Update wpt metadata, a=testonly
wpt-pr: 42252
wpt-type: metadata
2023-10-05 13:02:16 +00:00
Ian Clelland
be6304b6da Bug 1856032 [wpt PR 42252] - Parse and use different reporting endpoints per feature in permissions policy, a=testonly
Automatic update from web-platform-tests
Parse and use different reporting endpoints per feature in permissions policy

Change-Id: I1cc8a1ea185500d44ddb2718803c22f2038f66c6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4473627
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Commit-Queue: Ian Clelland <iclelland@chromium.org>
Reviewed-by: Ken Buchanan <kenrb@chromium.org>
Reviewed-by: Ari Chivukula <arichiv@chromium.org>
Reviewed-by: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1204761}

--

wpt-commits: 592f7b1cf7c9fb40c514940950ae2120339d4251
wpt-pr: 42252
2023-10-05 13:02:15 +00:00
Matt Menke
e5601b7472 Bug 1856643 [wpt PR 42312] - [FLEDGE]: Subdivide WPT tests., a=testonly
Automatic update from web-platform-tests
[FLEDGE]:  Subdivide WPT tests.

FLEDGE tests tend to be fairly slow, since they can spawn a bunch of
processes. This CL subdivides most FLEDGE WPT tests into sets of 5
(one larger file into sets of 10), which should hopefully reduce flake
on the bots.

Fixed: 1481290
Change-Id: If708b33d0713e783cc53f014d9fbfe127ec1dc9d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4909551
Reviewed-by: Maks Orlovich <morlovich@chromium.org>
Commit-Queue: Matt Menke <mmenke@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1204664}

--

wpt-commits: f6d8468144f5f9f8fe2e6b8ecdb1846ce08c3700
wpt-pr: 42312
2023-10-05 13:02:14 +00:00
moz-wptsync-bot
6794972e68 Bug 1727518 [wpt PR 30173] - Update wpt metadata, a=testonly
wpt-pr: 30173
wpt-type: metadata
2023-10-05 13:02:14 +00:00
Harald Alvestrand
0ac654d60d Bug 1727518 [wpt PR 30173] - Add test that "maintain-framerate" does what it says., a=testonly
Automatic update from web-platform-tests
Add test that "maintain-framerate" does what it says.

Adds a test that measures the bandwidth, cuts the bandwidth in half,
and then measures that framerate is maintained, but resolution is not.

Also adds more entropy to the "getNoiseStream()" video signal; the old
version generated a video stream of 8 Kbits/second in 640x480.

Bug: none
Change-Id: Iefe0a44b9686f1bb4bdd13ab63922c3d460c775e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3117645
Reviewed-by: Philipp Hancke <phancke@microsoft.com>
Commit-Queue: Harald Alvestrand <hta@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1204584}

--

wpt-commits: 1af7ffeb926a3644c33bcbf7ab0a1bb6c2f0a824
wpt-pr: 30173
2023-10-05 13:02:13 +00:00
moz-wptsync-bot
07fef5f94e Bug 1851451 [wpt PR 41799] - Update wpt metadata, a=testonly
wpt-pr: 41799
wpt-type: metadata
2023-10-05 13:02:12 +00:00
Daniil Sakhapov
94e2399a9f Bug 1851451 [wpt PR 41799] - Fix WPT CSS Counters test, a=testonly
Automatic update from web-platform-tests
Fix WPT CSS Counters test

As per:
https://drafts.csswg.org/css-contain/#example-6932a400
and
https://github.com/w3c/csswg-drafts/issues/9116
counter() and counters() can cross the style containment boundary,
so the result should be 13 from the body's counter-reset.

Bug: 990657
Change-Id: Iee313a5ed6f487865b1b7c754aa45b736f6b8f15
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4836162
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Daniil Sakhapov <sakhapov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1204571}

--

wpt-commits: dcb79ca1856efaa5ac6b455d1f96f63e3038e663
wpt-pr: 41799
2023-10-05 13:02:12 +00:00
moz-wptsync-bot
7af169aa06 Bug 1856387 [wpt PR 42284] - Update wpt metadata, a=testonly
wpt-pr: 42284
wpt-type: metadata
2023-10-05 13:02:11 +00:00
Ms2ger
25b13ee07d Bug 1856387 [wpt PR 42284] - Update dependencies in HTML idlharness test, a=testonly
Automatic update from web-platform-tests
Update dependencies in HTML idlharness test

--

wpt-commits: 039581da9bf12f29ecd4a9915a04601def843278
wpt-pr: 42284
2023-10-05 13:02:10 +00:00
moz-wptsync-bot
1c8fb5bcaf Bug 1856543 [wpt PR 42050] - Update wpt metadata, a=testonly
wpt-pr: 42050
wpt-type: metadata
2023-10-05 13:02:09 +00:00
Seokho Song
cf65b22255 Bug 1856543 [wpt PR 42050] - Ignore complex relative expression in css atan2(), a=testonly
Automatic update from web-platform-tests
Ignore complex relative expression in css atan2()

Currently, we use the double values if the parameter is relative type.
However, if the parameter is an expression that includes the relative
value it cannot be resolved as a simple double value.
It causes a crash because trying to use the value that is not
resolved.

Therefore, parsing a failure if ResolvedUnitType() function returns
kUnknown which means complex relative expression at the parsing time
until supporting "Involving relative values in Non-Length CSS Math
Expressions" [1]

[1] https://crbug.com/1436612

Bug: 1476829
Change-Id: If920388de96d2838eccf4d76fecb050e414d29dd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4835559
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Seokho Song <seokho@chromium.org>
Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1204500}

--

wpt-commits: 78701298a872dc884f7bd341108d0a5ff8c41bf2
wpt-pr: 42050
2023-10-05 13:02:08 +00:00
moz-wptsync-bot
68fd1f7784 Bug 1856394 [wpt PR 42285] - Update wpt metadata, a=testonly
wpt-pr: 42285
wpt-type: metadata
2023-10-05 13:02:07 +00:00
youennf
62d0ab76d9 Bug 1856394 [wpt PR 42285] - Update webcodecs decoder test as error callback is now executed before flush promise callbacks, a=testonly
Automatic update from web-platform-tests
Update webcodecs decoder test as error callback is now executed before flush promise callbacks (#42285)

--

wpt-commits: 68cfc233182799e3c4edc2e6d7c43b7f795c1a2f
wpt-pr: 42285
2023-10-05 13:02:07 +00:00
sideshowbarker
def633052f Bug 1856405 [wpt PR 42287] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=261621, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=261621 (#42287)

--

wpt-commits: 1807bc6a7f9a0362a9cc876867ddf65402521e93
wpt-pr: 42287
2023-10-05 13:02:06 +00:00
shaochenguang
5844da46e7 Bug 1856487 [wpt PR 42217] - Paint background invalidation when deleting the last element of TableRow, a=testonly
Automatic update from web-platform-tests
Paint background invalidation when deleting the last element of TableRow

When the last element in a TableRow is deleted, it does not trigger
a redraw of the background,causing the background to persist.
After removing the last element of a row in a Table,
the size of the TableRow remains unchanged because it does not affect
the layout of the preceding elements.
Therefore, caching is used during rendering.
We should proactively trigger a redraw of this row when deleting
the last element of a table row.

Bug: 1487554
Change-Id: Ia45f5abf8ccd54781e8f0c1de04aebfa5cad552c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4900123
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1204290}

--

wpt-commits: 6447f83eae831c2470b4e8eb5cd6af6fbbe0103e
wpt-pr: 42217
2023-10-05 13:02:05 +00:00