Commit Graph

851646 Commits

Author SHA1 Message Date
Cristian Tuns
f5572b469f Backed out 2 changesets (bug 1266437, bug 1232918) for causing mochitest failures in test_autoplay_policy_key_blacklist.html CLOSED TREE
Backed out changeset 33e3c6593d4b (bug 1232918)
Backed out changeset 1b56e99dd221 (bug 1266437)
2023-08-03 23:29:52 -04:00
James Teh
4286f529f3 Bug 1846660 part 4: Implement IAccessibleTextSelectionContainer interface. r=nlapre
get_selections is largely based on the old IAccessible2_3::get_selectionRanges method.
However, this makes use of HyperTextAccessibleBase::CroppedSelectionRanges, which didn't exist before.
It has also been updated to return IAccessibleText pointers as required by the new interface.

setSelections is entirely new, but relies on existing mechanisms to convert offsets and to add and remove selections.

Differential Revision: https://phabricator.services.mozilla.com/D185135
2023-08-04 02:51:43 +00:00
James Teh
c36ade2bea Bug 1846660 part 3: Provide a way to safely get an Accessible from a COM pointer provided to us by a client. r=nlapre
IAccessibleTextSelectionContainer::setSelections passes us IAccessibleText COM pointers to identify the target Accessibles.
We need to safely get a Gecko Accessible from such a COM pointer.
The client could hand us anything, so it's not safe to just static_cast without being certain that it's one of our Accessibles.
Instead, we use an internal IID to validate that it's an MsaaAccessible and return the correct pointer, after which we can easily get the Accessible.

Differential Revision: https://phabricator.services.mozilla.com/D185134
2023-08-04 02:51:42 +00:00
James Teh
65cbecf6ad Bug 1846660 part 2: Add IAccessibleTextSelectionContainer interface. r=nlapre
This just adds the COM interface to the build system.
It will be implemented in an upcoming patch.

Differential Revision: https://phabricator.services.mozilla.com/D185133
2023-08-04 02:51:42 +00:00
James Teh
96cc6ec069 Bug 1846660 part 1: Remove deprecated IAccessible2_3 implementation and interface. r=nlapre
No clients actually use this due to inherent flaws.

Differential Revision: https://phabricator.services.mozilla.com/D185132
2023-08-04 02:51:42 +00:00
Dimi
decc95e13f Bug 1846954 - Add Dutch keywords for credit card expiration date r=mtigley,credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D185274
2023-08-04 02:21:35 +00:00
Natalia Csoregi
84729900a3 Backed out 4 changesets (bug 1846660) for causing bustage on ia2AccessibleTextSelectionContainer.h. CLOSED TREE
Backed out changeset c097c6502edc (bug 1846660)
Backed out changeset 9bf0e6ec2653 (bug 1846660)
Backed out changeset eb0515d87ee5 (bug 1846660)
Backed out changeset f12d2f98186b (bug 1846660)
2023-08-04 04:30:18 +03:00
Natalia Csoregi
71694581cd Bug 1804804 - Disable browser/components/newtab/test/browser/browser_aboutwelcome_upgrade_multistage_mr.js on Linux and Win 11 debug for having an extremely high failure rate. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D185376
2023-08-04 01:06:22 +00:00
Natalia Csoregi
549031031e Bug 1840718 - Disabled browser_extension_migration.js for having a high failure rate almost exclusively on Windows 11. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D185378
2023-08-04 01:06:17 +00:00
Glenn Watson
6ab57bb59e Bug 1847133 - Make build_mask_tasks a free function r=gfx-reviewers,lsalzman
This is rearranging code only, no functional change here. Landing
as a separate patch to make it easier to review the follow up patches
that rely on this change.

Differential Revision: https://phabricator.services.mozilla.com/D185374
2023-08-04 00:34:16 +00:00
Masayuki Nakano
035a69f44e Bug 1232918 - Map Windows Logo keys in Win/Linux to Meta and rename OSLeft/OSRight to MetaLeft/MetaRight r=smaug,webdriver-reviewers,jdescottes
When we implement `KeyboardEvent.key`, its value for Windows Logo key was
declared as `OS`, but now the spec declares it as `Meta`.

