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

754289 Коммитов

Автор SHA1 Сообщение Дата
Daniel Holbert 81ff45624a Bug 1691034: Remove problematic "auto-reload" behavior from crashtest 370174-3.html. r=emilio
This "automatic reload" behavior was probably useful as a PoC for the original
bug, but it's no good in a crashtest, because:

(a) the reload probably doesn't even take effect most of the time, since it's
in a setTimeout that the test is under no obligation to wait for.

(b) if the reload *does* get a chance to take effect (e.g. on a slower
test-runner where it takes longer for the test harness to judge the test to be
complete), then the test may simply never terminate (or take a long time to
terminate), because each reload causes some more paints, which the test harness
is then forced to wait on; and another reload may arrive before the test
harness checks back to see if we're done painting.

So: let's just remove the auto-reload behavior from this crashtest.

Differential Revision: https://phabricator.services.mozilla.com/D112686
2021-04-20 14:20:43 +00:00
Emilio Cobos Álvarez c78d99121a Bug 1706325 - Minor tweaks to the VIM docs. r=sylvestre
Mostly mentioning that other completion engines also work, and how to
set jsm files to be treated like other JS files (and thus ESLint etc
would work on them).

Differential Revision: https://phabricator.services.mozilla.com/D112729
2021-04-20 14:19:09 +00:00
Mitchell Hentges cb92d64d4d Bug 1507272: Enable build telemetry for Mozilla devs by default r=firefox-build-system-reviewers,glandium
Check if a user is a Mozilla employee by checking their
Bugzilla groups, or checking if their VCS email ends
with "@mozilla.com".

When a user is setting up a new build environment, telemetry
will be automatically enabled for them if they are an
employee. If they're not an employee, they'll be asked
if they want to opt in.

Differential Revision: https://phabricator.services.mozilla.com/D106315
2021-04-20 13:58:51 +00:00
Mitchell Hentges 73f81b1c85 Bug 1698616: Bump python dependencies r=firefox-build-system-reviewers,glandium
Did you know that our version of requests was from 2015? Phwoar!
This bumps `jinja2`, `py`, `pyyaml`, `requests` and `urllib3`.
There's significant risk for regressions due to breaking changes,
though due to the dynamic nature of Python, they're tricky to track
down.

The potential breaking changes I'm expecting to potentially affect
us are:

* `requests@2.11.0`: No longer accepts non-strings as header values.
* `requests@2.16.0`: `requests.packages` namespace was removed due to
  packages no longer being vendored. The namespace has been
  incrementally restored over future releases, but it's unclear to
  what degree.
* `requests@2.24.0`: Redirect resolution now only happens when
  `allow_redirects` is `True`.
* `requests` version of `urllib3` was bumped from `1.13.1` to `1.26`,
  unsure what repercussions that will have.

This also added dependencies to `flake8_requirements`. This is because
the vendored `importlib-metadata` update (and the new
`typing-extensions` dependency) is found by `pip`, but the
vendored `typing-extensions` is _not_ discovered (perhaps due to
details around "eggs" and the way we add vendored code to the sys.path).
So, `pip` tries to install it manually and fails when it finds no hash.
By re-compiling `flake8_requirements`, the necessary hashes are made
available.

