Commit Graph

852074 Commits

Author SHA1 Message Date
Valentin Gosu
23974138e5 Bug 1847741 - Add an API to nsIURI to know if the query string is missing or an empty string r=edgul
This patch adds a hasQuery attribute to nsIURI, similar to hasRef.
This is needed to distinguish between an empty and a non-existant query.

Differential Revision: https://phabricator.services.mozilla.com/D185672
2023-08-09 07:01:48 +00:00
Mozilla Releng Treescript
b490ee2f04 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
it -> 8db7e7eb46bce86366b22705ea9a54d0c991b6c9
ka -> 2beae384737426946a3d9ddcf9439415a5d8c929
sl -> fe2561ffad78682bfe312a445c52a283406ddae5
2023-08-09 07:03:28 +00:00
Nicolas Chevobbe
79b767af4b Bug 1845731 - [devtools] Cache StyleRule desugared selectors. r=devtools-reviewers,jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D184727
2023-08-09 06:01:56 +00:00
Nicolas Chevobbe
d09f002379 Bug 1846947 - [devtools] Add DAMP test for deeply nested rule. r=devtools-reviewers,perftest-reviewers,afinder,ochameau,jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D185271
2023-08-09 06:01:55 +00:00
Erich Gubler
5bde404705 Bug 1847597: build(webgpu): bump wgpu to 7c6b85756237f77bfe8d6231dfc7a1412ff662b6 r=webgpu-reviewers,supply-chain-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D185580
2023-08-09 05:41:35 +00:00
Nicolas Chevobbe
e58c09ac53 Bug 1847565 - [devtools] Speedup StyleSheetsManager#getStyleSheetRuleCountAndAtRules . r=devtools-reviewers,jdescottes.
Don't check if rules are instances of `CSSGroupingRule` (as `CSSStyleRule` would
match now, so it's not providing the guard we want anymore).
Avoid retrieving stylesheet window and document until it's needed, and only
compute rule line and column for the at-rules we'll return.

Differential Revision: https://phabricator.services.mozilla.com/D185636
2023-08-09 05:25:57 +00:00
Nicolas Chevobbe
b957e6496f Bug 1847747 - [devtools] Ignore devtools-highlighter-styles/highlighters.css in regular toolbox. r=devtools-reviewers,jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D185661
2023-08-09 04:57:15 +00:00
Mike Hommey
4b398af9d5 Bug 1842712 - Only run clang static-analysis on trunk repositories. r=andi
This means mozilla-central, autoland, comm-central and the toolchains
branch.

Differential Revision: https://phabricator.services.mozilla.com/D184183
2023-08-09 04:54:14 +00:00
Masayuki Nakano
e6f42bf7f7 Bug 1833494 - Make GlobalKeyListener not try to match handler with keyboard event with ignoring Shift state after one handler matches with the key combination r=smaug
`GlobalKeyListener` try to match shortcut keys with exactly checking `Shift`
state, but for the cases which do not match localized language and active
keyboard layout location, it scans another shortcut keys with ignoring
`Shift` state if no handler is available.

`<command>` elements and `<key>` elements may be disabled conditionally.
E.g., Zoom-in/Zoom-out are disabled when current zoom level is max/min value.
In this case, it's odd that another shortcut key which does not exactly match
the modifiers works.

Therefore, this patch makes `GlobalKeyListener` does not try to scan handlers
with ignoring `Shift` state if it has already found a disabled handler which
exactly matches with the modifiers.

Differential Revision: https://phabricator.services.mozilla.com/D184789
2023-08-09 04:47:06 +00:00
James Teh
fc74f60e4b Bug 1847489: Detect UIA clients in Windows 10. r=nlapre
The new detection code introduced in bug 1838123 doesn't work on Windows 10.
This patch:

1. Splits the Windows 11 code into its own function.
2. Refactors the system handle enumeration code into its own function which can be called with a lambda, since it is needed for both Windows 11 and Windows 10.
3. Adds code to detect clients on Windows 10 based on the old detection code before bug 1838123, with some noteworthy changes:
    - Hooking the UIA window message doesn't work; our hook runs too late. It also doesn't work well for blocking; some clients will very likely poke us more than the maximum attempts in the old code (5 times).
    - Instead, we run this code as part of LazyInstantiator::ShouldInstantiate, just as we do for all other client detection.
    - This means we use the same UIA detection caching strategy; i.e. reset on foreground changes.
    - It also means we reuse the same instantiator setting and block listing code in LazyInstantiator.

