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

756114 Коммитов

Автор SHA1 Сообщение Дата
Henri Sivonen 5bb6334bad Bug 1706864 - Enable chardetng for .in and .lk TLDs. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D114341
2021-05-05 15:12:34 +00:00
lyavor 3e9de81554 Bug 1709069: Test that Data URI which makes a top-level request gets updated in https-first. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D114086
2021-05-05 15:03:29 +00:00
Andi-Bogdan Postelnicu d6010d98f2 Bug 1702172 - collect if shell is opened via vscode and if it's a remote connection through ssh. r=firefox-build-system-reviewers,mhentges
Added two fields:

1. Collect if the current shell is opened via vscode.
2. Connect if it's a remote ssh connection n the current shell.

Differential Revision: https://phabricator.services.mozilla.com/D114323
2021-05-05 14:56:32 +00:00
Andrew Osmond c46e4b35ef Bug 1709476 - Allow falling back to Software WebRender from D3D11/WebRender in release. r=jrmuizel
If a user is able to get D3D11, and Software WebRender hasn't been
forced on (either by the Fission experiment or our pref), then we prefer
D3D11 in late beta and release. This will allow users who start with
D3D11 in the GPU process, to fallback to Software WebRender in the GPU
process.

Differential Revision: https://phabricator.services.mozilla.com/D114286
2021-05-05 14:31:46 +00:00
Sam Foster af2746449f Bug 1709174 - Show a minimum of 10% filled in the download indicator progress meter. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D114303
2021-05-05 14:28:33 +00:00
Jared Wein 2b22ab5e74 Bug 1705551 - Remove block margins from menulists in popup notifications since the popupnotificationcotnent already has margin-top. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D114281
2021-05-05 14:27:26 +00:00
Emilio Cobos Álvarez 13c665173b Bug 1680387 - Indent correctly one fuzzy annotation.
MANUAL PUSH: Manifest fix CLOSED TREE.
2021-05-05 17:02:35 +02:00
Emilio Cobos Álvarez 9de8808c9b Bug 1680387 - Restore some test annotations that are still failing.
The svg ones are just fuzz, but the aspect-ratio one is too much to
reasonably annotate and is a test bug. The canvas one I need to look
into.

MANUAL PUSH: greening up tests on a CLOSED TREE
2021-05-05 16:38:21 +02:00
Jamie Nicol d6c51544d5 Bug 1709548 - Don't clear backbuffer if dirty region is empty. r=nical
On Mali-G77 devices we have seen an flickering black bars appear on
pages where we are compositing with an empty dirty region. In such
cases we end up calling eglSetDamageRegion with an empty region,
followed by glClear with an empty scissor rect. Technically calling
eglSetDamageRegion with an empty dirty region is allowed, it just
means you cannot render to the backbuffer at all that frame. The
subsequent glClear call should therefore be fine since an empty
scissor rect is set, but the Mali driver does not like it.

This patch skips calling glClear altogether if the dirty region is
empty, preventing the black bars from appearing.

Differential Revision: https://phabricator.services.mozilla.com/D114346
2021-05-05 14:05:40 +00:00
Ed Lee 37d368f0d1 Bug 1698204 - Animate proton about:welcome with fades and motion if not reduce-motion r=pdahiya
Allow transitions to be remotely configured. Use hooks to insert transition-{in,out} class when adding and removing screens. Specify desired in/out styles to transition from/to. Also flex/push buttons/steps to the bottom to be the same position on the latter screens.

Differential Revision: https://phabricator.services.mozilla.com/D114192
2021-05-05 13:53:03 +00:00
Peter Van der Beken 9b5b32ef7e Bug 1708497 - Stop generating identical ResolveOwnProperty/EnumerateOwnProperties implementations. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D113827
2021-05-05 13:43:59 +00:00
Peter Van der Beken 2a66c7990e Bug 1708657 - Cleanup in-tree WebIDL documentation a bit. r=freddyb DONTBUILD
- Add a main header to the page
- Clean up the conversion from MDN a bit
- Modify type table to list-table to make it a bit easier to maintain
- Remove documentation for obsolete NavigatorProperty extended attribute
- Add a warning that JS-implemented WebIDL is deprecated

