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

740483 Коммитов

Автор SHA1 Сообщение Дата
Steve Fink 9738113572 Bug 1684122 - Demarcate region where GC would break stuff r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D100427
2021-01-13 22:24:36 +00:00
Steve Fink 613e55711f Bug 1682068 - Fix rooting hazard in ImageBitmap::CreateInternal by avoiding movable data r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D100428
2021-01-13 22:17:51 +00:00
Steve Fink 4bf3434c15 Bug 1686532 - Add dom::TypedArray_base::Reset() as a signal to the hazard analysis that no invalidatable data is being held onto r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D100429
2021-01-13 22:18:00 +00:00
Steve Fink a75149f6b8 Bug 1684123 - Implement GetArrayBufferViewFixedData and dom::TypedArray_base::FixedData(). r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D100426
2021-01-13 22:17:40 +00:00
Jeff Gilbert 580169fbfc Bug 1640607 - Send SurfaceDescriptors for GPU blitting for video-to-webgl. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D101061
2021-01-13 21:49:40 +00:00
Dão Gottwald 9d9110dc60 Bug 1686305 - Add New Assets to Tippy Top Service. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D101585
2021-01-13 20:14:54 +00:00
Glenn Watson f61e781e90 Bug 1686113 - Fix render pass assignment for complex task graphs. r=nical
The previous traversal strategy for assigning render tasks is very
simple and works fine for normal content. However, it's possible to
create graphs with very deep levels of nesting and dependencies
that cause the pass traversal to not terminate quickly.

This patch contains two changes to fix these cases:
 - Recursion in assign_render_pass will early out if a shorter
   path has been found.
 - Remove recursion from assign_free_pass, iterating each task once.

Differential Revision: https://phabricator.services.mozilla.com/D101541
2021-01-13 19:43:35 +00:00
Sebastian Zartner 7ba40f5b60 Bug 1579017 - Corrected inactive CSS rule for order property, making it valid for grid items. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D101267
2021-01-13 19:28:17 +00:00
Simon Weckler 4f9aee18d9 Bug 1577774 - added tooltip message for the url input field. r=tgiles,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D101374
2021-01-13 18:18:25 +00:00
Sam Foster 59dee959fa Bug 1683658 - Associate the pages-per-sheet label with the select/picker. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D101410
2021-01-13 19:20:56 +00:00
David Major 23d6295ae9 Bug 1686516 - Remove unused files clang-win64.json and clang-win64-2stage.json r=firefox-build-system-reviewers,mhentges DONTBUILD
I missed these in bug 1682405.

Additionally, after this removal, llvmorg-10-init-5191-ga84b200e604-windows-pgo.patch also becomes unused, so it is deleted too.

Differential Revision: https://phabricator.services.mozilla.com/D101633
2021-01-13 19:17:04 +00:00
Nils Ohlmeier [:drno] 60c7f91111 Bug 1677590: improved SDP parser error handling. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D98287
2021-01-06 15:25:06 +00:00
Mihai Alexandru Michis bf411e8d30 Backed out 2 changesets (bug 1684123, bug 1682068) for causing bustages.
CLOSED TREE

Backed out changeset e6df68a131a3 (bug 1682068)
Backed out changeset 91ad893cc4d4 (bug 1684123)
2021-01-13 20:34:56 +02:00
Steve Fink 67a0878c54 Bug 1682068 - Fix rooting hazard in ImageBitmap::CreateInternal by avoiding movable data r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D100428
2021-01-08 20:14:53 +00:00
Steve Fink 7f06a7503b Bug 1684123 - Implement GetArrayBufferViewFixedData and dom::TypedArray_base::FixedData(). r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D100426
2021-01-13 18:03:25 +00:00
Christoph Kerschbaumer 712f8f4387 Bug 1671166: Validate received Principal in ContentParent r=nika
Differential Revision: https://phabricator.services.mozilla.com/D96071
2021-01-13 17:29:30 +00:00
Lars T Hansen f0d810c993 Bug 1686490 - Rename some doc tags. r=yury DONTBUILD
These doc tags are obsolete, we should use SMDOC for discoverability.