When we implement `KeyboardEvent.code`, its value for Windows Logo keys in
Win/Linux and Command keys in macOS are declared as `OSLeft`/`OSRight`, but
now the spec declares them as `MetaLeft`/`MetaRight`.

This patch remaps and renames them.

Differential Revision: https://phabricator.services.mozilla.com/D183481
2023-08-04 00:10:12 +00:00
Masayuki Nakano
0664d98bce Bug 1266437 - Drop "OS" modifier r=smaug,m_kato,karlt,Gijs
On Windows, Windows logo key was mapped to "OS" modifier, and on Linux,
it's same and the key is called "Super" and "Hyper".  That conformed to the
older UI Events spec.

However, UI Events declares that they should be mapped to "Meta" now and Chrome
handles it as the spec in Windows and Linux.  Therefore, we should align the
behavior to them.

Note that we've treated the legacy "Meta" modifier on Linux as DOM "Meta"
modifier state, and we'll keep this as-is because in Sun/Solaris keyboard
layout, they keys are mapped to the legacy "Meta".

Finally, the following check only `IsMeta()` but not `IsOS()`.  I think that
they should've checked `IsOS()` too.  Therefore, they will behave differently
in Windows and Linux.
* https://searchfox.org/mozilla-central/rev/9a4666e63199bd1bcfc9095f6efec3488c358458/dom/base/Element.cpp#3287-3288
* https://searchfox.org/mozilla-central/rev/9a4666e63199bd1bcfc9095f6efec3488c358458/dom/html/HTMLInputElement.cpp#3762-3764
* https://searchfox.org/mozilla-central/rev/9a4666e63199bd1bcfc9095f6efec3488c358458/dom/html/HTMLInputElement.cpp#3796-3806
* https://searchfox.org/mozilla-central/rev/9a4666e63199bd1bcfc9095f6efec3488c358458/dom/html/HTMLLabelElement.cpp#127-128
* https://searchfox.org/mozilla-central/rev/9a4666e63199bd1bcfc9095f6efec3488c358458/widget/gtk/nsGtkKeyUtils.cpp#1461-1462

Note that `KEY_NAME_INDEX_OS` will be removed in the patch for bug 1232918.

Differential Revision: https://phabricator.services.mozilla.com/D183480
2023-08-04 00:10:11 +00:00
Gregory Pappas
defc00a2b0 Bug 1846646 - Remove more prefs which don't do anything in GeckoView r=geckoview-reviewers,calu
Differential Revision: https://phabricator.services.mozilla.com/D185114
2023-08-03 23:20:38 +00:00
James Teh
074cfeaa5f Bug 1846660 part 4: Implement IAccessibleTextSelectionContainer interface. r=nlapre
get_selections is largely based on the old IAccessible2_3::get_selectionRanges method.
However, this makes use of HyperTextAccessibleBase::CroppedSelectionRanges, which didn't exist before.
It has also been updated to return IAccessibleText pointers as required by the new interface.

setSelections is entirely new, but relies on existing mechanisms to convert offsets and to add and remove selections.

Differential Revision: https://phabricator.services.mozilla.com/D185135
2023-08-03 23:00:01 +00:00
James Teh
5e107cd26a Bug 1846660 part 3: Provide a way to safely get an Accessible from a COM pointer provided to us by a client. r=nlapre
IAccessibleTextSelectionContainer::setSelections passes us IAccessibleText COM pointers to identify the target Accessibles.
We need to safely get a Gecko Accessible from such a COM pointer.
The client could hand us anything, so it's not safe to just static_cast without being certain that it's one of our Accessibles.
Instead, we use an internal IID to validate that it's an MsaaAccessible and return the correct pointer, after which we can easily get the Accessible.

Differential Revision: https://phabricator.services.mozilla.com/D185134
2023-08-03 23:00:01 +00:00
James Teh
b5c3023dfa Bug 1846660 part 2: Add IAccessibleTextSelectionContainer interface. r=nlapre
This just adds the COM interface to the build system.
It will be implemented in an upcoming patch.