Depends on D113949

Differential Revision: https://phabricator.services.mozilla.com/D113950
2021-05-05 13:42:33 +00:00
Peter Van der Beken 47aa5641bc Bug 1708431 - Don't root receiver in DOMProxyHandler::get if we don't need to wrap it. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D113794
2021-05-05 13:21:12 +00:00
Emilio Cobos Álvarez c12d3fbbd9 Bug 1680387 - For some reason exif_resolution.jpg landed empty?
MANUAL PUSH: Fix test file that causes orange on a CLOSED TREE
2021-05-05 15:36:55 +02:00
Dave Hunt b5bdab0400 Bug 1707937 - Allow live site tests to run against GeckoView; r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D113536
2021-05-05 11:45:04 +00:00
Dave Hunt 7b7b6b2072 Bug 1707937 - Run live performance tests three times a week; r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D113535
2021-05-05 11:45:04 +00:00
Dave Hunt ce37065fab Bug 1707937 - Consolidate live performance tests into a single schedule; r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D113534
2021-05-05 11:45:03 +00:00
Benjamin Forehand Jr c0ec072473 Bug 1556057 - Develop an integration test for addons that register dynamic probes; r=raphael,chutten
Differential Revision: https://phabricator.services.mozilla.com/D113187
2021-05-05 10:18:43 +00:00
Iulian Moraru 0c7ef5cde0 Backed out changeset c09cb1410f56 (bug 1707856) for causing mochitest failures on test_fragment.html. CLOSED TREE 2021-05-05 13:24:24 +03:00
Kershaw Chang d8b9cbf228 Bug 1709550 - Disable some tests, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D114328
2021-05-05 10:07:27 +00:00
Iulian Moraru e741aab449 Merge mozilla-central to autoland a=merge CLOSED TREE 2021-05-05 12:57:09 +03:00
Edgar Chen a3ff3d48aa Bug 1709200 - Rename nsContentUtils::GetRootDocument to GetInProcessSubtreeRootDocument; r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D114177
2021-05-05 09:42:20 +00:00
Emilio Cobos Álvarez bb5a3fe5a8 Bug 1680387 - Sanity-check exif resolution with other exif metadata. r=tnikkel
Also matches other browsers, and fixes the test that got me backed out,
since it has a huge EXIF resolution value.

Differential Revision: https://phabricator.services.mozilla.com/D114249
2021-05-05 09:41:25 +00:00
Emilio Cobos Álvarez 68a7c365ec Bug 1680387 - Fix interaction with src-set() / image-set(), and enable the feature by default. r=tnikkel
As discussed here: https://github.com/whatwg/html/pull/5574#issuecomment-826347560

This matches other browsers.

Depends on D113265

Differential Revision: https://phabricator.services.mozilla.com/D113267
2021-05-05 09:41:24 +00:00
Emilio Cobos Álvarez 1cdf344860 Bug 1680387 - Apply intrinsic image resolution as appropriate in layout/style/dom, and update test expectations. r=tnikkel
This should be mostly straight-forward, since we have code for this
anyways for image-set() and srcset.

The only thing is that we were using floats for resolution, but since
EXIF allows you to scale each axis separately, we now need to pass an
image::Resolution instead.

The main outstanding issue is the spec comment mentioned in the previous
patch, about what happens if you have srcset/image-set and the image
density specified together. For now I've implemented what the
image-set() spec says, but this is subject to change before shipping of
course.