Differential Revision: https://phabricator.services.mozilla.com/D108526
2021-04-20 13:57:47 +00:00
smolnar 789b011460 Bug 1703437 - updated expectancies in nav2_test_redirect_server.html for frequent failures on win. r=intermittent-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D112730
2021-04-20 13:10:04 +00:00
Joel Maher 70bba17bca Bug 1706173 - run osx perf tests on older R7 hardware to test fission. r=jesup
Differential Revision: https://phabricator.services.mozilla.com/D112731
2021-04-20 13:03:29 +00:00
Samuel Grasse-Haroldsen a37ece54d8 Bug 1561538 - Render message when there are no addons. r=robwu,flod
Differential Revision: https://phabricator.services.mozilla.com/D106697
2021-04-20 13:03:01 +00:00
Richa Sharma 937c00709e Bug 1697764 - Support container-level isolation of the webRequest API r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D108561
2021-04-20 12:59:27 +00:00
Richa Sharma 946f7e4212 Bug 1692813 - Support container-level isolation of the Proxy API r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D105879
2021-04-20 12:59:27 +00:00
Richa Sharma 6db19c975e Bug 1690736 - Change webnavigation API internal to support container access. r=rpl,robwu
Differential Revision: https://phabricator.services.mozilla.com/D104355
2021-04-20 12:59:26 +00:00
Richa Sharma ef3cb771f8 Bug 1683058 - Remove unused isPrivate from ext-browser.js. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D104055
2021-04-20 12:59:26 +00:00
Richa Sharma fd0ae3c342 Bug 1683058 - Change tabs API internals to support container access. r=robwu,rpl
Differential Revision: https://phabricator.services.mozilla.com/D100232
2021-04-20 12:59:26 +00:00
Andreea Pavel 80bb444d43 Bug 1634684 - disable test_setSinkId_default_addTrack on linux-qr debug r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D112690
2021-04-20 12:50:37 +00:00
Christoph Kerschbaumer bb9d21868f Bug 1705340: Ensure localhost and .onion are handled properly within HTTPS-First Mode r=JulianWels
Differential Revision: https://phabricator.services.mozilla.com/D112161
2021-04-20 12:40:07 +00:00
Butkovits Atila a40aeac793 Backed out changeset 43711f4646a7 (bug 1644719) for causing failures on browser_aboutCertError_offlineSupport.js. CLOSED TREE 2021-04-20 16:00:18 +03:00
Jamie Nicol 2c893aa32d Bug 1706267 - Enable webrender for Adreno 3xx devices. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D112696
2021-04-20 12:29:29 +00:00
stransky 5acc584ad2 Bug 1706022 [Linux] Use GdkIsWaylandDisplay()/GdkIsX11Display() instead of gfxPlatformGtk::GetPlatform() variants, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D112525
2021-04-20 12:29:01 +00:00
Jamie Nicol a603deeb55 Bug 1706277 - Remove blit_workaround_buffer from webrender. r=nical
This was required to workaround a driver bug on Adreno devices when
blitting to texture arrays. It is no longer required as we have
stopped using texture arrays, due to all the driver bugs.

It's currently just dead code as we stopped initializing the buffers
when we removed texture array support. This patch just removes the
dead code.

Differential Revision: https://phabricator.services.mozilla.com/D112697
2021-04-20 12:23:36 +00:00
Emilio Cobos Álvarez 5918e97f4e Bug 1706301 - Fix inert-node-is-unselectable.tentative.html. r=masayuki
Seems legit to select the whitespace around the inert node.

Differential Revision: https://phabricator.services.mozilla.com/D112718
2021-04-20 12:20:55 +00:00
Masayuki Nakano dc502df61b Bug 1703561 - Make `HTMLEditor` not allow to modify content nodes in `<select>` element r=m_kato
Like the other browsers, we shouldn't allow to user modify content in
`<select>` element.  Note that this case won't occur with moving caret
with input devices.  This occurs only with Selection API.

FYI: Chrome deletes `<select>` element if children of it are selected,
but it's odd behavior since user don't see where is selected visually
and may cause unexpected data loss (i.e., deleting `<select>` element).

Perhaps, we should investigate the behavior in other replaced elements
like `<textarea>` etc in follow up bugs.

Depends on D112513

Differential Revision: https://phabricator.services.mozilla.com/D112517
2021-04-20 12:07:15 +00:00
Masayuki Nakano d39859eba7 Bug 1627175 - part 23: Move `HTMLEditor::IsEmptyNode()` into `HTMLEditUtils` with making it take `EnumSet` instead of `bool` arguments r=m_kato
It's hard to understand each caller of `HTMLEditor::IsEmptyNode()` tries to
check with multiple `bool` arguments.  Therefore, they should be replaced
with an `EnumSet`.

Note that only the first argument is reverted the meaning.  Therefore, if
it's omitted or `false`, `EmptyCheckOption::TreatSingleBRElementAsVisible`
is specified explicitly.  Otherwise, i.e., `true`, nothing should be
specified.

Differential Revision: https://phabricator.services.mozilla.com/D112513
2021-04-20 12:02:17 +00:00
Nicolas Chevobbe e1210c8bb6 Bug 1706242 - [devtools] Rename devtools/shared/commands/target-configuration/tests/doc_media_queries.sjs into target_configuration_test_doc.sjs. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D112691
2021-04-20 11:35:22 +00:00
Olli Pettay 9b7e635703 Bug 1705489 - update docshell/test/browser/browser_bug1328501.js to pass on Fission+BFCache, r=peterv
The test is using a framescript to have an observer for "http-on-opening-request".
That is used for the actual testpage but we need to prevent the next page to enter bfcache, so that
when going back from the session history frameloader isn't changed.
So in this case disabling bfcache should be fine.

Differential Revision: https://phabricator.services.mozilla.com/D112245
2021-04-20 11:33:16 +00:00
Marco Bonardo 40fdf805bd Bug 1703590 - Fix custom themes urlbar/searchbar separators. r=harry,desktop-theme-reviewers,rpl
Stop supporting toolbar_field_separator in themes. We have no more
vertical separators in toolbar fields, and it could hide functional horizontal
separators in the urlbar panel, because it was misused there.

