Commit Graph

820854 Commits

Author SHA1 Message Date
alwu
14e89d0d4e Bug 1799826 - ensure no further sample request when transitioning from looping decoding state to the completed state. r=padenot
I assume one possible situation of causing crash is that the looping
state is transitioning to the completed state due to both tracks can't
get new data after reaching EOS [1].

In this case, we should also finish queue and cancal any ongoing
sample request in order not to trigger EOS again after entering
the completed state.

[1]
https://searchfox.org/mozilla-central/rev/650c19c96529eb28d081062c1ca274bc50ef3635/dom/media/MediaDecoderStateMachine.cpp#3048

Differential Revision: https://phabricator.services.mozilla.com/D162676
2022-11-22 18:26:29 +00:00
Sammy Khamis
2ccba411ac Bug 1801059: Fix Error syncing tabs in tps tests r=isabel_rios
Differential Revision: https://phabricator.services.mozilla.com/D162442
2022-11-22 18:24:39 +00:00
Marco Castelluccio
76a10c5956 Bug 1790816 - Reformat toolkit/ with isort. r=linter-reviewers,Standard8 DONTBUILD
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162670
2022-11-22 18:23:54 +00:00
James Teow
d8d5267819 Bug 1800851 - showSearchTerms checkbox should listen to search bar changes - r=adw,settings-reviewers
While trying to simplify the test code prior to landing the initial preference
panel update, I removed some checks in the test that ensured the checkbox
was actually being checked if the user enabled the search bar while the search
panel was opened. Hence how the tests passed despite the fact that I neglected
to include a listener.

Differential Revision: https://phabricator.services.mozilla.com/D162583
2022-11-22 18:20:22 +00:00
Emilio Cobos Álvarez
4c5d3e8cac Bug 1800950 - Update property database.
MANUAL PUSH: Trivial orange fix CLOSED TREE
2022-11-22 20:00:08 +01:00
William Durand
96e152a708 Bug 1801515 - Hover messages shouldn't be hidden by extensions in the UEP. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D162555
2022-11-22 17:49:18 +00:00
Mark Banner
39734623ac Bug 1801017 - Extend browser.searchinit.engine_invalid_webextension expiry. r=search-reviewers,mcheang
Differential Revision: https://phabricator.services.mozilla.com/D162300
2022-11-22 17:20:03 +00:00
Oriol Brufau
0af7c79aa4 Bug 1800950 - Exclude 'size' from the 'all' shorthand. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D162568
2022-11-22 17:17:25 +00:00
Eemeli Aro
c3f9c6d123 Bug 1760029 - Remove tabbrowser.properties as empty. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D159021
2022-11-22 17:12:23 +00:00
Eemeli Aro
7fa5435add Bug 1760029 - Migrate tabbrowser.properties strings used by OpenInTabsUtils.jsm to Fluent. r=dao,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D159020
2022-11-22 17:12:23 +00:00
Eemeli Aro
fc6d78c4e0 Bug 1760029 - Migrate tabbrowser.properties strings used by BrowserGlue.jsm to Fluent. r=dao,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D159019
2022-11-22 17:12:22 +00:00
Eemeli Aro
56c6f8a57f Bug 1760029 - Migrate tabbrowser.properties strings used by tabbrowser-tabs.js to Fluent. r=gregtatum,dao,fluent-reviewers,flod
This removes the `intl:app-locales-changed` event listener that was added in bug 1760825, as it's not longer required.

Depends on D159017

Differential Revision: https://phabricator.services.mozilla.com/D159018
2022-11-22 17:12:22 +00:00
Eemeli Aro
f47cf80bc3 Bug 1760029 - Migrate browser.properties strings used by tabbrowser.js to Fluent. r=dao,fluent-reviewers,flod
The autorefresh blocker strings are added to `browser.ftl` as they aren't really "tab" strings.

Differential Revision: https://phabricator.services.mozilla.com/D159017
2022-11-22 17:12:21 +00:00
Eemeli Aro
d413d67601 Bug 1760029 - Migrate tabbrowser.properties strings used by tabbrowser.js to Fluent. r=dao,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D159016
2022-11-22 17:12:21 +00:00
Eemeli Aro
1b39667206 Bug 1799877 - Allow using { l10n-id, l10n-args } object when setting notification label. r=dao,mstriemer
This matches the existing behavior of NotificationBox.appendNotification().

Differential Revision: https://phabricator.services.mozilla.com/D161893
2022-11-22 17:12:21 +00:00
Emilio Cobos Álvarez
ed168ca161 Bug 1801844 - Remove some min-widget-size for various menuitem bits. r=cmartin
This fixes bug 1799460 for good. You can test this on Win10 with
browser.display.windows.non_native_menus=0 or HCM, but same applies to
Win7/8.

