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

756197 Коммитов

Автор SHA1 Сообщение Дата
Daisuke Akatsuka 459dae23fa Bug 1511062: Apply bookmark-moved event. r=mak
Depends on D102573

Differential Revision: https://phabricator.services.mozilla.com/D102574
2021-05-06 02:29:44 +00:00
Daisuke Akatsuka 832afb7a7e Bug 1511062: Implement a mechanism to fire bookmark-moved event. r=mak
Depends on D102572

Differential Revision: https://phabricator.services.mozilla.com/D102573
2021-05-06 02:29:43 +00:00
Daisuke Akatsuka b45071c413 Bug 1511062: Remove old/new parent id from onItemMoved in nsINavBookmarkObserver. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D102572
2021-05-06 02:29:43 +00:00
Kagami Sascha Rosylight 20c1c01092 Bug 1707590 - Part 4: Add image/jxl to Accept header and DownloadsViewableInternally r=necko-reviewers,dragana
Depends on D113360

Differential Revision: https://phabricator.services.mozilla.com/D113688
2021-05-06 02:00:58 +00:00
Kagami Sascha Rosylight cd4260e05a Bug 1707590 - Part 3: Add feature gate for JXL r=tnikkel,fluent-reviewers,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D113360
2021-05-06 02:00:58 +00:00
Kagami Sascha Rosylight 7b88bc8e6d Bug 1707590 - Part 2: Implement nsJXLDecoder r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D113359
2021-05-06 02:00:57 +00:00
Kagami Sascha Rosylight 046e7fa5e8 Bug 1707590 - Part 1: Add vendored libjxl source r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D113358
2021-05-06 02:00:55 +00:00
Noemi Erli 13aa18b8d4 Backed out 4 changesets (bug 1707590) for causing gtest crashes CLOSED TREE
Backed out changeset 3bd322893127 (bug 1707590)
Backed out changeset 8cc3eaf728b6 (bug 1707590)
Backed out changeset 21f41a9df048 (bug 1707590)
Backed out changeset 3201d860afef (bug 1707590)
2021-05-06 04:57:44 +03:00
Sean Feng f6a4e52580 Bug 1706132 - Suppress the ErrorResult in EventCounts::EventCounts r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D114122
2021-05-06 01:36:51 +00:00
Paul Bone 6191ca4916 Bug 1709526 - Fix all the lint errors for .ini files in dom/ r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D114321
2021-05-06 01:29:31 +00:00
Emilio Cobos Álvarez 9350df750c Bug 1709634 - Fix -moz-accent-color on macOS. r=mstange,mac-reviewers
When I initially implemented it for GTK, I just followed the Highlight color
everywhere, but on macOS it makes of course a lot of sense to use
NSColor.controlAccentColor.

Differential Revision: https://phabricator.services.mozilla.com/D114430
2021-05-06 01:22:53 +00:00
Kagami Sascha Rosylight 3c602f8e43 Bug 1707590 - Part 4: Add image/jxl to Accept header and DownloadsViewableInternally r=necko-reviewers,dragana
Depends on D113360

Differential Revision: https://phabricator.services.mozilla.com/D113688
2021-05-06 01:14:22 +00:00
Kagami Sascha Rosylight 5c7898870b Bug 1707590 - Part 3: Add feature gate for JXL r=tnikkel,fluent-reviewers,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D113360
2021-05-06 01:14:22 +00:00
Kagami Sascha Rosylight 46370f6828 Bug 1707590 - Part 2: Implement nsJXLDecoder r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D113359
2021-05-06 01:14:21 +00:00
Kagami Sascha Rosylight 626cb0e6e1 Bug 1707590 - Part 1: Add vendored libjxl source r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D113358
2021-05-06 01:14:20 +00:00
Emilio Cobos Álvarez 8fb52356f4 Bug 1708303 - Fix scroll-margin implementation. r=hiro
So that margin is not included in the rect for visibility calculations,
and padding and margin are accounted properly on them.

Differential Revision: https://phabricator.services.mozilla.com/D113853
2021-05-06 00:54:14 +00:00
Jeff Gilbert 4a8c88c707 Bug 1655000 - Use same function for getting size as reading into buffer. r=lsalzman
Previously we called GetFrontBufferSize, alloc'd a buffer, and called
FrontBufferSnapshotInto to read into the buffer.
Now, call FrontBufferSnapshotInto({}) to get size, and then alloc and
pass pointer to newly alloc'd data into
FrontBufferSnapshotInto(Some(ptr)).
Using the same function for both means that logic can't diverge and
cause mismatch bugs.