Differential Revision: https://phabricator.services.mozilla.com/D101605
2021-01-13 18:10:41 +00:00
Brendan Dahl 1232a2ab60 Bug 1683940 - Don't follow redirects on range requests for PDFs. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D100708
2021-01-06 17:35:37 +00:00
Iain Ireland d0f2236ca8 Bug 1686207: Always return double from Int32URightShiftResult if allowDouble is true r=jandem
Warp and Baseline disagree about whether a >>> b should return a double or an Int32 when allowDouble is true and the result fits in Int32. This can cause a bailout loop if the result feeds into a GuardToInt32.

Differential Revision: https://phabricator.services.mozilla.com/D101532
2021-01-13 17:48:48 +00:00
Henrik Skupin b0aa196847 Bug 1668243 - [geckodriver] Release version 0.29.0. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D101592
2021-01-13 17:47:31 +00:00
Henrik Skupin bd6a1fdab2 Bug 1668243 - [webdriver] Release version 0.43.0. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D101591
2021-01-13 16:42:09 +00:00
Henrik Skupin 04e2940102 Bug 1668243 - [rust-mozversion] Release version 0.4.1. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D101590
2021-01-13 16:42:01 +00:00
Henrik Skupin 6c2057c69c Bug 1668243 - [rust-mozrunner] Release version 0.12.1. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D101589
2021-01-13 16:41:54 +00:00
Henrik Skupin 425ed3a57c Bug 1668243 - [rust-mozprofile] Release version 0.7.1. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D101588
2021-01-13 16:41:46 +00:00
Henrik Skupin e3692a7e5f Bug 1668243 - [rust-mozdevice] Release version 0.3.1. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D101587
2021-01-13 15:55:18 +00:00
Iain Ireland 4b03cce07f Bug 1686337: Downgrade MOZ_CRASH to MOZ_ASSERT r=jandem
This MOZ_CRASH is being hit in Nightly. The numbers are still small (8 crashes from 5 installs so far) but to be safe we can downgrade it to a debug assert for now.

The only case in FinishBailoutToBaseline where we don't either update the BailoutAction or invalidate the script is if we hit BailoutKind::DuringVMCall without an exception pending. I'm not sure how that happens, and we obviously don't have any test coverage for it. Maybe something involving interrupts?

Differential Revision: https://phabricator.services.mozilla.com/D101531
2021-01-13 10:09:46 +00:00
Aaron Klotz b55bf5ac03 Bug 1611554: Part 3 - Use jinja templates to generate GeckoChildProcessServices.java and AndroidManifest_overlay.xml; r=geckoview-reviewers,agi
This patch converts `GeckoChildProcessServices.java` into a jinja template.
We also add an overlay generated from a jinja template for `AndroidManifest.xml`
that provides the definitions for content process services.

Note that even though Gradle supports simple substitution of variables in
manifests, I opted not to use that functionality. Since we need the more
powerful template functionality that jinja provides, I felt that having multiple
ways to substitute information into the manifest would be confusing, so we're
using jinja exclusively.

Differential Revision: https://phabricator.services.mozilla.com/D82578
2021-01-13 01:19:15 +00:00
Aaron Klotz ae684a1dee Bug 1611554: Part 2 - Modify GeckoView build to generate manifest and service definitions from jinja files; r=nalexander,geckoview-reviewers,snorp
* We add a config option for setting the number of content services;
* We add a config option to indicate whether content services should be isolated.
  This one is just a `project_flag` since it doesn't really need the ability to
  be overridden; it's something whose default we would want to flip when the
  time comes;
* We set a dependency so that mobile/android/base/pre-export is executed;
* We add the `gen_from_jinja.py` script which is mostly just a dumb shim that
  takes the input template and the config arguments, instantiates jinja,
  generates the final output, and dumps it to the output fd;
* We add the requisite `moz.build` statements to generate the manifest overlay
  and the service definitions;
* We update `build.gradle` so that Gradle knows to look for the generated files
  when building the apk.

Differential Revision: https://phabricator.services.mozilla.com/D82577
2021-01-13 17:32:54 +00:00
Aaron Klotz 8892b9c2f6 Bug 1611554: Part 1 - Add capability for build system to generate files during pre-export tier when building GeckoView; r=nalexander,rstewart
These are the minimum changes that we need to make to common build system code
to allow us to generate files during pre-export.

