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

738530 Коммитов

Автор SHA1 Сообщение Дата
Eitan Isaacson 4364371432 Bug 1681072 - Don't recurse into link if it is in more than one offset. r=MarcoZ
This is a safeguard for endless recursion in HyperTextIterator::NormalizeForward. Will catch similar corruptions found in bug 1682692.

Differential Revision: https://phabricator.services.mozilla.com/D99926
2020-12-17 06:09:49 +00:00
Razvan Maries c1dc47efa6 Backed out changeset dbea74f0edd3 (bug 1682031) for perma faimures on test_pathutils.html. CLOSED TREE 2020-12-17 08:07:08 +02:00
Csoregi Natalia e99caccbe0 Backed out changeset 79484a596fa1 (bug 1649611) for failures on test_DownloadCore.js. CLOSED TREE 2020-12-17 07:52:14 +02:00
Jeff Muizelaar cc1dae05ef Bug 1682969 - Remove a bunch of manual dereferences. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D99944
2020-12-16 21:46:47 +00:00
smolnar 8fca43061d Backed out changeset 5d120a154a6b (bug 1674776) as requested. CLOSED TREE DONTBUILD 2020-12-17 03:22:33 +02:00
Hiroyuki Ikezoe f78a1ad627 Bug 1674776 - Update DocumentTimeline::mLastRefreshDriverTime outside parallel styling. r=boris,decoder
Note that we can probably use mLastRefreshDriverTime directly in
DocumentTimeline::GetCurrentTimeStamp(), i.e. we don't need to use the refresh
driver there, but I'd preserve the current behavior.

Differential Revision: https://phabricator.services.mozilla.com/D97823
2020-12-17 00:51:18 +00:00
Emilio Cobos Álvarez 0c6954bd7e Bug 1577530 - Annotate a test that is 1px less fuzzy.
MANUAL PUSH: Fix unexpected pass in a CLOSED TREE
2020-12-17 01:35:01 +01:00
Shane Caraveo a07332c458 Bug 1678829 fix permafail due to pref change during render of about:preferences r=preferences-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D99948
2020-12-16 22:37:03 +00:00
Jeff Muizelaar ab23e18c10 Bug 1682966 - Enable WebRender on Baytrail in Nightly/Early Beta. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D99943
2020-12-16 22:38:06 +00:00
Michael Goossens b7812391f5 Bug 1649613 - Convert Sqlite.jsm to use PathUtils r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D99157
2020-12-11 23:47:08 +00:00
Eitan Isaacson 2fcbbfc201 Bug 1681166 - Check selection is valid before cropping it in mozTextAccessible. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D99942
2020-12-16 21:36:12 +00:00
Toshihito Kikuchi 39355b8a28 Bug 1644240 - Suppress playing a sound if Diebold Warsaw's modules are partially unloaded. r=cmartin
This patch is to mitigate the crash which was probably caused by Diebold Warsaw.
We couldn't reproduce the problem, but our crash reports indicate the crash happened
when `winmm!mciwindow` called `USER32!GetMessageA` but it was redirected to a freed
buffer.  This happens Firefox calls to `PlaySound` e.g. showing the menu bar by
pressing Alt key, or showing a dialogbox.

Most of (not 100%) the crash instances have wslbdhm64 loaded but wslbscrwh64.dll
was unloaded.  The proposed mitigation is to suppress playing a sound under
such a condition.

Differential Revision: https://phabricator.services.mozilla.com/D99705
2020-12-16 22:50:46 +00:00
Sebastian Streich ac54bcd9d6 Bug 1676221 - Add UX nits to unblock UI r=ckerschb,Gijs
Show save dialogue
***
Automaticly show Panel On Block
***
Keep Open/Save Dialogue with open panel
***
Keep User choise in downloadsView
***
Add Unblock option to Unblock panel
***
lint
***
add test

Differential Revision: https://phabricator.services.mozilla.com/D96448
2020-12-16 22:55:12 +00:00
Daniel Holbert 3ce94dff9d Bug 1675244: Annotate reftest 585598-2.xhtml as slightly fuzzy, on Windows webrender. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D99938
2020-12-16 22:12:24 +00:00
Andrew Osmond 284c6aa966 Bug 1682636 - Don't allow generic blocklist rules to block SW-WR. r=jrmuizel
Since Software WebRender is the replacement for Basic compositor, we
should not allow generic blocklist rules which block all features to
block Software WebRender. This feature must work under all
configurations, including safe mode, so it doesn't make sense to allow
blocking it.

This does not however prevent rules specifically targeting SW-WR from
blocking/allowing it.

Differential Revision: https://phabricator.services.mozilla.com/D99834
2020-12-16 21:32:28 +00:00
Barret Rennie 502eea4257 Bug 1682031 - Add PathUtils.appendRelative r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D99505
2020-12-11 22:01:38 +00:00
Marco Bonardo 0d6a3dad7b Bug 1464322 - Intermittent failure in browser_toolbar_overflow.js. r=adw
Fix a race condition in _updateNodesVisibilityTimerCallback and skip nodes that
are not effective bookmarks, like the chevron or the other bookmarks button.