The front-end sets their own sizes anyways, and when the windows sizes
are less than the ones the front-end sets, we see that bug.

This is rather annoying because, even though it's fixable (we can fix
the intrinsic sizing code in the web to deal with this properly), it's
probably not worth fixing, as no web-exposed widget has a min-widget
size other than scrollbars and internal form control parts.

Removing this code altogether just works, since as I said before the
front-end sizes the menu parts anyways, so enforcing a given size in C++
is not necessary.

Differential Revision: https://phabricator.services.mozilla.com/D162709
2022-11-22 17:08:26 +00:00
William Durand
e802672180 Bug 1801291 - Enable MV3 by default. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D162458
2022-11-22 16:43:11 +00:00
Mark Banner
05f486c76f Bug 1801809 - Automatically replace Cu.reportError with console.error (places, download). r=mak
Depends on D162696

Differential Revision: https://phabricator.services.mozilla.com/D162697
2022-11-22 16:23:38 +00:00
Valentin Rigal
e6395a4b2a Bug 1793948 - Softly report mozlint warnings on autoland. r=bastien,linter-reviewers,sylvestre,ahal
Differential Revision: https://phabricator.services.mozilla.com/D158769
2022-11-22 16:23:12 +00:00
Zeid
351434a9ae Bug 1801651: update sorting of mots module r=glob
Differential Revision: https://phabricator.services.mozilla.com/D162339
2022-11-22 16:21:50 +00:00
Andrew Halberstadt
c0bf86dafb Bug 1795042 - [ci] Migrate 'system-symbols-reprocess' tasks from AWS -> GCP, r=MasterWayZ
Differential Revision: https://phabricator.services.mozilla.com/D162620
2022-11-22 16:12:37 +00:00
Andrew Halberstadt
ef615a82c9 Bug 1795042 - [ci] Migrate 'startup-test' tasks from AWS -> GCP, r=MasterWayZ
Differential Revision: https://phabricator.services.mozilla.com/D162619
2022-11-22 16:12:37 +00:00
Csoregi Natalia
48fd365a68 Backed out changeset 6b0244ce90fb (bug 1800126) for causing newtab failures. CLOSED TREE 2022-11-22 18:09:09 +02:00
Andrew Osmond
d664f47e78 Bug 1801780 - Include more information about blocklist in about:support. r=jrmuizel
We used to provide links to the bug numbers but this was broken
somewhere along the way. Now it is provided the failure IDs from which
it can attempt to extract a bug number, as well as always display any
failure ID and message whenever possible.

Differential Revision: https://phabricator.services.mozilla.com/D162734
2022-11-22 16:00:15 +00:00
Michael Froman
8b8b4e414f Bug 1801722 - pt2 - properly find our moz-libwebrtc base commit when commit stack is on top of release branch. r=dbaker DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D162615
2022-11-22 15:54:41 +00:00
Michael Froman
5fb5eb19f4 Bug 1801722 - pt1 - move some scripting to functions for reuse across scripts. r=dbaker DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D162614
2022-11-22 15:54:41 +00:00
Mike Conley
79fe879e48 Bug 1798683 - Make browser_unified_extensions_overflowable_toolbar.js more resilient by using a constant set of extension IDs. r=willdurand,extension-reviewers
For reasons that I don't fully understand, this appears to make the test pass more reliably on all platforms.

Differential Revision: https://phabricator.services.mozilla.com/D162577
2022-11-22 15:52:07 +00:00
Csoregi Natalia
7a0fd3969a Backed out changeset a05954545cff (bug 1801471) as requested. CLOSED TREE 2022-11-22 17:40:51 +02:00
brian
be3a6d1b65 Bug 1673047 - Remove browser.migrate.showBookmarksToolbarAfterMigration pref and set the default behavior to the 'true' branch. r=mconley.
Differential Revision: https://phabricator.services.mozilla.com/D161375
2022-11-22 15:30:56 +00:00
negin
83e864597a Bug 1800126 - [Cleanup] Refactor OnboardingVideo in its own component r=yozhang
Differential Revision: https://phabricator.services.mozilla.com/D162420
2022-11-22 15:25:41 +00:00
Byron Campen [:bwc]
6d161c6055 Bug 1800988: Extend these ICE timeouts for the slower testers. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D162592
2022-11-22 15:25:24 +00:00
Tom Ritter
cedea28632 Bug 1801711: Allowlist some additional prefs for the content processes r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D162595
2022-11-22 15:25:10 +00:00
Chun-Min Chang
1d6c701b03 Bug 1797557 - Ensure storing VideoFrames in IndexedDB throws r=padenot,smaug
Serializing a VideoFrame when `forStorage=true` should throw a
`DataCloneError` (See [1] for more detail).