Differential Revision: https://phabricator.services.mozilla.com/D113265
2021-05-05 09:41:24 +00:00
Emilio Cobos Álvarez 6c4266f7f7 Bug 1680387 - Read and expose EXIF image resolution data. r=tnikkel,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D113264
2021-05-05 09:41:23 +00:00
lyavor dc8fb2b8d5 Bug 1707856: Test redirect downgrades with https-first. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D113511
2021-05-05 09:39:59 +00:00
Paul Adenot 9f5459ee57 Bug 1685503 - Wait for "timeupdate", or one second (when paused) when testing the telemetry probes for visible and invisible media elements, to not depend on high-resolution clock. r=alwu
This patch moves to a lower-resolution clock on Windows, so this was failing.

Differential Revision: https://phabricator.services.mozilla.com/D114073
2021-05-05 09:24:51 +00:00
Paul Adenot c59e733060 Bug 1685503 - Use AwakeTimeStamp to count time for media telemetry. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D112797
2021-05-05 09:24:51 +00:00
Nicolas Silva e08a9aa5c5 Bug 1709535 - Fix clear tiles. r=gfx-reviewers,jnicol
In bug 1696905 I changed how clear tiles are rendered from multiply blend to opaque, however it breaks window controls on Windows 8 (the only thing that clear tiles are used for). This patch reverts clear tiles to the previous behavior.

I'm not sure how to test this part of the code because it depends on the widget integration code having something to show behind the window.

Differential Revision: https://phabricator.services.mozilla.com/D114327
2021-05-05 09:22:48 +00:00
Nicolas Silva 32c8731610 Bug 1709535 - Fix clear tiles. r=gfx-reviewers,jnicol
In bug 1696905 I changed how clear tiles are rendered from multiply blend to opaque, however it breaks window controls on Windows 8 (the only thing that clear tiles are used for). This patch reverts clear tiles to the previous behavior.

I'm not sure how to test this part of the code because it depends on the widget integration code having something to show behind the window.

Differential Revision: https://phabricator.services.mozilla.com/D114327
2021-05-05 09:22:48 +00:00
Andrei Oprea 92b0ab56f1 Bug 1707901 - Add opt in to nimbus experiments via URL r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D113641
2021-05-05 08:58:56 +00:00
Martin Giger cb53a7c598 Bug 1709056 - Fix IOUtils append mode documentation and overwrite error. r=barret
Differential Revision: https://phabricator.services.mozilla.com/D114075
2021-05-05 08:36:48 +00:00
Iulian Moraru e4231baf41 Backed out 2 changesets (bug 1708660, bug 1708657) for causing build bustages. CLOSED TREE
Backed out changeset b0fa991c8314 (bug 1708657)
Backed out changeset ef755a58e62b (bug 1708660)
2021-05-05 11:47:50 +03:00
stransky 8d506867f0 Bug 1621660 [Wayland] When parent window is modal, set modal popup child window too, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D114240
2021-05-05 08:18:45 +00:00
Peter Van der Beken f75d011be1 Bug 1708657 - Cleanup in-tree WebIDL documentation a bit. r=freddyb
- Add a main header to the page
- Clean up the conversion from MDN a bit
- Modify type table to list-table to make it a bit easier to maintain
- Remove documentation for obsolete NavigatorProperty extended attribute
- Add a warning that JS-implemented WebIDL is deprecated

Depends on D113949

Differential Revision: https://phabricator.services.mozilla.com/D113950
2021-05-05 08:08:53 +00:00
Peter Van der Beken 1be1c3b5b0 Bug 1708660 - Remove support for map/setLike in JS-implemented WebIDL. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D113949
2021-05-05 08:08:52 +00:00
Nicolas Chevobbe 581f3fd2ca Bug 1706094 - [devtools] Set watchedByDevTools browsingContextflag in the parent process. r=ochameau.
We're using frame-helper#createTargets to set the flag as we're already looping
over the browsing context we need to handle.
We keep a Map of watcher/observer so we can remove the observer when the targets
get destroyed.