Differential Revision: https://phabricator.services.mozilla.com/D185133
2023-08-03 23:00:00 +00:00
James Teh
85a75acb0e Bug 1846660 part 1: Remove deprecated IAccessible2_3 implementation and interface. r=nlapre
No clients actually use this due to inherent flaws.

Differential Revision: https://phabricator.services.mozilla.com/D185132
2023-08-03 23:00:00 +00:00
Mike Hommey
1635fd89ec Bug 1847107 - Allow one-off extra mozconfig content in mozharness. r=releng-reviewers,gbrown
This can be more versatile than having to add a new mozconfig variant,
especially when used via extra-config in the taskgraph, rather than via
mozharness configuration.

Differential Revision: https://phabricator.services.mozilla.com/D185355
2023-08-03 22:02:10 +00:00
Mike Hommey
9ca6daac34 Bug 1846904 - Switch fetch tasks to a Debian 12 docker image. r=taskgraph-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D185244
2023-08-03 21:57:08 +00:00
Mike Hommey
1873501d82 Bug 1846889 - Switch test-info tasks to a Debian 12 based docker image. r=taskgraph-reviewers,bhearsum
While we're here, add the missing pkgconf dependency that leads to
unrelated error messages in the task log when other problems happen
(like in bug 1813506).

Differential Revision: https://phabricator.services.mozilla.com/D185240
2023-08-03 21:56:44 +00:00
Mike Hommey
e84591bec3 Bug 1846874 - Switch tps-xpi task to a Debian 12 based docker image. r=taskgraph-reviewers,bhearsum
And because it doesn't actually require much, we can switch to the base
image rather than the build image.

Differential Revision: https://phabricator.services.mozilla.com/D185233
2023-08-03 21:56:20 +00:00
Mike Hommey
1a84f8b8bf Bug 1846865 - Switch release-notify-started task to a Debian 12 based docker image. r=taskgraph-reviewers,releng-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D185231
2023-08-03 21:53:58 +00:00
James Teh
e110b02d35 Bug 1846922: Allow QueryInterface to IAccessibleEditableText and IAccessibleHypertext2 for RemoteAccessible. r=nlapre
The methods have already been updated to used unified cross-platform methods.
All that was preventing these from working was the IsLocal restriction in QueryInterface.

Differential Revision: https://phabricator.services.mozilla.com/D185253
2023-08-03 21:53:57 +00:00
Karl Tomlinson
d6941e8614 Bug 1845811 test async AudioSink init failure with sync init success r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D185021
2023-08-03 21:50:53 +00:00
Mike Hommey
621fe0ff19 Bug 1846863 - Switch code-review-issues task to a Debian 12 based docker image. r=taskgraph-reviewers,bhearsum
As its command is doing nothing, we can even switch to a more basic
image.

Differential Revision: https://phabricator.services.mozilla.com/D185229
2023-08-03 21:40:59 +00:00
Daisuke Akatsuka
3f4b477036 Bug 1846894: Add 'Mozilla Developer Network' bottom text r=adw,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D185242
2023-08-03 21:36:07 +00:00
Mike Hommey
db59a0cc7d Bug 1846862 - Upgrade custom-v8 and custom-car docker images to Debian 12. r=taskgraph-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D185226
2023-08-03 21:32:51 +00:00
Matthew Gaudet
c890584e50 Bug 1847069 - Clarify TryFoldStub OOM handling r=iain
OOM Handling delenda est

Differential Revision: https://phabricator.services.mozilla.com/D185328
2023-08-03 21:14:10 +00:00
Andrew Halberstadt
e1235550bb Bug 1839891 - [ci] Convert mar-signing tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum
Depends on D185123

Differential Revision: https://phabricator.services.mozilla.com/D185124
2023-08-03 20:40:00 +00:00
Andrew Halberstadt
036a474e7b Bug 1839891 - [ci] Convert partials tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum
Depends on D185086