Differential Revision: https://phabricator.services.mozilla.com/D113611
2021-05-06 00:22:42 +00:00
Csoregi Natalia 8cad1a2512 Backed out 2 changesets (bug 1709484, bug 1709474) for geckoview fails on testDeviceRecordingEventAudioAndVideo. CLOSED TREE
Backed out changeset 069415280f6d (bug 1709474)
Backed out changeset 3853186911c9 (bug 1709484)
2021-05-06 03:38:52 +03:00
Botond Ballo dd3568ce15 Bug 1681595 - Use promiseApzFlushedRepaints() after setting up a configuration in helper_touch_action_complex.html. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D114405
2021-05-05 23:33:04 +00:00
Karl Tomlinson 10fe97e403 Bug 1709474 move mozGetUserMediaDevices from Navigator to GetUserMediaRequest r=jib,webidl,geckoview-reviewers,smaug,agi
Differential Revision: https://phabricator.services.mozilla.com/D111565
2021-05-05 23:04:13 +00:00
Karl Tomlinson 57e201057c Bug 1709484 Move eUseCounter_custom_MozGetUserMediaInsec from mozGetUserMediaDevices to mozGetUserMedia r=jib
Differential Revision: https://phabricator.services.mozilla.com/D114291
2021-05-05 23:04:12 +00:00
Barret Rennie 154e0379e9 Bug 1705484 - Remove OS.* from most IOUtils tests r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D113451
2021-05-05 23:00:22 +00:00
Noemi Erli 3487bbd1ee Backed out 4 changesets (bug 1707590) for causing gtest crashes CLOSED TREE
Backed out changeset 6edab66fe2c5 (bug 1707590)
Backed out changeset e5d2d6824408 (bug 1707590)
Backed out changeset 9c7204c3f03c (bug 1707590)
Backed out changeset 25da391baa22 (bug 1707590)
2021-05-06 02:07:42 +03:00
Kagami Sascha Rosylight 56860e5d49 Bug 1707590 - Part 4: Add image/jxl to Accept header and DownloadsViewableInternally r=necko-reviewers,dragana
Depends on D113360

Differential Revision: https://phabricator.services.mozilla.com/D113688
2021-05-05 21:44:09 +00:00
Kagami Sascha Rosylight 60b85f2b4c Bug 1707590 - Part 3: Add feature gate for JXL r=tnikkel,fluent-reviewers,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D113360
2021-05-05 21:44:08 +00:00
Kagami Sascha Rosylight c0edfd67fc Bug 1707590 - Part 2: Implement nsJXLDecoder r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D113359
2021-05-05 21:44:08 +00:00
Kagami Sascha Rosylight 42b950a045 Bug 1707590 - Part 1: Add vendored libjxl source r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D113358
2021-05-05 21:44:06 +00:00
Csoregi Natalia d1bbd6e368 Backed out 2 changesets (bug 1693250) for failures on test_recreate_media_sink_audible_change.html. CLOSED TREE
Backed out changeset 0e0f90271853 (bug 1693250)
Backed out changeset 45cd86944c9f (bug 1693250)
2021-05-06 01:14:51 +03:00
Csoregi Natalia eade4ff9c4 Merge mozilla-central to autoland. CLOSED TREE 2021-05-06 01:00:21 +03:00
Noemi Erli b7da3f34ee Backed out changeset f45996fe15b2 (bug 1618547) for causing failures in browser_ProcessPriorityManager.js CLOSED TREE 2021-05-06 00:53:54 +03:00
Csoregi Natalia 3151f97de2 Merge autoland to mozilla-central. a=merge 2021-05-06 00:50:58 +03:00
Nicolas Silva 141d788226 Bug 1708540 - Handle and test various NaN situations with gradients. r=gfx-reviewers,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D114366
2021-05-05 21:28:34 +00:00
Nicolas Silva fc544d4e99 Bug 1708122 - Fix the radial gradient optimization. r=gfx-reviewers,lsalzman
The bounds of a radial gradient primitive's radius have to be scaled by the end_offset parameter.