We add a `required_before_export` flag to `GeneratedFile` to indicate when a
particular file must be generated in `pre-export`. We set that flag when there
are `.jinja` input files and we're configured for a GeckoView build, otherwise
it is set to `False`.

Then the recursive `make` backend assigns any `GeneratedFile`s that have
`required_before_export` set to run in the `pre-export` tier.

Differential Revision: https://phabricator.services.mozilla.com/D82576
2021-01-13 01:19:20 +00:00
Marco Bonardo 55ec447326 Bug 1684524 - Selecting all downloads after a search should not select excluded downloads. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D101447
2021-01-13 10:57:35 +00:00
Zibi Braniecki a5fd18ba3a Bug 1686275 - Update fluent-rs to 0.14. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D101474
2021-01-13 16:30:20 +00:00
amy churchwell 6efb80f61c Bug 1665066 - Remove payload.keywordOffer in favor of payload.providesSearchMode. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D101414
2021-01-13 16:25:31 +00:00
Tim Nguyen 21aaf562ea Bug 1686350 - Remove defer() from devtools/shared/security/socket.js. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D101603
2021-01-13 15:39:57 +00:00
stransky 9ce5031178 Bug 1686341 [Wayland] Dump Wayland buffers to png files behind MOZ_WAYLAND_DUMP_WL_BUFFERS env pref, r=jhorak
Dump wayland buffers as png images when MOZ_WAYLAND_DUMP_WL_BUFFERS env variable is set and also log that.
The images are stored in recent working directory unless MOZ_WAYLAND_DUMP_DIR is set.

Differential Revision: https://phabricator.services.mozilla.com/D101581
2021-01-13 10:58:34 +00:00
Bartłomiej Piotrowski 262f61fb26 Bug 1677959 - upgrade freedesktop-sdk runtime to 20.08 r=mtabara
The BaseApp has been renamed to follow org.mozilla.firefox ID.
Additionally update the Docker image used to run the flatpak build.

Differential Revision: https://phabricator.services.mozilla.com/D100647
2021-01-13 15:44:23 +00:00
André Bargull f967863436 Bug 1685708 - Part 5: Transpile BigInt.as{Int,Uint}N. r=jandem
`BigInt.as{Int,Uint}N(bits, x)` with bits={32,64} are expected to be common enough
to warrant providing specialised code. For example `BigInt.asIntN(64, x + y)` can
be used to inform the compiler to perform Int64 additions.

Differential Revision: https://phabricator.services.mozilla.com/D101173
2021-01-13 15:17:36 +00:00
André Bargull 926698e0b9 Bug 1685708 - Part 4: Remove register restrictions from MacroAssembler::move{8,16,32}To64SignExtend. r=jandem
For the next part we want to call these methods without having to worry about
the `edx:eax` restriction on x86.

Differential Revision: https://phabricator.services.mozilla.com/D101170
2021-01-13 14:37:25 +00:00
André Bargull 99c11722d4 Bug 1685708 - Part 3: Support Signed/NotSigned in MacroAssembler::branchTest64 on 32-bit platforms. r=jandem
Support Signed/NotSigned in preparation for part 5.

Differential Revision: https://phabricator.services.mozilla.com/D101169
2021-01-13 14:37:28 +00:00
André Bargull b6f5f852be Bug 1685708 - Part 2: Add CacheIR support for Big.as{Uint,Int}N. r=jandem
Add CacheIR support for `Big.as{Uint,Int}N()` so we can optimise these functions
more efficiently in Warp in part 5.

Differential Revision: https://phabricator.services.mozilla.com/D101168
2021-01-13 14:53:38 +00:00
André Bargull afb27b46a3 Bug 1685708 - Part 1: Handle no-op cases for 64-bit results in Big.as{Uint,Int}N. r=jandem
The fast path didn't handle the no-op case, which actually made the fast-path
slower for the case when no conversion is necessary.