Differential Revision: https://phabricator.services.mozilla.com/D99900
2020-12-16 18:06:21 +00:00
Csoregi Natalia da65c94d99 Backed out 2 changesets (bug 1253129) for causing failures on browser_ext_windows_create_params.js. CLOSED TREE
Backed out changeset ac8d0372dcb1 (bug 1253129)
Backed out changeset 016006d107b6 (bug 1253129)
2020-12-17 00:50:20 +02:00
Emilio Cobos Álvarez 1a2cd6ace4 Bug 1577530 - Remove the test since some themes seem to do weird stuff when padding is specified, and this is covered once non-native-theme is enabled.
MANUAL PUSH: Remove just-introduced orange test CLOSED TREE
2020-12-16 23:41:43 +01:00
Emma Malysz 86901e12e4 Bug 1682128, fix checkbox color in print settings r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D99927
2020-12-16 19:36:10 +00:00
Emma Malysz 3512f01a4f Bug 1649611: Remove OS.File usage from DownloadIntegration.jsm r=barret
Differential Revision: https://phabricator.services.mozilla.com/D99729
2020-12-16 21:36:15 +00:00
Emilio Cobos Álvarez a6da85e68b Bug 1577530 - Cache theming values from nsTextControlFrame correctly. r=heycam
The issue is that nsTextControlFrame might have a different used padding
then the editing root block and thus the editing root's scrolled
content, etc, because its padding doesn't match the style.

This causes TextOverflow code to miscompute the content area size, which
is sadness and causes the overflow markers to go over the padding box.

The REFLOW_ROOT condition was introduced in bug 157846 and only
partially takes care of the issue. This fix supersedes it, so we can
remove it.

Differential Revision: https://phabricator.services.mozilla.com/D99838
2020-12-16 21:23:17 +00:00
Morgan Reschenberg a8d528a678 Bug 1664894: Remove logging r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D99933
2020-12-16 20:10:13 +00:00
Emilio Cobos Álvarez 076ee57756 Bug 1682174 - Remove layout.css.moz-any-is-is.enabled. r=boris
We shipped this, let's remove the MozAny code.

Differential Revision: https://phabricator.services.mozilla.com/D99607
2020-12-16 20:24:03 +00:00
Masatoshi Kimura 3424a95ee0 Bug 1682103 - Make nsContentPolicyType a CEnum type. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D99580
2020-12-16 11:36:47 +00:00
Masatoshi Kimura ecae686d70 Bug 1682103 - Allow typedef of CEnum types. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D99579
2020-12-16 15:35:39 +00:00
Masatoshi Kimura dc422d9edd Bug 1682103 - Stop parsing the same IDL files twice when resolving includes. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D99876
2020-12-16 15:39:18 +00:00
Connor Sheehan 7e2347b01a Bug 1681560: install native packages using requirements files with pinned hashes r=firefox-build-system-reviewers,mhentges
At the moment installing Python packages with native code is done by calling
`pip install <package>` and does not enforce any SHA hash for installed
dependencies, nor does it enforce a specific version to be installed.

This commit adds `requirements.in` and `requirements.txt` files for native
packages and changes these packages to be installed by running `pip install`
and passing the requirements file for the package. This allows us to pin the
SHA of the various dependencies. The `.txt` files are generated using
`pip-compile`.

We also add the new requirements files to the sparse profile for `mach`.

Differential Revision: https://phabricator.services.mozilla.com/D99912
2020-12-16 21:02:02 +00:00
Luca Greco 8225244cee Bug 1253129 - Prevent a logged warning from keeping the extension global alive after being destroyed. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D80936
2020-12-16 20:59:01 +00:00
Shane Caraveo d4a1a434ac Bug 1253129 warn when using focused property with windows.create r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D76944
2020-12-16 19:55:45 +00:00
Cameron McCormack 8d722de758 Bug 1682210 - Render non-native theme indeterminate, unchecked checkboxes liked indeterminate, checked ones. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D99644
2020-12-15 01:42:10 +00:00
Csoregi Natalia d8c9489b13 Backed out changeset 16d174e7c342 (bug 1583109) for bustage on nsReadableUtils.h. CLOSED TREE 2020-12-16 22:51:26 +02:00
Andrew Osmond ee3c58f97c Bug 1682715 - Only allow Software WebRender by default on x86/AMD64 targets. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D99937
2020-12-16 20:24:34 +00:00
Brendan Dahl 680cfda495 Bug 1666979 - Extend pdf.js telemetry probes. r=chutten
Work on the PDF viewer is continuing so we'd like to keep tracking this
info as we land more changes.