Differential Revision: https://phabricator.services.mozilla.com/D114344
2021-05-05 21:27:34 +00:00
Dão Gottwald bf05d4e1a2 Bug 1699703 - Re-enable canonical URL conversion for search shortcuts. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D113972
2021-05-05 21:24:45 +00:00
Nicolas Silva 4b2e532f46 Bug 1708959 - Fix linear gradient clipping in the fast path. r=gfx-reviewers,gw
Some code in the gradient fast path was expecting that at a certain point we'd either have bailed out of the optimization or the primitive bounds would be tightly clipped. It was possible with a combination of parameters to have a tile repetition that would prevent the tight clipping while being opitmized away after the attempt at clipping. In that case the primitive bounds wouldn't be minimal but we proceed using it as the clip while decomposing gradients into simpler segments.

This patch reorders the optimization code so that clipping is done after sanitizing repetitions, allows the clipping to happen in more cases and as an extra safety uses the intersection of the primitive bounds and clip as the segment clip regardless of whether we achieved a minimal clip earlier.

Differential Revision: https://phabricator.services.mozilla.com/D114255
2021-05-05 21:24:15 +00:00
Daniel Holbert bba1038925 Bug 1706542: Add a short executeSoon delay to test_filter_crossorigin.html, as a possible workaround/diagnostic. r=emilio
This test has a fission-specific failure right now, where the failure looks
like a case where the cross-origin resource simply hasn't loaded, or hasn't
loaded *yet*.

This patch adds a short delay (60 "executeSoon" ticks, each of which spin the
event loop). This doesn't make the test take appreciably longer on my machine,
but it does introduce a short delay. If it helps, it'll let us know that
there's simply a race condition which is causing this test's snapshots to be
taken before its iframes' resources are ready.

Differential Revision: https://phabricator.services.mozilla.com/D114285
2021-05-05 21:23:47 +00:00
Mike Hommey 8189f56cd9 Bug 1599574 - Avoid re-running clang-plugin tests. r=firefox-build-system-reviewers,andi,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D114320
2021-05-05 21:21:11 +00:00
Daisuke Akatsuka c5a6496e3e Bug 1707424: Use color of --toolbarbutton-icon-fill-attention for all of bookmark star image in urlbar related.r=harry,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D113901
2021-05-05 21:09:15 +00:00
Nika Layzell e6838de735 Bug 1535913 - Orchestrate content BCG destruction from parent, r=farre
This should help avoid crashes caused when the content process has
already destroyed a BCG when the parent process hasn't yet. The BCG will
still be destroyed when the content process shuts down using normal
cycle-collection.

Differential Revision: https://phabricator.services.mozilla.com/D113828
2021-05-05 21:00:05 +00:00
Aaron Klotz d83342602d Bug 1699464: Set GV content process count to 2 across all release channels; r=geckoview-reviewers,agi
I'm changing this to be unconditional so that it may ride the trains.

If we later decide that we need to hold it back for another release, we can
revert this in Beta.

I'm talking to data people about analyzing Fenix's tab retention probes. I'll
obviously be keeping an eye on those numbers as this change propagates.

Differential Revision: https://phabricator.services.mozilla.com/D114404
2021-05-05 20:58:33 +00:00
Morgan Reschenberg 36e9e6e30a Bug 1694569: Introduce tree size logging under A11YLOG r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D114168
2021-05-05 20:56:06 +00:00
Mike Conley 9a8ef4eb3c Bug 1695617 - Make sure subview subheader elements use the XUL box model. r=Gijs
It seems that we've hit another instance of the XUL box model interacting poorly
with the HTML box model in mysterious ways. In this particular case, the <h2>
elements for subview subheaders was using the HTML box model while inside of
a tree of XUL box elements, and this was causing an incorrect height calculation
for the containing scrollable node, the panel-subview-body.

Switching the h2 element to use the XUL box model appears to fix this.

Differential Revision: https://phabricator.services.mozilla.com/D114384
2021-05-05 20:42:17 +00:00
Mike Hommey cef1079f4a Bug 1709282 - Build geckodriver when targeting aarch64 windows. r=firefox-build-system-reviewers,mhentges
We got rid of winapi 0.2 in bug 1708634.