Introduce an autocomplete_popup_separator experimental color instead and use
a color-mix of currentColor to better adapt to LWT theme colors.

Differential Revision: https://phabricator.services.mozilla.com/D112616
2021-04-20 11:24:22 +00:00
Claudia 4692135031 Bug 1644719 - Add basic support to display offline support pages when SUMO is unreachable. r=prathiksha,desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D111841
2021-04-20 10:54:12 +00:00
Emilio Cobos Álvarez ae22a9903e Bug 1704466 - Make sure to preserve face order from fontconfig when appropriate. r=jfkthame
This seems to help: https://treeherder.mozilla.org/perfherder/compare?originalProject=try&originalRevision=158613f137b8fe9409f19a3b6abbe5ce773a7b4f&newProject=try&newRevision=c87de791fbfc5d269d0f2071dc8a6dd28707bebc&framework=13

My patch reversed the ordering of faces with different weight / style /
etc for a single font (which shouldn't matter for correctness, but seems
to have some perf implications).

Based on logging, fontconfig on automation returns "regular" faces first
and "bold / semibold / italic / etc" later.

My guess is that putting the regular faces later (which are more
commonly used) affected performance of these test-cases.

This patch should address it and restore the original order, by tweaking
the prioritization code to stop doing "insert to front" / "insert to
back", but instead moving aliases to the end.

Differential Revision: https://phabricator.services.mozilla.com/D112674
2021-04-20 10:42:44 +00:00
Emilio Cobos Álvarez 4afa4b6601 Bug 1705877 - Add back some virtual keywords that I shouldn't have removed.
MANUAL PUSH: Silly lint fix fix on a CLOSED TREE
2021-04-20 12:26:00 +02:00
Emilio Cobos Álvarez 231f51f721 Bug 1705877 - Remove a bunch of useless virtual keywords in nsBaseWidget.h.
My previous patch triggers a lint failure because it used 'virtual' and
'final' on the same declaration. However we have a gazillion violations
of this same lint (just with 'override', not 'final') on the same file,
so I was just following local style.

Apparently the lint is tier 1 and runs on every push (wtf), so fix the
whole header.

MANUAL PUSH: Silly lint fix on a CLOSED TREE.
2021-04-20 12:24:49 +02:00
Jonathan Kew 4594a5e0e2 Bug 1706077 - Move setting of 'opsz' axis from nsFont into gfxFont initialization as it depends on data from both the style and the specific gfxFontEntry. r=layout-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D112631
2021-04-20 09:59:20 +00:00
Luz De La Rosa 98981e4f3f Bug 1701059 - Addon install confirmation panel Okay button is too wide with Proton enabled. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D112636
2021-04-20 09:54:39 +00:00
Emilio Cobos Álvarez 294d0f244e Bug 1705877 - Introduce nsIWidget::Cursor. r=dholbert
This removes some sketchy non-caching of cursors on windows while at it,
now that plugins are gone, but otherwise shouldn't change behavior.

Differential Revision: https://phabricator.services.mozilla.com/D112475
2021-04-20 09:47:32 +00:00
Florian Quèze 1362e81ad5 Bug 1706097 - AUTO_PROFILER_LABEL_DYNAMIC_NSCSTRING_NONSENSITIVE should record BHR label frames even when the profiler is not running, r=gerald.
Differential Revision: https://phabricator.services.mozilla.com/D112630
2021-04-20 09:32:13 +00:00
Gabriele Svelto 3c3f96a603 Bug 1705396 - Add the startup time crash anotation to the crash reports intercepted via WER r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D112184
2021-04-20 09:27:03 +00:00
Emilio Cobos Álvarez 83c4ef7a8d Bug 1635327 - Try to get more information from lsan crashes on automation. r=glandium,firefox-build-system-reviewers
If I'm reading compiler-rt correctly, this and __lsan_default_options
should be additive so we shouldn't need to specify the allow_leaks flag
gobally.

Differential Revision: https://phabricator.services.mozilla.com/D110699
2021-04-20 09:07:54 +00:00
Edgar Chen 41dbb6af4d Bug 1705660 - Remove nsIDOMWindowUtils::deprecatedOuterWindowID; r=kmag
As it is not used now (after bug 1612831).

Differential Revision: https://phabricator.services.mozilla.com/D112327
2021-04-20 09:04:42 +00:00
Andi-Bogdan Postelnicu 8512a170b8 Bug 1706253 - For clang-trunk only trigger it from cron job. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D112693
2021-04-20 08:20:41 +00:00
imoraru 97edf7f91e Backed out changeset 30af8f80e275 (bug 1705927)for causing failures at test_group_hittest-2.html. CLOSED TREE 2021-04-20 12:03:21 +03:00
Mirko Brodesser d44f4cc342 Bug 1700051: part 35) Reduce accessibility of `mSoftText.mDOMMapping` to `private`. r=smaug
Depends on D112551