Differential Revision: https://phabricator.services.mozilla.com/D185627
2023-08-09 04:02:46 +00:00
Cristian Tuns
dcf50463d3 Backed out changeset 4ab6eb349233 (bug 1847617) for causing bc failures in /browser_aboutHomeLoading.js CLOSED TREE 2023-08-08 23:57:39 -04:00
Masayuki Nakano
b2e135f779 Bug 1845445 - Make ContentEventHandler::ShouldBreakLineBefore use nsHTMLTag instead of nsINode::IsAnyOfHTMLElements with a lot of params r=smaug
It's expensive to call `nsINode::IsAnyOfHTMLElements` with a lot of arguments
due to its recursive calls (in this case, called with 30 arguments).

Additionally, the unknown element check with `do_QueryObject` is also expensive.

Once we get an `nsHTMLTag`, we can use a `switch` statement.

Note that I realized `nsHTMLTag_small` is not defined only on Windows if
`nsHTMLTags.h` is included after `rpcndr.h` in the Windows SDK since there is
```
#define small char
```

In the header file.  This patch includes the workaround for this issue.

Differential Revision: https://phabricator.services.mozilla.com/D184553
2023-08-09 02:31:50 +00:00
Dimi
8a18d35d51 Bug 1847159 - Update CreditCardRuleset to 555acdf r=mtigley
Add a Dutch support for phrases Card Holder and Card Number

Differential Revision: https://phabricator.services.mozilla.com/D185390
2023-08-09 01:14:43 +00:00
Karl Tomlinson
11616a7ffa Bug 1846854 test async AudioSink init with end of audio r=padenot
Also remove a comment from AsyncInitFailureWithSyncInitSuccess that was left
over from a earlier iteration of that test but is no longer relevant,
and remove an unnecessary 0.5 -> 0.0 volume transition.

Differential Revision: https://phabricator.services.mozilla.com/D185398
2023-08-09 01:01:34 +00:00
James Teh
de56d320af Bug 1846990: Extend expiration of test variant a11y-checks. r=ci-and-tooling,aryx
Differential Revision: https://phabricator.services.mozilla.com/D185631
2023-08-09 00:44:44 +00:00
Cristian Tuns
4d0c75f5cd Backed out changeset e99b30fd0931 (bug 1067293) for causing bc failures in browser_preferences_usage.js CLOSED TREE 2023-08-08 20:40:06 -04:00
Cristian Tuns
ff69e79f19 Backed out changeset a8267c9267da (bug 1840902) for causing mochitest failures in automation.py CLOSED TREE 2023-08-08 19:40:55 -04:00
Sam Foster
df35ca0918 Bug 1847617 - Add about:home to the list of URLs we filter out when deciding if a closing window has state that should be saved. r=dao,sessionstore-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D185605
2023-08-08 23:05:51 +00:00
Michael Froman
13becf8f55 Bug 1847818 - restore aec logging from about:webrtc - moz.build file updates. r=ng,webrtc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D185710
2023-08-08 22:51:56 +00:00
Michael Froman
c4a5d9155e Bug 1847818 - restore aec logging from about:webrtc. r=ng,webrtc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D185709
2023-08-08 22:51:56 +00:00
Cristian Tuns
a157f7fe17 Backed out 11 changesets (bug 1676679, bug 1846574, bug 1838526, bug 1546662, bug 1838945, bug 1844136, bug 1838938, bug 1839517, bug 1838894) for causing wpt failures in response.py CLOSED TREE
Backed out changeset cfb72ec53461 (bug 1838894)
Backed out changeset 48d93b2327bf (bug 1838894)
Backed out changeset 1b600408020d (bug 1676679)
Backed out changeset 199a69c94e56 (bug 1846574)
Backed out changeset 0fd66a02d9ef (bug 1844136)
Backed out changeset cede3491e7fb (bug 1838894)
Backed out changeset cdfe8b080bad (bug 1838938)
Backed out changeset ddb81e7713a7 (bug 1546662)
Backed out changeset 61c7382a4a2e (bug 1838945)
Backed out changeset 29ccda7bfd30 (bug 1838526)
Backed out changeset b4e59c6a2f8f (bug 1839517)
2023-08-08 19:05:21 -04:00
Andrew Halberstadt
d00e51952f Bug 1839891 - [ci] Convert release-partner-repack-repackage tasks to 'from_deps' transforms, r=releng-reviewers,gabriel
This is a bustage fix because I accidentally converted the
`partner_repackage.py` transforms to the new format without
converting a kind that used them. Normally I've been trying
to convert all kinds that use a given transform file at
once but I neglected this one.