For the browser toolbox top-level browsing context we keep setting the flag in
the browsing context target actor as it lives in the parent process, and we
don't have watcher support enabled by default, so frame-helper wouldn't be hit.
frame-helper is not used in the legacy browser toolbox, so we won't set the flag
on tabs when devtools.browsertoolbox.fission is false, but that's okay it's not
currently set anyway in this setup.

Tests are added with multiple cases to ensure the flag is set in different situations.

Differential Revision: https://phabricator.services.mozilla.com/D113628
2021-05-05 08:04:24 +00:00
keiko c23d24e129 Bug 1705755 - added explanations about Bugzilla and Phabricator amended2 r=firefox-source-docs-reviewers,sylvestre,championshuttler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D113256
2021-05-05 06:58:16 +00:00
Mike Hommey f1cf961151 Bug 1709505 - Fix -D dead-code bustage in third_party/rust/mio. r=emilio
After bug 1708379, the build fails with --enable-warnings-as-errors with
rustc 1.52.

```
error: field is never read: `hdr`
    --> third_party/rust/mio/src/sys/unix/uds.rs:190:17
     |
 190 |                 hdr: libc::cmsghdr,
     |                 ^^^^^^^^^^^^^^^^^^
     |
     = note: `-D dead-code` implied by `-D warnings`
```

```
error: field is never read: `instant_notify`
   --> third_party/rust/mio/src/sys/windows/tcp.rs:85:5
    |
 85 |     instant_notify: bool,
    |     ^^^^^^^^^^^^^^^^^^^^
    |
    = note: `-D dead-code` implied by `-D warnings`
```

Differential Revision: https://phabricator.services.mozilla.com/D114311
2021-05-05 06:54:23 +00:00
Mike Hommey 4178828587 Bug 1709509 - Fix clippy warnings in webrender_bindings. r=gfx-reviewers,lsalzman
Fixed the following:
- methods called `to_*` usually take self by reference; consider choosing
  a less ambiguous name (clippy::wrong_self_convention)
- an implementation of `From` is preferred since it gives you `Into<_>`
  for free where the reverse isn't true (clippy::from_over_into)
- manual implementation of `Option::map` (clippy::manual_map)
- comparing with null is better expressed by the `.is_null()` method
  (clippy::cmp_null)
- use of `unwrap_or` followed by a function call (clippy::or_fun_call)
- you don't need to add `&` to all patterns (clippy::match_ref_pats)
- writing `&PathBuf` instead of `&Path` involves a new object where a
  slice will do (clippy::ptr_arg)

Locally ignored:
- 6 bindings with single-character names in scope (clippy::many_single_char_names)

Globally ignored:
- this public function dereferences a raw pointer but is not marked
  `unsafe` (clippy::not_unsafe_ptr_arg_deref)
- unsafe function's docs miss `# Safety` section (clippy::missing_safety_doc)

Differential Revision: https://phabricator.services.mozilla.com/D114319
2021-05-05 05:50:32 +00:00
Julian Seward 40dabb3533 Bug 1678097 - Add vector registers on ARM64. r=lth,nbp.
In short, this patch adds support for vector registers on ARM64, including
machinery to save and restore them on the stack.  It also cleans up and
documents some of the save/restore logic.

There are many changes:

* We add a new type, Bitset128, that can represent the register set on ARM64
  with vector registers. This is a mostly-constexpr class with two uint64_t's
  that behaves like a 128-bit integer in the cases we need for register sets.

* Since the new type is 16 bytes wide, misc code throughout the system that
  switches on register set width is updated to handle the case.

* The FloatRegisters::SetType is changed to use Bitset128, and various
  constants defined in ARM64 FloatRegisters are updated to reflect this.  As
  the constants are constexpr, we can be reasonably sure that there are no
  initialization-order problems introduced by this.

* The registers in ARM64 FloatRegisters are rearranged so that single comes
  before double, which comes before vector registers, to conform to the order
  used everywhere else.

* In MacroAssembler.h, the semantics required of PushRegsInMask and its
  associated functions have been further documented.