Differential Revision: https://phabricator.services.mozilla.com/D112552
2021-04-20 07:49:13 +00:00
Mirko Brodesser 7198e709e8 Bug 1700051: part 34) Reduce accessibility of `mSoftText.mValue` to `private`. r=smaug
Depends on D112550

Differential Revision: https://phabricator.services.mozilla.com/D112551
2021-04-20 07:49:13 +00:00
Mirko Brodesser 8e5146d57b Bug 1700051: part 33) Move `AdjustSoftBeginAndBuildSoftText` to `SoftText`. r=smaug
Depends on D112549

Differential Revision: https://phabricator.services.mozilla.com/D112550
2021-04-20 07:49:13 +00:00
Mirko Brodesser 5af84ee6ee Bug 1700051: part 32) Move `InvalidateWords` to `SoftText`. r=smaug
It's clearer.

Differential Revision: https://phabricator.services.mozilla.com/D112549
2021-04-20 07:49:12 +00:00
Mirko Brodesser c7077c610e Bug 1700051: part 31.5) Move `mSoftTextDOMMapping` to `SoftText`. r=smaug
Depends on D112544

Differential Revision: https://phabricator.services.mozilla.com/D112545
2021-04-20 07:49:12 +00:00
Mirko Brodesser 12f19abd5f Bug 1700051: part 31.4) Move `mSoftTextValid` to `SoftText`. r=smaug
Depends on D112543

Differential Revision: https://phabricator.services.mozilla.com/D112544
2021-04-20 07:49:11 +00:00
Mirko Brodesser 64c83abf72 Bug 1700051: part 31.3) Move `mSoftEnd` to `SoftText`. r=smaug
Depends on D112542

Differential Revision: https://phabricator.services.mozilla.com/D112543
2021-04-20 07:49:11 +00:00
Mirko Brodesser f9be3581cf Bug 1700051: part 31.2) Move `mSoftBegin` to `SoftText`. r=smaug
Depends on D112541

Differential Revision: https://phabricator.services.mozilla.com/D112542
2021-04-20 07:49:11 +00:00
Mirko Brodesser 1b13e1f445 Bug 1700051: part 31.1) Factor `SoftText` out. r=smaug
The `mSoft*` members belong together and will be moved to `SoftText` in
the following reviews.

Depends on D112540

Differential Revision: https://phabricator.services.mozilla.com/D112541
2021-04-20 07:49:10 +00:00
Mirko Brodesser acff2bb77d Bug 1700051: part 30) Narrow scope of `newOffset`. r=smaug
Presumably allows simplifying the code around it. See the following
review.

Differential Revision: https://phabricator.services.mozilla.com/D112540
2021-04-20 07:49:10 +00:00
Dragana Damjanovic a32432840b Bug 1669892 - Enable test_http3.js on MAC r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D110567
2021-04-20 07:33:37 +00:00
Jamie Nicol 56f9b83c08 Bug 1705433 - Pack more varyings in vectors to work around Adreno 3xx bug. r=kvark
In bug 1630356 we found a driver bug on some Adreno 3xx devices where
flat scalar varyings in shaders incorrectly caused the output of every
fragment in the triangle to be calculated as if flat. To work around
the bug, we pack the scalar varyings in a vector. At the time we
believed it may be limited to varyings used to calculate UV
coordinates, however, we have now seen more cases of this bug (in box
shadows, gradients, and svg filters).

Unfortunately it is not yet clear what precise conditions are required
to trigger this bug, so for now we just apply the workaround to the
varyings we know are affected due to failing wrench tests on the device.

Differential Revision: https://phabricator.services.mozilla.com/D112334
2021-04-20 07:08:40 +00:00
sotaro 1082170c92 Bug 1697096 - Call WebRenderAPI::Resume() in AllocPWebRenderBridgeParent() if necessary on Android r=jnicol
On Android, WebRenderAPI::Resume() call is triggered from Java side. But Java side does not know about fallback to RenderCompositorOGLSWGL. Then in this fallback case, RenderCompositor::Resume() needs to be called from gfx code if it is necessary to be called.

Resume() is necessary only when RenderCompositor::Resume() is implemented. The Resume() is implemented only on RenderCompositorEGL and RenderCompositorOGLSWGL. And only RenderCompositorOGLSWGL uses software WebRender.

Differential Revision: https://phabricator.services.mozilla.com/D107620
2021-04-20 06:48:35 +00:00