Граф коммитов

821420 Коммитов

Автор SHA1 Сообщение Дата
Barret Rennie bfcf8f3747 Bug 1802605 - Use SpecialPowers.Services.env in gfx tests r=botond
Differential Revision: https://phabricator.services.mozilla.com/D163249
2022-11-28 20:39:38 +00:00
Lee Salzman 06f0c7307f Bug 1802625 - Hide GPU path stroking behind a pref. r=jrmuizel
It seems like this is slow for now until we implement a better way than WPF-gpu-raster
for stroking paths. Just hide this behind a pref so we can at least test it but not
impact performance as badly.

Differential Revision: https://phabricator.services.mozilla.com/D163248
2022-11-28 20:31:02 +00:00
William Durand 269939beda Bug 1800109 - Add a test that checks that overflowed toolbar items in the addons area can be unpinned via a context menu. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D163244
2022-11-28 20:24:59 +00:00
Emilio Cobos Álvarez e79a885b1e Bug 1802706 - Convert site data settings confirmation dialog to modern flex layout. r=mconley,settings-reviewers
TIL we had preferences dialogs that weren't subdialogs!

`contain: size` obviously doesn't work on those, and since they're not
subdialogs they don't have the "make them scroll if too tall" code,
causing this.

Converting this one is trivial tho, so do that.