* For ARM64, PushRegsInMask and its associated functions (PushRegsInMask,
  storeRegsInMask, PopRegsInMaskIgnore, ReduceSetForPush, GetPushSizeInBytes,
  getRegisterDumpOffsetInBytes, and new function
  FloatRegister::BroadcastToAllSizes), have been rewritten to handle
  saving/restoring of SIMD registers.  PushRegsInMask and storeRegsInMask have
  been merged into a single function so as to reduce code duplication and the
  associated danger of mistakenly writing different formats.

* In many places that are ARM64-specific, code guarded by `#ifndef
  ENABLE_WASM_SIMD` has been removed, so that in effect we always assume that
  SIMD register state is available on the target, and can be loaded and
  stored, even though we haven't yet enabled ARM64 SIMD support per se.

* The routines PushRegsInMaskForWasmStubs, PopRegsInMaskForWasmStubs and
  GetPushSizeInBytesForWasmStubs have been removed, since their operation has
  now been subsumed into their non-`ForWasmStubs` equivalents.

* In Safepoints.cpp, {Write,Read}FloatRegisterMask have been rewritten to
  support 128-bit sets.  One side effect is that reads/writes of 64-bit chunks
  have been changed to use new routines {write,read}Unsigned64 rather than two
  uses of {write,read}Unsigned.  The effect is to save one byte when
  bits 64:32 are all zero.

* Ridealong cleanup: the constant ION_FRAME_SLACK_SIZE has been removed.  It
  has no known uses.

* Note that RABALDR_SIDEALLOC_V128 is still in place in the wasm baseline
  compiler.  This patch does not remove it.

Differential Revision: https://phabricator.services.mozilla.com/D100116
2021-05-05 05:45:35 +00:00
Adam Gashlin 7f923a39e7 Bug 1705373 - Part 2: Expect success even with only the MOZ_UPDATE_AGENT FirstStartup task enabled. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D114307
2021-05-05 04:26:44 +00:00
Adam Gashlin bf41732e48 Bug 1705373 - Part 1: Only set WDBA and Update Agent configs on Firefox (browser app). r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D114306
2021-05-05 04:26:43 +00:00
Glenn Watson b845f71b44 Bug 1709507 - Reduce allocations and memmove during scene building. r=gfx-reviewers,jrmuizel
This can make scene building up to 10% faster on some pages (such
as the youtube.com front page) that use a large number of clips.

Differential Revision: https://phabricator.services.mozilla.com/D114312
2021-05-05 03:00:28 +00:00
Micah Tigley 8d1d39f733 Bug 1708558 - Update history icon in library window. r=sfoster,desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D114273
2021-05-05 02:53:29 +00:00
Daniel Holbert 04bfa3e6a8 Bug 1691192: Give crashtest 471360.html an upper-bound on its looping so that it doesn't cycle forever and block the harness from proceeding. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D113998
2021-05-05 01:46:36 +00:00
Timothy Nikkel 0a51e9f3e0 Bug 1708143. Fix intermittents in test_group_zoomToFocusedInput.html. r=m_kato
There are two kinds of fixes here.

The first is calling waitToClearOutAnyPotentialScrolls after anything that might cause scrolls to make sure all scrolls are done before we move on in the test (so they don't mess us up later). Calling focus on an element is one thing that causes scrolling that may not be obvious.

The second is using promiseTransformEnd to be sure the zoom to focused input animation is done.

Differential Revision: https://phabricator.services.mozilla.com/D113908
2021-05-05 00:25:16 +00:00
Tooru Fujisawa 4c060cb465 Bug 1704185 - Rename JS::GetRealmWeakMapKey to JS::GetRealmKeyObject. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D111635
2021-05-04 23:48:26 +00:00
Dana Keeler ad61aa064a Bug 1670506 - OCSP requests shouldn't interact with the necko cache at all r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D114030
2021-05-04 23:28:50 +00:00