Differential Revision: https://phabricator.services.mozilla.com/D185123
2023-08-03 20:40:00 +00:00
Andrew Halberstadt
326fa09f10 Bug 1839891 - [ci] Convert repackage-signing tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D185086
2023-08-03 20:40:00 +00:00
Andrew Halberstadt
0378d8c2ad Bug 1839891 - [ci] Convert release-beetmover-signed-langpacks-checksums tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D185085
2023-08-03 20:39:59 +00:00
Andrew Halberstadt
08ed2503cb Bug 1839891 - [ci] Convert geckodriver-signing tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D185084
2023-08-03 20:39:59 +00:00
Andrew Halberstadt
2df0d106aa Bug 1839891 - [ci] Convert release-*-repack-beetmover tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum
Depends on D185082

Differential Revision: https://phabricator.services.mozilla.com/D185083
2023-08-03 20:39:59 +00:00
Andrew Halberstadt
f1c1ff15fe Bug 1839891 - [ci] Convert release-*-repack-repackage-signing tasks to 'from_deps' transforms, r=releng-reviewers,taskgraph-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D185082
2023-08-03 20:39:59 +00:00
moz-wptsync-bot
b94d86007d Bug 1846896 - [wpt-sync] Update web-platform-tests to 4b2a0c077ef98878f366cbbb0f1a3504cb6c7454, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 4b2a0c077ef98878f366cbbb0f1a3504cb6c7454
wpt-type: landing
2023-08-03 20:25:29 +00:00
Rakina Zata Amni
4ffddf3113 Bug 1845888 [wpt PR 41216] - Wait for load event in undo-redo.html, a=testonly
Automatic update from web-platform-tests
Wait for load event in undo-redo.html

This test expects navigation by modifying srcdoc to be synchronous, but
it's not, causing the test to continue before the navigation finishes,
which is exacerbated if the navigation changes LocalFrame due to
RenderDocument.

This CL makes this test wait for the load event to make it not flaky.

Bug: 936696
Change-Id: I7a81484e012f2f62c430e80ee50d5935ac27da52
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4728588
Reviewed-by: Mingyu Lei <leimy@chromium.org>
Commit-Queue: Rakina Zata Amni <rakina@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1176505}

--

wpt-commits: 4b2a0c077ef98878f366cbbb0f1a3504cb6c7454
wpt-pr: 41216
2023-08-03 20:25:28 +00:00
moz-wptsync-bot
40f7403161 Bug 1842929 [wpt PR 40975] - Update wpt metadata, a=testonly
wpt-pr: 40975
wpt-type: metadata
2023-08-03 20:25:27 +00:00
Joey Arhar
735fccb97e Bug 1842929 [wpt PR 40975] - CSSTransitionDiscrete: add transition-animation-type to transition shorthand, a=testonly
Automatic update from web-platform-tests
CSSTransitionDiscrete: add transition-animation-type to transition shorthand

This patch implements the proposed transition shorthand for
transition-animation-type:
https://github.com/w3c/csswg-drafts/issues/8857#issuecomment-1629501707

Bug: 1453112
Change-Id: I2f15592de8d9b74be864bd0e0c0eec9d2de77b73
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4679218
Reviewed-by: David Baron <dbaron@chromium.org>
Commit-Queue: David Baron <dbaron@chromium.org>
Auto-Submit: Joey Arhar <jarhar@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1176392}

--

wpt-commits: 777bad789677c93a78ac65101d618d2c9e4ac998
wpt-pr: 40975
2023-08-03 20:25:27 +00:00
moz-wptsync-bot
8b429b87d8 Bug 1845867 [wpt PR 41214] - Update wpt metadata, a=testonly
wpt-pr: 41214
wpt-type: metadata
2023-08-03 20:25:26 +00:00
Domenic Denicola
b0ac6ada2e Bug 1845867 [wpt PR 41214] - CloseWatcher: split up basic.html web platform test, a=testonly
Automatic update from web-platform-tests
CloseWatcher: split up basic.html web platform test

Contrary to its name, basic.html had grown to be a grab-bag of tests.
This takes the first step of splitting it up, creating a separate test
for event properties, and one for what happens when you invoke various
CloseWatcher methods inside event listeners.

event-properties.html is slightly more comprehensive than the test
previously in basic.html, in that it also tests the cancel event's
properties.

inside-event-listeners.html is more exhaustive than the tests previously
in basic.html. It uses the createRecordingCloseWatcher helper to check
the exact events that are fired, and confirm that destroyed close
watchers stay destroyed.