[1] https://w3c.github.io/webcodecs/#videoframe-transfer-serialization

Differential Revision: https://phabricator.services.mozilla.com/D162679
2022-11-22 15:04:16 +00:00
Arturo Mejia
f4b3f2d11e Bug 1797581 - Add API support for ignoring sites for cookie banner handling in GV r=geckoview-reviewers,owlish,calu
Differential Revision: https://phabricator.services.mozilla.com/D161741
2022-11-22 14:56:47 +00:00
Marco Bonardo
ea9b236167 Bug 1556010 - Use Sqlite window functions to provide better position fixing in reorderChildren. r=Standard8
Tested by toolkit/components/places/tests/bookmarks/test_bookmarks_reorder.js
Note the "parent/sync" annotation and PlacesSyncUtils.order() are no more used,
a bug apart will be filed to remove them.

Differential Revision: https://phabricator.services.mozilla.com/D162270
2022-11-22 14:52:46 +00:00
Jonathan Sudiaman
9011bc30a9 Bug 1747699 - Re-write bookmarks and folder creation for new non-instant apply pattern r=mak,Standard8
Based on https://phabricator.services.mozilla.com/D141582. Updates the bookmark toolbar to delay creating new bookmarks and folders while "delayed apply" mode is enabled.

One edge case which is not currently accounted for, is the case where user clicks on "Bookmark All Tabs", and then creates folders from within the dialog box, for example:

{F4228947}

In this case, the new folders will be created instantly, even if delayed apply is enabled. Cancelling the dialog box will remove them. (This is why we still need to use "batching", even in delayed apply mode.)

Because of how the dialog is currently structured, it seems fairly complex to handle this case. I am not sure if it is within the scope of this project, open to advice.

Differential Revision: https://phabricator.services.mozilla.com/D160554
2022-11-22 14:35:05 +00:00
Sean Feng
bd249c4f8e Bug 1797947 - Make devtools generated fetch requests excluded from resource timing r=jdescottes,valentin,necko-reviewers
Devtools can generate fetch request on behalf of the content document,
reporting these requests in PerformanceObserver would cause confusion,
so we should ignore them.

Differential Revision: https://phabricator.services.mozilla.com/D162582
2022-11-22 14:24:19 +00:00
Emilio Cobos Álvarez
0b6c9c0421 Bug 1798396 - Update property database to account for previous change.
MANUAL PUSH: Trivial orange fix CLOSED TREE
2022-11-22 15:57:29 +01:00
lyavor
806784c685 Bug 1798913 - Add other host tests to the web-platform tests for mixed content autoupgrades. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D161139
2022-11-22 14:04:25 +00:00
Randell Jesup
1b6d10cb7a Bug 1790676: WebTransport DOM API initial framework r=saschanaz,necko-reviewers,emilio,valentin
This includes WebTransport, WebTransportSendStream,
WebTransportReceiveStreams, WebTransportBidirectionalStream and
WebTransportError classes without any actual functionality

Differential Revision: https://phabricator.services.mozilla.com/D162323
2022-11-22 13:43:57 +00:00
Julian Seward
c3dad32348 Bug 1797933, part 3 - add alias-set annotations for struct.{new,set,get} code. r=rhunt.
This patch adds alias set annotations to the MIR generated for
struct.{new,set,get}, so as to enable the existing GVN machinery to remove
duplicate loads of the OOL block pointer in the (static) presence of multiple
OOL field accesses to the same wasm object.

This is a bit tricky because we must ensure that neither an IL-data-field nor
OOL-data-field write to the object invalidate the OOL-block-pointer read.
Hence the OOL-block-pointer-field cannot be in the same alias set as either
the IL- nor OOL-data fields.  And so this patch adds three new alias-set
descriptors.

The implementation is straightforward and described in comments.

Because it is easy to mess up optimisation with incorrect alias set
descriptors, the `MWasm{Load,Store}Field*::New` methods heavily restrict
what descriptors they accept, via assertions.

Because those same MIR nodes are also used to implement exceptions, they also
accept `AliasSet::{Load,Store}(AliasSet::All)` ("no information") descriptors.
The exception-handling MIR is unaffected by this patch.