Differential Revision: https://phabricator.services.mozilla.com/D114204
2021-05-05 20:32:37 +00:00
Andrew McCreight 063f9001b0 Bug 1618547 - Support Fission in the process priority manager. r=kmag,gsvelto
With Fission, there can be multiple BrowserParents in a single tab, so
this patch moves the tracking of active tabs onto the top BrowsingContext
in a tab. If the priority of a top BC is changed, then the activity
of all of the BPs of the BCs in the tree are all adjusted. The flag
that tracks this state gets carried forward to the new BC in the case
of a cross-group navigation by the changes in ReplacedBy().

The other change here covers the case where we do a process-switching
navigation on an iframe. If we create a new BrowserParent with an active
top BC, then the BP gets marked as active in the priority manager. Doing
this tracking on the BP instead of the BC (both here in and in the part
that landed previously in BrowserParent::Deactivated()) means that we
don't need to track down every place that a BC switches processes.

I left the tracking of activity in ParticularProcessPriorityManager
centered around BrowserParents, instead of changing it to BCs, to
minimize the changes required. There are some tricky interactions there
with wakelocks that I didn't want to have to figure out.

browser_ProcessPriorityManager.js was set up to track a mapping of
browsers to priorities, but for the purposes of testing Fission support
I changed it to track a mapping of child IDs to priorities.

In the test, I also removed an assignment (this.window = null) that
didn't seem to be doing anything.

Differential Revision: https://phabricator.services.mozilla.com/D112213
2021-05-05 20:29:14 +00:00
alwu 429bd59056 Bug 1693250 - part2 : reset the audible state when the audio sink get shutdown. r=bryce
When the audio sink shutdown, we should also reset the audible state for the listeners. Otherwise, MediaDecoderStateMachine would possibly rely on the incorrect audible state that is produced by previous sink, which would cause showing the sound indicator even if no sound is being playing.

Eg.
Considering following case without the reset of the audible state
1. Sink A is audible -> MDSM set `mIsAudioDataAudible=true`
2. Stop sink
3. Recreate sink B and it's playing silence -> MDSM's `mIsAudioDataAudible=true` is still true, this is wrong!

Differential Revision: https://phabricator.services.mozilla.com/D113550
2021-05-05 20:07:07 +00:00
alwu 5812a14721 Bug 1693250 - part1 : keep clock time being monotonically increased even if the media sink has been changed. r=bryce
The purpose of this patch is to create a consistent clock timeline among different media sinks.

Having a consistent clock timeline can help the newly created media sink to understand audio data's "adjusted" time, which can prevent the sink from inserting silence if the sink incorrectly think there is a gap between data and sink start time.

However, once seeking completed, we should use the media time that indicates to the new position, instead of using the previous clock time.

Eg.
Audio duration = 10, and has seamlessly looped 5 times. Then the start time of the sample in 2s in the 6th looping would be 2 + 5*10 = 52.
If we switch to the new sink, and use media time (which is 2s) as a start time to start a new sink, then the new sink would think there is a gap between 2s and 52s and push a lot of silence into the data. [1]


[1] https://searchfox.org/mozilla-central/rev/9b430bb1a11d7152cab2af4574f451ffb906b052/dom/media/mediasink/AudioSink.cpp#390-426

Differential Revision: https://phabricator.services.mozilla.com/D113548
2021-05-05 20:07:06 +00:00
Matthew Gaudet 66a30381a0 Bug 1706763 - Specialize InExpr emission for private brand checks to correctly handle the variety of storage locations required. r=arai
This ends up changing the NoThrow condition on CheckPrivateField to instead emulate the object check of JSOp::In instead.

As well, to create PrivateOpEmitter::Kind::ErgonomicBrandCheck, it's no longer aliased to the ElemOpEmitter::Kind enum.

Differential Revision: https://phabricator.services.mozilla.com/D114024
2021-05-05 19:39:28 +00:00
Matthew Gaudet 9c0b475dd0 Bug 1706763 - Assert we don't return JSOp::Nop from BinaryOpParseNodeKindToJSOp r=arai
Differential Revision: https://phabricator.services.mozilla.com/D114149
2021-05-05 19:39:27 +00:00
Joel Maher c85fdac3ce Bug 1709424 - temporarily disable M1 tests on trunk. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D114272
2021-05-05 19:37:49 +00:00
Henrik Skupin 808d8e61ec Bug 1700454 - [geckodriver] Add geckodriver try preset. r=webdriver-reviewers,ahal,sparky,jdescottes DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D113465
2021-05-05 19:35:37 +00:00