Bug: 1171318
Change-Id: If32f9fbe29482735a82c982c90fe239f6a1edc7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4722573
Commit-Queue: Domenic Denicola <domenic@chromium.org>
Reviewed-by: Nate Chapin <japhet@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1176386}

--

wpt-commits: d5c4e9b3ef79ee0fd420e3ce477c10fb1ab5ff8d
wpt-pr: 41214
2023-08-03 20:25:25 +00:00
Dominic Farolino
d6355fe9bc Bug 1845826 [wpt PR 41209] - WPT: about:srcdoc?query is an unresolvable URL, a=testonly
Automatic update from web-platform-tests
WPT: about:srcdoc?query is an unresolvable URL

This modifies the tests added in https://crrev.com/c/2831536 that test
various navigate-to-about:srcdoc scenarios that should result in error
documents, and adds an about:srcdoc => about:srcdoc?foo test.

R=domenic@chromium.org

Bug: 1169736
Change-Id: I4378b45d888f00904adc8f6704de8f20247abbbd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4725289
Commit-Queue: Domenic Denicola <domenic@chromium.org>
Reviewed-by: Domenic Denicola <domenic@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1176369}

--

wpt-commits: d1a0f7248764a85756b55e57897d9201c779cc20
wpt-pr: 41209
2023-08-03 20:25:25 +00:00
moz-wptsync-bot
3f75826feb Bug 1840998 [wpt PR 41148] - [Gecko Bug 1840998] [wdspec] Add support for "clip" argument to bidi test client., a=testonly
Automatic update from web-platform-tests
[wdspec] Add support for "clip" argument to bidi test client.

Differential Revision: https://phabricator.services.mozilla.com/D183399

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1840998
gecko-commit: a5803246392a08af19b81c8f322a7cd38a91a8e3
gecko-reviewers: webdriver-reviewers, jgraham

--
[wdspec] Add tests for "clip" argument for "browsingContext.captureScreenshot" command.

Differential Revision: https://phabricator.services.mozilla.com/D183400

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1840998
gecko-commit: 025309173bc88679b09e65dfe26ac013aa8dc478
gecko-reviewers: webdriver-reviewers, jgraham

--

wpt-commits: f93ba5b976991d9ca9ea7e3187bdfd8dcf1e885c, cbfd5c6b13d82d1306ba42e5d0beb1acc9e0dd67
wpt-pr: 41148
2023-08-03 20:25:24 +00:00
Julian Descottes
e0a252d010 Bug 1847044 - [bidi] Force a reflow on contexts created by browsingContext.create r=webdriver-reviewers,whimboo
This prevents intermittent failure where measuring the content window size right after creating a tab could return incorrect values.

Differential Revision: https://phabricator.services.mozilla.com/D185312
2023-08-03 20:20:26 +00:00
James Graham
1a2d6b4b8c Bug 1847038 - Bump mozrunner version number for release, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D185309
2023-08-03 20:01:36 +00:00
Rob Lemley
4a65b455c4 Bug 1844662 - [mach vendor] Warn if replace-in-file finds a match but no changes were made. r=tjr
If replace-in-file[-regex] doesn't make any changes it throws an Exception
thinking that no match was found. In some cases the replacement could be the
same as the matched text. In this case, warn but don't raise an exception.

Non-regex patterns are escaped with re.escape() to simplify the function a bit.

Differential Revision: https://phabricator.services.mozilla.com/D184165
2023-08-03 19:55:56 +00:00
Kagami Sascha Rosylight
9308e83bc6 Bug 1844843 - Remove warning about targeting Android on Windows r=m_kato,nalexander DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D185162
2023-08-03 19:35:46 +00:00
Steve Fink
35da906445 Bug 1838827 - HashTable::reserve() should always report an error on failure r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D185191
2023-08-03 19:16:02 +00:00
Gregory Pappas
47a1fa0853 Bug 1846476 - Remove ui.osk.require_win10 pref r=rkraesig,Gijs,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D185199
2023-08-03 19:07:25 +00:00
Gregory Pappas
71523a9387 Bug 1846934 - Remove IE7FormPasswords migrator r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D185267
2023-08-03 19:07:06 +00:00