Differential Revision: https://phabricator.services.mozilla.com/D101167
2021-01-13 14:37:32 +00:00
Toshihito Kikuchi 7545ed9378 Bug 1684532 - Detect injected dependent modules in NtMapViewOfSection. r=mhowell
This patch is to improve the way to detect an injected dependent module for
automatic DLL blocking (bug 1659438).

In the previous version, we created a list of dependent modules in the launcher
process and shared it with other processes via the shared section.  However, it
was not compatible with third-party applications who tamper the Import Table and
revert it in the injected module's DllMain (bug 1682834) because we parsed the
Import Table in the launcher process after it was reverted.

With this patch, we check the Import Table in `patched_NtMapViewOfSection`,
so we can see tampering before it's reverted.  More specifically, we create
a list of dependent modules in the browser process as below.

1. The launcher process creates a section object and initializes
   the kernel32.dll's functions in it.

2. The launcher process transfers a writable handle of the shared
   section to the browser process.

3. In the browser process, if an injected dependent module is being
   mapped by `NtMapViewOfSection`, we add its NT path to the shared
   section and block it with `REDIRECT_TO_NOOP_ENTRYPOINT`.

4. The `main` function of the browser process converts the writable
   handle of the shared section into a readonly handle.

5. The browser process transfers a readonly handle of the shared
   section to a sandbox process.

Since automatic DLL blocking may still cause a compat issue like bug 1682304,
we activate it only in Nightly for now.

Differential Revision: https://phabricator.services.mozilla.com/D101460
2021-01-13 15:13:18 +00:00
Julian Descottes 75d7922fc7 Bug 1589658 - [devtools] Guard against missing handlerDO.script in React event-collector r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D101599
2021-01-13 15:16:07 +00:00
Micah Tigley 298219ee45 Bug 1680637 - Update tests using the old dialog UI to only use the old UI. r=jaws,Gijs,marionette-reviewers,whimboo
Depends on D100172

Differential Revision: https://phabricator.services.mozilla.com/D101388
2021-01-13 13:27:08 +00:00
Micah Tigley 60c2174b07 Bug 1682395 - Center content prompts managed by TabDialogBox r=dao
Depends on D100955

Differential Revision: https://phabricator.services.mozilla.com/D100172
2021-01-13 00:18:41 +00:00
Micah Tigley 38e982fb38 Bug 1680637 - Rename TabDialogBox's manager to tabDialogManager r=marionette-reviewers,Gijs
To clarify the two separate SubDialog managers managed by TabDialogManager, this patch renames `_.dialogManager` to `._tabDialogManager`.

Depends on D100066

Differential Revision: https://phabricator.services.mozilla.com/D100955
2021-01-13 00:18:43 +00:00
Micah Tigley 3815e3e810 Bug 1680637 - Add a dialog manager for content prompts in TabDialogBox r=jaws,Gijs
The TabDialogBox will manage two separate SubDialog managers at the tab and content level. Dialogs managed at the tab level will always be on top of content ones and should always receive focus first when tab switching or refocusing the window.

Differential Revision: https://phabricator.services.mozilla.com/D100066
2021-01-13 00:18:45 +00:00
Paul Zuehlcke 19aff479ae Bug 1686296 - Enable dFPI in strict mode for all channels. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D101601
2021-01-13 15:13:15 +00:00
Dorel Luca 2a0e56c384 Backed out changeset 760123aa1758 (bug 1665330) for WPT failures in /html/webappapis/dynamic-markup-insertion/document-write/module-tla-import.html. CLOSED TREE 2021-01-13 16:57:11 +02:00
Chris H-C 986dbdaba5 Bug 1686140 - Changes to dependent scripts should regenerate metrics and pings files in FOG r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D101493
2021-01-13 09:23:47 +00:00
Razvan Maries 3ac94d0687 Backed out 5 changesets (bug 1685708) for build bustages on BigInt.cpp. CLOSED TREE
Backed out changeset ff678e63e677 (bug 1685708)
Backed out changeset 1273409d014c (bug 1685708)
Backed out changeset db013483866a (bug 1685708)
Backed out changeset c7a807bd4deb (bug 1685708)
Backed out changeset de98a7e28f06 (bug 1685708)
2021-01-13 16:33:58 +02:00