Differential Revision: https://phabricator.services.mozilla.com/D185713
2023-08-08 21:47:54 +00:00
Cristian Tuns
94efb1e162 Backed out changeset 7544c8f9eea7 (bug 1847787) for causing marionette crashes with @mozilla::net::nsHttpChannel::OnStartRequest CLOSED TREE 2023-08-08 17:42:09 -04:00
Shane Hughes
f28489d5ae Bug 1784343 - Disable browser_feature_callout_position test on linux. r=fxview-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D185698
2023-08-08 21:28:48 +00:00
Greg Stoll
1d5fa79cc6 Bug 1847795 - disable a few DllInterceptor tests when MOZ_CODE_COVERAGE is active r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D185708
2023-08-08 21:24:28 +00:00
kriswright
1900e0f3d2 Bug 1801880 - use nsPasteBoard's ConcealedType on password strings. r=mac-reviewers,bradwerth
From my understanding of the issue, we want to preserve the utf8 string type while also adding the `org.nspasteboard.ConcealedType` as an indicator that a string is private data. I do this by creating a new type to add to the key/value dict we use to set clipboard data. While we handle this on Windows via a flag the windows API provides us, it looks like on MacOS we need to manually specify the data information. I'm unsure if this is quite what the OS intends to see, but with a lack of baseline information from Apple or from testing Safari behaviors, it *looks* like this might be the right way to go about it.

Differential Revision: https://phabricator.services.mozilla.com/D185402
2023-08-08 21:22:19 +00:00
Gregory Pappas
9ade047540 Bug 1847816 - Remove unneeded Windows version checks in EdgeProfileMigrator r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D185700
2023-08-08 21:15:25 +00:00
scottdowne
31b1c9b610 Bug 1847787 - Pocket newtab sponsored topsites enabled by default r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D185694
2023-08-08 21:04:03 +00:00
Michael Froman
80d73998fc Bug 1846636 - restore ScreenCapturerWinMagnifier destructor to upstream version. r=ng,webrtc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D185109
2023-08-08 20:54:31 +00:00
Cristian Tuns
700a5433ec Backed out changeset bba5882e4771 (bug 1845753) for causing mochitest failures in browser_alertDismissedAfterChangingPassword.js CLOSED TREE 2023-08-08 16:59:13 -04:00
Ryan Hunt
f9ff2f3a7f Bug 1845673 - wasm: Fix case in branch casts with stack results. r=yury
If there are stack results and the branch target has a different stack height
from the current code, baseline will invert the branch and use a stub to
adjust the stack before jumping to the target. It looks like we had a typo
and the branch code for casts would fail to invert the branch.

Differential Revision: https://phabricator.services.mozilla.com/D185437
2023-08-08 20:22:08 +00:00
Harshit Sohaney
d79723acb5 Bug 1840902 - Adjusted browser chrome tests under the Anti-tracking test suite to support only secure context storage access. r=bvandersloot
Depends on D182366

Differential Revision: https://phabricator.services.mozilla.com/D184979
2023-08-08 20:21:44 +00:00
Ryan Hunt
561fb781ba Bug 1845436 - wasm: Always use the first occuring type index when there is a canonical type. r=yury
Module serialization needs a map from type def pointer to type index. When we have
structurally identical type definitions, we have multiple options of what to use
in the map. Right now we used the last occuring type index in the module. This
caused us to encode type indices while serializing that point to types we haven't
decoded yet, running into errors. This commit changes us to keep the first type
index that we had for the canonical type, to avoid this.

Differential Revision: https://phabricator.services.mozilla.com/D185202
2023-08-08 20:20:35 +00:00
Ryan Hunt
0e950091a9 Bug 1843295 - wasm: Properly serialize GC subtype declarations. r=yury
We need to serialize/deserialize the (sub) declaration for GC types.