Differential Revision: https://phabricator.services.mozilla.com/D99917
2020-12-16 18:50:52 +00:00
Olli Pettay f02bd8c282 Bug 1457859 - PointerEvent.getCoalescedEvents timeStamps are zero, r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D99922
2020-12-16 19:42:54 +00:00
june wilde 778bd2ca28 Bug 1682933 - Temporarily enable updatebot for libdav1d; r=tjr DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D99929
2020-12-16 19:43:50 +00:00
Simon Giesecke 72babae175 Bug 1583109 - Use StringJoin(Append) where easily possible. r=nika
Bug 1583109 introduced new function templates StringJoin and StringJoinAppend.
These are now used to replace several custom loops across the codebase that
implement string-joining algorithms to simplify the code.

Differential Revision: https://phabricator.services.mozilla.com/D98750
2020-12-16 19:38:23 +00:00
Andrew Osmond 112768dbff Bug 1682927 - Ship WebRender to release for Intel users with a refresh rate of up to and including 75 Hz. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D99928
2020-12-16 19:25:19 +00:00
smolnar 643005bb54 Backed out changeset b1c01a78a999 (bug 1676303) for perma failures in test_sanctions_symantec_apple_google.js CLOSED TREE 2020-12-16 22:04:49 +02:00
Gijs Kruitbosch 5870a06d40 Bug 1682887 - roll out 2h2020 bookmarks pref to 100% on 85 and later, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D99909
2020-12-16 19:14:07 +00:00
Simon Giesecke db8cc251fb Bug 1679987 - Replace strtok for Vary header by nsCCharSeparatedTokenizer and range-based for. r=necko-reviewers,dom-workers-and-storage-reviewers,asuth,valentin
Differential Revision: https://phabricator.services.mozilla.com/D98309
2020-12-16 19:10:41 +00:00
Simon Giesecke 9379d0240f Bug 1679987 - Use nsTokenizedRange where easily possible. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D98308
2020-12-16 19:10:34 +00:00
Simon Giesecke 4a023dd2aa Bug 1679987 - Make nsTokenizerFlags a scoped enum and make them a template argument to nsTCharSeparatedTokenizer. r=xpcom-reviewers,necko-reviewers,nika
There are no uses of nsTCharSeparatedTokenizer that require run-time
configuration of the flags, so having them a compile-time template
argument allows for generation of more efficient code.

This might not matter that much now, but a subsequent patch will add another
flag to allow merging the implementation of nsTSubstring::Split with
nsTCharSeparatedTokenizer, through which the compile-time evaluation will
become more relevant.

Differential Revision: https://phabricator.services.mozilla.com/D99368
2020-12-16 19:10:21 +00:00
Simon Giesecke ae63265100 Bug 1679987 - Add nsTokenizedRange adapter to enable range-based for with tokenizers. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D98307
2020-12-16 19:10:13 +00:00
Simon Giesecke fe1c53bd2d Bug 1679987 - Convert tokenizer specializations from classes to type aliases. r=xpcom-reviewers,nika,necko-reviewers
Currently, the tokenizer specializations are subclasses of the generic base
template nsTCharSeparatedTokenizer. This is unnecessary with C++11 type aliases,
as those subclasses only delegate to the base constructor.

NS_TokenizerIgnoreNothing is introduced to replace several functions with
the same effect across the codebase.

Differential Revision: https://phabricator.services.mozilla.com/D98306
2020-12-16 19:10:06 +00:00
Simon Giesecke 29c054ab83 Bug 1679987 - Removed unused includes of nsCharSeparatedTokenizer.h. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D99877
2020-12-16 19:09:58 +00:00
Simon Giesecke b9386ba506 Bug 1682542 - Make use of standard algorithms in dom/cache. r=dom-workers-and-storage-reviewers,asuth
Specifically, instead of using custom loops
- use std::find_if in CacheOpParent::ProcessCrossOriginResourcePolicyHeader
- use ReduceEach in SetupAction::RunSyncWithDBOnTarget
- use std::any_of in Manager::RemoveContext
- use std::find_if in Manager::(Add|Release)Ref(Cache|Body)Id and
  Manager::Set(Cache|Body)IdOrphanedIfRefed
- use std::copy_if in Manager::NoteOrphanedBodyIdList
- use std::any_of in StreamList::ShouldOpenStreamFor
- use std::find_if in StreamList::Extract, StreamList::NoteClosed
- use std::exchange in StreamList::CloseAll
- use std::transform in ToHeadersEntryList and change it to return a value
  rather than modifying an output parameter
- use std::transform in TypeUtils::ToInternalHeaders

Differential Revision: https://phabricator.services.mozilla.com/D99789
2020-12-16 19:10:57 +00:00
Karl Tomlinson 0397fae8b0 Bug 1673767 trap fatal X errors when looking up _NET_WM_NAME on _NET_SUPPORTING_WM_CHECK window r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D99855
2020-12-16 19:01:46 +00:00
Mike Conley 9ce91d3940 Bug 1682025 - Ensure menubar strings use APA-style Title Case. r=flod,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D99847
2020-12-16 18:42:35 +00:00
Anny Gakhokidze 0ce6e91045 Bug 1682694 - Add maxFrames arg to nsTraceRefcnt::WalkTheStack, r=xpcom-reviewers,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D99848
2020-12-16 17:44:28 +00:00