Differential Revision: https://phabricator.services.mozilla.com/D163250
2022-11-28 20:08:41 +00:00
Butkovits Atila 80588bf3b3 Backed out changeset 8742903f6f19 (bug 1800954) for causing linting failures. CLOSED TREE 2022-11-28 22:17:16 +02:00
James Teh d57c59f0a8 Bug 1802040: Fix cleanup of DocAccessibleParent on Android. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D163260
2022-11-28 19:59:38 +00:00
Sammy Khamis 79b32e1486 Bug 1801024: Log at info level instead of error when an unexpected engine syncs r=markh
Differential Revision: https://phabricator.services.mozilla.com/D162754
2022-11-28 19:58:31 +00:00
Gijs Kruitbosch a8725d77c0 Bug 1800954 - update mots and moz.build metadata for uriloader folder, r=nika,mak,valentin,zeid
Differential Revision: https://phabricator.services.mozilla.com/D163114
2022-11-28 19:48:17 +00:00
James Teh 218dae1d78 Bug 1801907: Fail gracefully (don't crash) if a caller passes an invalid end offset to HyperTextAccessibleBase::TextBounds. r=morgan
This was causing crashes with Orca in some cases.

Differential Revision: https://phabricator.services.mozilla.com/D163243
2022-11-28 19:31:27 +00:00
Butkovits Atila 5442c92e67 Backed out changeset 5d4bbe51337a (bug 1219128) for causing SM bustages. CLOSED TREE 2022-11-28 21:17:38 +02:00
Mozilla Releng Treescript 5f7cfc5114 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
de -> b31e37a2b6a3463594ce009f65e269eadb943187
fi -> d587416197fd811365e2eeba5f50d7419e62f769
fr -> 676efd86df72b537f05316d787ad1f8d27c3c563
lo -> 0fdffb79fa5e2cfaa3c3cb5e5eaa28204a575f59
oc -> 86b5c7672fe8b13c6148353e3679045210f6dc26
th -> d1046e4e0b23243c7b17a035f7b33e0685fdf4d6
2022-11-28 19:04:57 +00:00
Nicolas B. Pierron 6a9581d053 Bug 1219128 - Initialize Object and Function constructors when creating globals. r=jandem
Object and Function prototype initialization is stateful, and mutate the global
as it is initializing the content of the Global. Attempts at making this process
transactional was not successful.

Thus, `JSProto_Object` and `JSProto_Function` are now initialized as part of the
Global creation.

Failures to initialize the global might lead to have a Realm with a partially
initialized global. Such realm appears to have a valid global using
`hasLiveGlobal()`. When catching failures, such global might still be used
despite being partially initialized. A new field `initializingGlobal_` is added
to `Realm` to track whether the global is live or not. Failures to comply with
this requirement would cause the garbage collector to reclaim the Realm and
global in case of failure. This should be avoided during the initialization as
the global is rooted by the `GlobalObject::new_` function.

Differential Revision: https://phabricator.services.mozilla.com/D163016
2022-11-28 18:43:49 +00:00
Iain Ireland c54d994a5c Bug 1800514: Don't unbox in GuardMultipleShapes r=jandem
I was already staring at register allocation in this function, so it seemed like a reasonable time to fix this.

Depends on D163154

Differential Revision: https://phabricator.services.mozilla.com/D163155
2022-11-28 18:33:43 +00:00
Iain Ireland 4a88efa625 Bug 1671228: Part 8: Reduce register pressure in CloseIter r=jandem
An xpcshell test on 32-bit windows ran out of registers because we folded a shapeguard in a CloseIter IC and the tag register of the input operand wasn't marked as available.

Differential Revision: https://phabricator.services.mozilla.com/D163154
2022-11-28 18:33:42 +00:00
Iain Ireland 234259bbc7 Bug 1671228: Part 7: Handle cross-compartment shapes r=jandem
In the cross-compartment wrapper case, we can end up with shapes from a different compartment. The easiest fix to do is just not fold.

Differential Revision: https://phabricator.services.mozilla.com/D163027
2022-11-28 18:33:42 +00:00
Iain Ireland b3054e7ac9 Bug 1671228: Part 6: Add tests r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D160933
2022-11-28 18:33:41 +00:00
Iain Ireland 99a7a3dfd3 Bug 1671228: Part 5: Try folding stubs before transitioning IC state r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D160932
2022-11-28 18:33:41 +00:00
Iain Ireland bc1687f13a Bug 1671228: Part 4: Add shapes to existing GuardMultipleShapes r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D160931
2022-11-28 18:33:41 +00:00
Iain Ireland 3ef41c5336 Bug 1671228: Part 3: Transpile GuardMultipleShapes r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D160930
2022-11-28 18:33:40 +00:00
Iain Ireland 8bbc2d9f7a Bug 1671228: Part 2: Implement TryFoldingStubs r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D160929
2022-11-28 18:33:40 +00:00
Iain Ireland 4d46ecd106 Bug 1671228: Part 1: Add GuardMultipleShapes r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D160928
2022-11-28 18:33:39 +00:00
Butkovits Atila 7d91cd9804 Backed out 2 changesets (bug 1799823, bug 1782990) for causing Geckoview failures. CLOSED TREE
Backed out changeset de83175de08f (bug 1799823)
Backed out changeset a3aa0125da04 (bug 1782990)
2022-11-28 20:47:28 +02:00
Otto Länd e89fe78030 No bug: apply code formatting via Lando
# ignore-this-changeset

Output from `mach lint`:

error: problem with lint setup, skipping android-api-lint, android-checkstyle, android-format, android-javadoc, android-lint, android-test
✖ 0 problems (0 errors, 4 warnings, 4 fixed)
2022-11-28 18:10:06 +00:00
Tom Ritter be7ba26ef8 Bug 1778510: Add the actual content of the animation API test r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D157568
2022-11-28 18:04:17 +00:00
Tom Ritter b120dfce03 Bug 1778510: Add a framework for a test that will test the animation APIs r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D157567
2022-11-28 18:04:16 +00:00
Tom Ritter 4ee900c7db Bug 1778510: Remove a time precision test that no longer works and is superseded r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D156516
2022-11-28 18:04:16 +00:00
Tom Ritter 3fd7d7c759 Bug 1778510: Add tests that exercise RFP exemptions r=timhuang
We now need to check if a value is rounded to the RFP
value (16.67ms) or the baseline RTP value (default 1 ms).
To do this we pass both precisions in extraData.

We also need to communicate the expected behavior of rounding,
that is if RFP should apply for this test set. Typically we
would know this based on the expectedValues which are supplied
to the testFunction (as in the navigator test) - but here we
don't know the expected values ahead of time - we're testing if
timer values are properly rounded. Therefore we need to add
a boolean (in each test) that indicates if RFP is expected to
apply for this test.

Differential Revision: https://phabricator.services.mozilla.com/D156515
2022-11-28 18:04:16 +00:00
Tom Ritter ae08b298ec Bug 1778510: Refactor the test sets to be much more terse r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D156514
2022-11-28 18:04:15 +00:00
Tom Ritter 78a6c4fe91 Bug 1778510: Extend the RTP test to another testset r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D156513
2022-11-28 18:04:15 +00:00
Tom Ritter 45e2aea80a Bug 1778510: Make the RTP test actually test something r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D156512
2022-11-28 18:04:14 +00:00
Tom Ritter 03c338c70c Bug 1778510: Create the reduce time precision test outline r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D156511
2022-11-28 18:04:14 +00:00
Tom Ritter 2bcae5a10b Bug 1778510: Improve the shared test infrastructure r=timhuang
This commit moves the test description from the test file
to the shared infrastructure.

It also adds two parameters to the set of shared tests:
extraData and extraPrefs.  extraData is data passed through
to the validation function (mostly) unchanged and unused.
extraPrefs are prefs that applied (and removed) before executing
the test.

Finally, increase the timeout because this is a big test and
it occassionally runs slight over 45 seconds.

Differential Revision: https://phabricator.services.mozilla.com/D156510
2022-11-28 18:04:13 +00:00
Tom Ritter c987f9431b Bug 1778510: Rename a navigator test file to make a consistent naming scheme r=timhuang
Rename browser_navigator_header.sjs to file_navigator_header.sjs
This way all support files for the test begin with file_ and only
test files begin with browser_

Differential Revision: https://phabricator.services.mozilla.com/D156509
2022-11-28 18:04:13 +00:00
Tom Ritter 53b4389522 Bug 1778510: Cut Event over to new Timer Design r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D156508
2022-11-28 18:04:13 +00:00
Tom Ritter 8f9beca6dc Bug 1778510: Cut over Blob Timestamps to the new design r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D156507
2022-11-28 18:04:12 +00:00
Tom Ritter b548f43162 Bug 1778510: Cut browser_navigator_iframes.js over to a more shared framework r=timhuang
This way we can use it in more tests.

Differential Revision: https://phabricator.services.mozilla.com/D156506
2022-11-28 18:04:12 +00:00
Tom Ritter 3892c15bb3 Bug 1778510: Cut over RTCStatsReport to use the new TimePrecision design r=jesup
Differential Revision: https://phabricator.services.mozilla.com/D156505
2022-11-28 18:04:12 +00:00
Tom Ritter 32d4a29f8d Bug 1778510: Improve the comment on a short-circuit check we still haven't solved r=sefeng
Depends on D151307

Differential Revision: https://phabricator.services.mozilla.com/D151308
2022-11-28 18:04:11 +00:00
Tom Ritter 2b467ece7c Bug 1778510: Cut over a bunch of performance time precision calls to use the new calling convention r=sefeng
Depends on D151306

Differential Revision: https://phabricator.services.mozilla.com/D151307
2022-11-28 18:04:11 +00:00
Tom Ritter 1590fa267d Bug 1778510: Change Performance objects from taking SystemPrincipal bool to a Timer Caller Type r=sefeng,asuth
The System Principal boolean was only used for RFP purposes.
We replace it with an RTPCallerType and populate it not in
the Performance ctor but rather in the CreateFor methods
that will populate it based on the context of their
construction.

Depends on D151305

Differential Revision: https://phabricator.services.mozilla.com/D151306
2022-11-28 18:04:10 +00:00
Tom Ritter a7b0e00fec Bug 1778510: Cut over AudioContext to new fine-grained Timer Precision calls r=padenot
Depends on D151304

Differential Revision: https://phabricator.services.mozilla.com/D151305
2022-11-28 18:04:10 +00:00
Tom Ritter 1759e3416e Bug 1778510: Cut over AnimationEffect to new fine-grained TimerPrecision calls r=birtles
Depends on D151303

Differential Revision: https://phabricator.services.mozilla.com/D151304
2022-11-28 18:04:10 +00:00
Tom Ritter 12d8047690 Bug 1778510: Add Timer Caller Type to AnimationTimeline r=birtles
Depends on D151301

Differential Revision: https://phabricator.services.mozilla.com/D151302
2022-11-28 18:04:09 +00:00
Tom Ritter 9e5db62471 Bug 1778510: Use the Timer Caller Type in Animation's timestamp code r=birtles
Depends on D151300

Differential Revision: https://phabricator.services.mozilla.com/D151301
2022-11-28 18:04:09 +00:00
Tom Ritter 3376fbf283 Bug 1778510: Add a Timer Caller Type to Animation r=birtles
This will be needed for the various Timestamp related
members of Animations.

Depends on D151299

Differential Revision: https://phabricator.services.mozilla.com/D151300
2022-11-28 18:04:08 +00:00
Tom Ritter 30e7ce3e79 Bug 1778510: Fix thread requirements for WorkerNavigator r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D157566
2022-11-28 18:04:08 +00:00
Tom Ritter c30a2c6a5f Bug 1778510: Update the WorkerScope Vsync method to use fine-grained RFP information r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D151309
2022-11-28 18:04:08 +00:00
Tom Ritter ac99f3d481 Bug 1778510: Cut ConnectionWorker over to GlobalScope()->ShouldRFP() r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D157565
2022-11-28 18:04:07 +00:00
Tom Ritter d54e4c9877 Bug 1778510: Add RTPCallerType to GlobalObject r=asuth
This centralizes the logic in one place.

In order to do this, we will need to check the principal
off-main thread. (Well, we need to know if it's System
Principal.)  Worker and Worklet need special ways to do
this, so create a virtual method for it and let them
override it.  This is analogous to the ShouldRFP method
on GlobalObject.

Differential Revision: https://phabricator.services.mozilla.com/D157564
2022-11-28 18:04:07 +00:00
Tom Ritter 9dcc060835 Bug 1778510: Add a CallerType to ReduceTimePrecision functions r=timhuang
Along the way we remove the calls to JS::SetTimeResolutionUsec.
This function is used to set values that are only used when
we don't have a ReuceTimerPrecision callback, which we always do
(as confirmed by coverage.)  This in turns lets us remove some
other code.

Depends on D151298

Differential Revision: https://phabricator.services.mozilla.com/D151299
2022-11-28 18:04:06 +00:00