Differential Revision: https://phabricator.services.mozilla.com/D161254
2022-11-22 13:42:15 +00:00
Julian Seward
2c3173600a Bug 1797933, part 2 - initial implementation of struct.{new,set,get} and ref.cast for Ion. r=rhunt.
This patch implements struct.{new,set,get} and ref.cast for Ion.  The
implementation is in principle straightforward and is derived from the
baseline equivalents.  There are however many pieces that need to be
coordinated.  Changes:

* Compiler gating logic -- enable Ion for wasm GC extensions.

* Pertaining to the above, extend the guard conditions in many of the wasm/gc
  test cases so as to limit them to baseline only, for now, so that we don't
  get failures as a result of gc insns that are currently unimplemented in
  Ion.  This will need to be incrementally undone as more gc insns get
  implemented in Ion.

* Pertaining to testing (lib/wasm-binary.js), remove wasm gc opcodes from the
  lists of opcodes that we check are unimplemented.

* New test file wasm/gc/structs2.js, that tests 8- and 16-bit field accesses,
  since the existing structs.js file doesn't.

* Add support to MIR and LIR to handle 8- and 16-bit memory accesses.  One
  possibility would have been to add MIRType::Int16 and MIRType::Int8, but I
  didn't want to destabilise the existing, probably carefully-balanced MIR
  optimisation machinery for JS.  So I chose to add auxiliary descriptors just
  for the 4 relevant MIR/LIR nodes instead:

  - New enums MNarrowingOp and MWideningOp, to describe how to narrow to /
    widen from Int32.

  - Renamed wasm::FieldExtension to wasm::FieldWideningOp for consistency with
    the above.  Note MWideningOp and wasm::FieldWideningOp both need to exist;
    neither can exactly do the job of the other.

  - LIRGenerator::visitWasmLoadObjectField/LoadObjectFieldWithKA
    /StoreObjectFieldWithKA: handle 8- and 16-bit accesses.
    WasmStoreObjectRefFieldWithKA is unaffected since a ref can't be 8- or
    16-bits long.

  - CodeGenerator::visitWasm{Store,Load}Slot: handle 8- and 16-bit accesses.

* The actual implementations of struct.{new,set,get} and ref.cast, which are
  pretty straightforward.  They use the following new helper functions inside
  class FunctionCompiler:

  - FunctionCompiler::loadGcCanon, same function as the baseline version

  - FunctionCompiler::writeValueToStructField, used for both struct.new
    and struct.set.

  - FunctionCompiler::readValueFromStructField, used for struct.get.

  - FunctionCompiler::trapIfZero, used for ref.cast.

  - FunctionCompiler::refCast, used for ref.cast.

  - FunctionCompiler::field{Load,Store}InfoToMIR, used to create the right MIR
    descriptions for 8- and 16-bit transactions.

  It is envisaged that these helpers will be further refined in subsequent
  patches to support accesses for the array instructions.

* Ridealong fix: FunctionCompiler::loadExceptionValues: add missing OOM check
  for `auto* data = ..`.

Differential Revision: https://phabricator.services.mozilla.com/D161253
2022-11-22 13:42:14 +00:00
Marco Castelluccio
2784a97322 Bug 1790816 - Reformat xpcom/ with isort. r=mccr8 DONTBUILD
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162640
2022-11-22 13:37:48 +00:00
Marco Castelluccio
11b87fc0cb Bug 1790816 - Reformat gfx/ with isort. r=jgilbert DONTBUILD
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162641
2022-11-22 12:54:40 +00:00
Greg Stoll
397e0a203c Bug 1799562 - update version of Cylance to blocklist r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D162693
2022-11-22 12:33:34 +00:00
Henri Sivonen
3e13c693ee Bug 1709012 - Remove NS_ASSERTION about executor queue being empty upon destruction. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D162701
2022-11-22 12:30:04 +00:00
Emilio Cobos Álvarez
0c706ad429 Bug 1801339 - Flex label / description value. r=Gijs
So that if the text is smaller than the label, text-align works as
intended.

Differential Revision: https://phabricator.services.mozilla.com/D162705
2022-11-22 12:29:28 +00:00
William Durand
e9f2d04166 Bug 1801471 - Handle Private Browsing mode in unified extensions panel. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D162541
2022-11-22 12:26:23 +00:00
Paul Zuehlcke
2b06848653 Bug 1800653 - Only insert test rules if nsICookieBannerService is enabled. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D162113
2022-11-22 12:12:40 +00:00
Csoregi Natalia
0a4632e16b Backed out changeset e9bd011dbf75 (bug 1799423) for causing toolchains failures. CLOSED TREE 2022-11-22 14:22:00 +02:00