This helps address a performance issue when a bulk or sources are registered.
We could have use findIndexLast, given that the sources are often coming sorted,
but this is not always the case. For example when a new arbitrary source is created by the page.
Also, while the sources look sorted, there is no actual sort being done from the Source Map Worker,
nor by the SOURCE server resource watcher. We would need to add sorting there to be reliable.
In this patch, I'm also avoiding unecessary array in the actor codebase, and, simplifying the load source map actions.
Differential Revision: https://phabricator.services.mozilla.com/D202149
This will prevent re-decoding the characters on each react update.
This will also allow other component to manipulate decoded characters.
Differential Revision: https://phabricator.services.mozilla.com/D202445
We were calling this getFilename many times from many callsites.
Cache it once for all on the source object.
Also clarify what we typically display in the UI:
* we display internal ID for source without a URL,
* we strip query/search parameters,
* we decode the URI string for special characters,
* index files, i.e. files loaded without a file name, are named "(index)",
* we omit the internal ":formatted" URL prefix used for pretty printed sources.
Differential Revision: https://phabricator.services.mozilla.com/D202442
This was always refering to first argument's source in all callsites using it.
Also, at the end we don't need to call getRawSourceURL, we only need to know if this source has a URL or not.
Differential Revision: https://phabricator.services.mozilla.com/D202441
We were recomputing the query string many times from many places whereas
it was already available off hand on displayURL object.
Differential Revision: https://phabricator.services.mozilla.com/D202440
1.'Bug 1864008 - Move libvpx to libgkcodecs' changed webrtc.gni and then
'Bug 1875201 - Add method for conditionally including "media/libvpx/libvpx"'
reverted the change. These two patches result in a no-op on the stack and can
be removed.
2.'Bug 1810949 - cherry-pick upstream libwebrtc commit 91d5fc2ed6' and
'Bug 1847074 - Vendor libwebrtc from 91d5fc2ed6' both added the same code in
slightly different locations because Bug 1810949 did not include a no-op commit
file. We can remove the duplicate code and remove a patch from the stack in git.
3.During the libwebrtc update for v121, we ran into a fairly rare situation where
we'd cherry-picked an upstream commit 6a992129fb, and then during the update,
upstream cherry-picked the same commit in their release branch. This patch should
removed from the stack to avoid errors during restore or prep_repo.
4.Rollup 2 patches:
Bug 1876843 - (fix-082cb56ee7) remove mozilla dependency on pc:media_factory.
Bug 1876843 - (fix-b29ff000da) remove mozilla dependency on api:enable_media
into our:
Bug 1654112 - Tweak upstream gn files for Firefox build.
Differential Revision: https://phabricator.services.mozilla.com/D203202
This introduces two new variables for 16px icon inline margins. We can use these
any time we need to align something with the "standard" 16px icons and text, no
matter whether rich suggestions are enabled or not.
Differential Revision: https://phabricator.services.mozilla.com/D202784
I haven't been able to debug why my change exactly causes this, because
both before and after my patch the test is blank on the emulator's
runner, and you can't just run the test on GVE...
My best guess is that a subtle layout change (the select is now 0.5px
taller) causes the radio button to end up in a subpixel position, and
the origin of 0, 0 just happens to get rounded down... Or an interaction
with our pointer event retargetting (the fat finger stuff), which is
only enabled on Android.
In any case I'm pretty sure my change is not the root cause of this
intermittent, this fixes it and is a reasonable thing to do.
Differential Revision: https://phabricator.services.mozilla.com/D203150
Using `isort` for import sorting in Python has been replaced by
`ruff`. Update the formatters list to remove `isort`. We will add
`ruff` at a later date once we have asserted it is appropriate to
add to this formatters list.
Differential Revision: https://phabricator.services.mozilla.com/D203127
* Flip the component pref to true by default for nightly builds only
* Move the pref check and initialization to a startup idle task
* And be a bit smarter about when we get and disable the addon
* Fix a bug where we try to communicate with the overlay after the window actor is destroyed when
the component pref gets flipped off during use
Differential Revision: https://phabricator.services.mozilla.com/D196888
The datetime input is inconsistent with other inputs when using spoof
English: its placeholder is not translated, unlike the default values
and texts of all the other inputs.
Differential Revision: https://phabricator.services.mozilla.com/D201726
This patch makes the `mNumTemporalLayers` in `VP9Specific` generated in
`VideoEncoderConfigInternal::ToEncoderConfig` match the number of
temporal layers in the given scalability mode.
Differential Revision: https://phabricator.services.mozilla.com/D202885
Added
- `--space-medium`
- `--space-large`
Changed
- `--space-xlarge` has a new value and the old one is now `--space-xxlarge`
Differential Revision: https://phabricator.services.mozilla.com/D202739