Differential Revision: https://phabricator.services.mozilla.com/D185197
2023-08-08 20:18:59 +00:00
Sidharth Sachdev
467ab4e9b2 Bug 1845753 - The tooltip does not show up for create new login. r=credential-management-reviewers,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D185438
2023-08-08 19:52:32 +00:00
Joel Maher
249198235a Bug 1844173 - correct help message for --enable-a11y-checks. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D185695
2023-08-08 19:49:23 +00:00
Gregory Pappas
b84e914119 Bug 1847674 - Hide 'Security Software' table on non-windows r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D185623
2023-08-08 19:49:20 +00:00
Thomas Wisniewski
c2ef40afe0 Bug 1397646 - return empty statusText for HTTP2 fetches and XMLHttpRequests; r=kershaw,necko-reviewers,sunil
Differential Revision: https://phabricator.services.mozilla.com/D184527
2023-08-08 19:47:39 +00:00
Marc Seibert
8b470bef89 Bug 1067293 - Omit "https://".r=dao
Differential Revision: https://phabricator.services.mozilla.com/D184933
2023-08-08 19:19:57 +00:00
Henrik Skupin
64034cc1f6 Bug 1847578 - [wdspec] Cleanup meta data for Linux. r=webdriver-reviewers,jdescottes
Depends on D185567

Differential Revision: https://phabricator.services.mozilla.com/D185669
2023-08-08 18:57:23 +00:00
Otto Länd
529c578ddc Bug 1568296: apply code formatting via Lando
# ignore-this-changeset
2023-08-08 19:03:46 +00:00
Byron Campen
f4d6283c34 Bug 1568296: Implement "stopping" state for RTCRtpTransceiver. r=jib,mjf,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D175261
2023-08-08 18:56:38 +00:00
Byron Campen
d8ce598494 Bug 1568296: Test cases for RTCRtpTransceiver.[[Stopping]]. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D175260
2023-08-08 18:56:37 +00:00
Mozilla Releng Treescript
cbdc1744cf no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
ach -> 45571c19643bfd5b6ddd4f45ca153d8dfeb95035
fr -> 265b8935bbf9010ee4aee0fdb12d7b28315df3c7
hsb -> 787f609e579130e69a50abfc25c86754bb715523
is -> 8e481109c5807b5998f21d465ceddf841049f45b
ka -> 813f0a936bdacde3e7df464aa343ce8122625a90
oc -> 1e5258d1efa18a6d8dbfd44769037316db585869
si -> a6e89b77a91aa48e9848c2db54cce3731f8c6c4c
sk -> 3faecdddfd7cb6cdc07a6f230046df551e6b47ff
zh-CN -> dc7df3eedf50e833a0efd360a7dcca1ba16ef71d
2023-08-08 18:59:42 +00:00
Cathie Chen
ab3d8905aa Bug 1829016 - The size of content-visibility auto does not refresh when its content changes, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D183414
2023-08-08 18:19:18 +00:00
Dana Keeler
86957e4c8d Bug 1838894 - webauthn: prevent dispatches to the IPC thread after threads have been shut down r=jschanck
Depends on D183057

Differential Revision: https://phabricator.services.mozilla.com/D185232
2023-08-08 18:00:21 +00:00
Dana Keeler
04a799be91 Bug 1838894 - update web platform test metadata r=jschanck
Depends on D162624

Differential Revision: https://phabricator.services.mozilla.com/D183057
2023-08-08 18:00:21 +00:00
Dana Keeler
0770ceacb5 Bug 1676679 - support virtual authenticator functions in webdriver r=webdriver-reviewers,jgraham,whimboo
Depends on D185198

Differential Revision: https://phabricator.services.mozilla.com/D162624
2023-08-08 18:00:21 +00:00
Dana Keeler
c8e50f054d Bug 1846574 - support webdriver webauthn virtual authenticator functions in marionette r=whimboo,webdriver-reviewers
Depends on D183893

Differential Revision: https://phabricator.services.mozilla.com/D185198
2023-08-08 18:00:20 +00:00
John Schanck
0f7dbdde55 Bug 1844136 - avoid the AuthenticatorService and Manager types from auth-rs. r=keeler
Depends on D183056

Differential Revision: https://phabricator.services.mozilla.com/D183893
2023-08-08 18:00:20 +00:00