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

758244 Коммитов

Автор SHA1 Сообщение Дата
Jan Horak 24a80c79c7 Bug 1688720 Use print portal under flatpak because gtk_print_job_new does not work; r=stransky
Under flatpak when the 'print.tab_modal.enabled' is set (default now) the print use gtk_print_job_new
which doesn't work under flatpak. We need to use "Print" portal for the task.

Differential Revision: https://phabricator.services.mozilla.com/D115492
2021-05-26 08:25:23 +00:00
Tim Huang 53c6da5393 Bug 1706612 - Part 3: Add a test for the query stripping allow list. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D115865
2021-05-26 08:24:22 +00:00
Tim Huang 8348cfbb47 Bug 1706612 - Part 2: Implement the allow list for query stripping. r=dimi
This patch implements the allow listfor query stripping. The allow list
contains sites that exampt from query stripping. When loading a URI, we
will check if the basedomain of the URI is in the allow list. If it
does, we will skip the query stripping.

Depends on D115863

Differential Revision: https://phabricator.services.mozilla.com/D115864
2021-05-26 08:24:21 +00:00
Tim Huang d19035203c Bug 1706612 - Part 1: Add a pref for the allow list of query stripping. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D115863
2021-05-26 08:24:21 +00:00
Alexandre Poirot 2466a0adea Bug 1712686 - [devtools] Pull DevToolsClient from commands object instead of target fronts. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D115862
2021-05-26 08:23:34 +00:00
Benjamin Beurdouche b3d2b323ab Bug 1711262 - land NSS ef591b9d25a3 UPGRADE_NSS_RELEASE, r=beurdouche
2021-05-25  Benjamin Beurdouche  <bbeurdouche@mozilla.com>

	* lib/ckfw/builtins/certdata.txt:
	Bug 1710716 - Remove Expired Sonera Class2 CA from NSS. r=bwilson

	Depends on D115882

	[ef591b9d25a3] [tip]

	* lib/ckfw/builtins/certdata.txt:
	Bug 1710716 - Remove Expired Root Certificates from NSS - QuoVadis
	Root Certification Authority. r=bwilson

	Depends on D115877

	[f7ff828026cd]

	* lib/ckfw/builtins/certdata.txt:
	Bug 1708307 - Remove Trustis FPS Root CA from NSS. r=bwilson

	[4ef15c2043cf]

	* lib/ckfw/builtins/certdata.txt:
	Bug 1707097 - Add Certum Trusted Root CA to NSS. r=bwilson

	Depends on D115890

	[4f4982362348]

	* lib/ckfw/builtins/certdata.txt:
	Bug 1707097 - Add Certum EC-384 CA to NSS. r=bwilson

	Depends on D115889

	[171e74b54ca4]

	* lib/ckfw/builtins/certdata.txt:
	Bug 1703942 - Add ANF Secure Server Root CA to NSS. r=bwilson

	Depends on D115888

	[e189b4f85ce5]

	* lib/ckfw/builtins/certdata.txt:
	Bug 1697071 - Add GLOBALTRUST 2020 root cert to NSS. r=bwilson

	[487e89fcb141]

2021-05-20  Robert Relyea  <rrelyea@redhat.com>

	* doc/certutil.xml, doc/html/certutil.html, doc/html/derdump.html,
	doc/html/modutil.html, doc/html/pk12util.html, doc/html/pp.html,
	doc/html/signver.html, doc/html/ssltap.html, doc/modutil.xml,
	doc/nroff/certutil.1, doc/nroff/crlutil.1, doc/nroff/derdump.1,
	doc/nroff/modutil.1, doc/nroff/pk12util.1, doc/nroff/pp.1,
	doc/nroff/signtool.1, doc/nroff/signver.1, doc/nroff/ssltap.1,
	doc/nroff/vfychain.1, doc/nroff/vfyserv.1, doc/pk12util.xml,
	doc/signver.xml:
	Bug 1712184 NSS tools manpages need to be updated to reflect that
	sqlite is the default database.

	This patch does 2 things:

	1) update certutil.xml pk12util.xml modutil.xml and signver.xml to
	reflect the fact the the sql database is default. Many of these also
	has examples of specifying sql:dirname which is now the default. I
	did not replace them with dbm:dirname since we don't want to
	encourage regressing back. The one exception is in the paragraph
	explaining how to get to the old database format.

	2) I ran make in the diretory to update the .1 and .html files
	generated from the .xml files. There are a number of old updates to
	the .xml files which haven't been picked up in their corresponding
	html or man page files. This updates are included in this patch.

	It is really only necessary to review the changes to the .xml files,
	the rest were reviewed when their patches were applied.

	bob

	[da25615e92c8]

2021-05-24  Mike Hommey  <mh@glandium.org>

	* lib/freebl/freebl.gyp:
	Bug 1712230 - Don't build ppc-gcm.s with clang integrated assembler.
	r=bbeurdouche

	Like intel-gcm.s.

	[2300e178c90f]

2021-05-20  Robert Relyea  <rrelyea@redhat.com>

	* lib/freebl/blapi.h:
	Bug 1712211 Strict prototype error when trying to compile nss code
	that includes blapi.h

	in blapi.h, strict prototypes compiles fail on: extern
	BLAKE2BContext *BLAKE2B_NewContext();

	This patch fixes that problem.

	[207465bda46a]

Differential Revision: https://phabricator.services.mozilla.com/D115972
2021-05-26 07:56:40 +00:00
Masayuki Nakano abb1aff2ff Bug 1540037 - part 29: Move `nsIEditor.documentCharacterSet` definitions into `HTMLEditor` r=m_kato
The attribute is used only with `HTMLEditor`, and it does not make sense to
access document's character-set via `TextEditor`.  Therefore, this patch
makes it implement in `HTMLEditor` (`EditorBase` will return
`NS_ERROR_NOT_AVAILABLE` both getter and setter).

Note that `EditorBase::GetDocumentCharsetInternal()` is required by
`TextEditor::ComputeValueInternal()`.  Therefore, it needs to stay in
`EditorBase`.

Differential Revision: https://phabricator.services.mozilla.com/D115948
2021-05-26 07:45:02 +00:00
Andreas Farre 71ed674415 Part 10: Bug 1700623 - Wait for history navigation in browser_history_menu.js r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D115898
2021-05-26 07:14:07 +00:00
Andreas Farre 3dd66dc912 Part 9: Bug 1700623 - Notify main thread about storage updates periodically. r=asuth
This is used to update session store storage contents continuously.

Depends on D111435

Differential Revision: https://phabricator.services.mozilla.com/D114586
2021-05-26 07:14:07 +00:00
Andreas Farre 046cb66bae Part 8: Bug 1700623 - Switch to use empty document in iframe. r=kashav
Before session store collection would actually force document creation
when collecting session storage data, but we don't do that
anymore. Instead we switch from using 'about:robots' as the iframe
document to an empty document to actually be able to get unload and
pagehide.

Depends on D111434

Differential Revision: https://phabricator.services.mozilla.com/D111435
2021-05-26 07:14:06 +00:00
Andreas Farre dd51467c22 Part 7: Bug 1700623 - Make session storage session store work with Fission. r=nika
Use the newly added session storage data getter to access the session
storage in the parent and store it in session store without a round
trip to content processes.

Depends on D111433

Differential Revision: https://phabricator.services.mozilla.com/D111434
2021-05-26 07:14:06 +00:00
Andreas Farre 1e98905bd8 Part 6: Bug 1700623 - Add data querying to SessionStorageManager in parent process. r=nika,dom-storage-reviewers,asuth
To collect session storage data for session store, we make it possible
to query the background session storage managar for data.

Depends on D111432

Differential Revision: https://phabricator.services.mozilla.com/D111433
2021-05-26 07:14:05 +00:00
Andreas Farre f39a2a4d60 Part 5: Bug 1700623 - Add helper to get OriginAttributes from PrincipalInfo. r=timhuang
Depends on D111431

Differential Revision: https://phabricator.services.mozilla.com/D111432
2021-05-26 07:14:05 +00:00
Andreas Farre 5b19cea74f Part 4: Bug 1700623 - Add js value conversion for Record. r=peterv
Depends on D111430

Differential Revision: https://phabricator.services.mozilla.com/D111431
2021-05-26 07:14:05 +00:00
Andreas Farre 75578a78f7 Part 3: Bug 1700623 - Used TabStateFlusher.flush to guarantee session store state. r=kashav
Depends on D111429

Differential Revision: https://phabricator.services.mozilla.com/D111430
2021-05-26 07:14:04 +00:00
Andreas Farre 15dabb40c0 Part 2: Bug 1700623 - Pass the storage principal to SessionStorageManager::EnsureCache. r=dom-storage-reviewers,asuth
Passing the storage principal makes data end up in the correct bucket
keyed by the origin attribute in SessionStorageManagerBase::mOATable.

Depends on D111428

Differential Revision: https://phabricator.services.mozilla.com/D111429
2021-05-26 07:14:04 +00:00
Andreas Farre 1f6b2e377e Part 1: Bug 1700623 - Add storagePrincipal to WindowGlobalParent. r=nika,timhuang
We use the storage principal to look up origin records in the
background session storage manager.

Differential Revision: https://phabricator.services.mozilla.com/D111428
2021-05-26 07:14:03 +00:00
Chris Fallin 9e6185bf59 Bug 1706949 part 13 - Fix icu and intl for wasi. r=anba,glandium
Differential Revision: https://phabricator.services.mozilla.com/D113218
2021-05-26 06:44:09 +00:00
Alexandru Michis 1df3b4b4d2 Backed out 3 changesets (bug 1712724) for causing mochitests without e10s failures in test_focus.xhtml
CLOSED TREE

Backed out changeset 61d8ca98120b (bug 1712724)
Backed out changeset 46b1d60b6b6b (bug 1712724)
Backed out changeset 36504d508b34 (bug 1712724)
2021-05-26 08:18:02 +03:00
Henri Sivonen 2cc5f863ce Bug 1712728 - Limit the encoding_detection_outcome_html and encoding_detection_outcome_text probes to HTTP status 200. r=emk
Differential Revision: https://phabricator.services.mozilla.com/D115897
2021-05-26 04:19:12 +00:00
Ting-Yu Lin 94aa79421f Bug 1712496 - Adjust flex container's overflow area only if there are flex items. r=dholbert
The rect `flexItemMarginBoxBounds` is initialized at position (0, 0),
not the flex container's content-box origin. Inflating its initial value
with flex container's padding is just wrong.

Differential Revision: https://phabricator.services.mozilla.com/D115854
2021-05-26 02:59:16 +00:00
Masayuki Nakano 3104bf1689 Bug 1540037 - part 28: Add pure virtual methods to `EditorBase`, which are originated from `TextEditor` r=m_kato
`TextEditor` declares some virtual methods newly.  However, for moving some
methods from `TextEditor` to `EditorBase`, they should be accessible from
`EditorBase`.  Therefore, this patch adds declarations of pure virtual
methods of them to `EditorBase`.

Differential Revision: https://phabricator.services.mozilla.com/D115796
2021-05-26 02:00:45 +00:00
Iain Ireland 469f320190 Bug 1710905: Part 4: Reorder type checks in visitTypeOfV based on observed types r=jandem
I've preserved the existing default ordering.

I'm not totally happy with the initializer_list + vector approach to representing the default order / remaining types, but we don't seem to have any container types that can be initialized with a literal list and remove arbitrary elements. Maybe I missed something obvious.

Differential Revision: https://phabricator.services.mozilla.com/D115105
2021-05-26 01:51:22 +00:00
Iain Ireland 5ed661e639 Bug 1710905: Part 3: Create WarpPolymorphicTypes snapshots r=jandem
For now I've made TypeDataList a statically sized array so that we can just pass it around by value. (It's only 7 bytes right now, although that may go up to 13 when I add support for compare ICs.)

I'm hoping that WarpOracle can just collect / sort the TypeData in an ICKind-agnostic way, and let WarpBuilder decide what to do with it. It works for typeof ICs, so we'll see if the same is true for compare.

The bailout loop detection code isn't affected yet because MTypeOf never bails out. I think everything should Just Work when we add support for compare, but we can revisit that question once it's implemented.

Differential Revision: https://phabricator.services.mozilla.com/D115104
2021-05-26 01:51:21 +00:00
Iain Ireland 4063b8dd9b Bug 1710905: Part 2: Hoist ValTypeToString into JitSpewer.h r=jandem
I wanted to be able to print out value types in the Warp snapshot. The only place where we were currently doing it was when dumping recovery snapshots. This patch hoists that code into JitSpewer so that it's more conveniently available when spewing.

Differential Revision: https://phabricator.services.mozilla.com/D115103
2021-05-26 01:51:21 +00:00
Iain Ireland 0af5cc4590 Bug 1710905: Part 1: Store type data in TypeOf IC stubs r=jandem
TypeData currently stores a single JSValueType initialized to TYPE_UNKNOWN. I think we'll need a second JSValueType to support compare ICs. Fortunately, we have three bytes of empty padding to work with in the ICStub.

Differential Revision: https://phabricator.services.mozilla.com/D115102
2021-05-26 01:51:21 +00:00
Makoto Kato 950eda2e59 Bug 1712245 - Use x86_64 NDK on Apple Slicon if native NDK is missing. r=firefox-build-system-reviewers,glandium
Actually, Google doesn't release native version of NDK for macOS/aarch64.
So if missing, we use x86_64 NDK instead.

Differential Revision: https://phabricator.services.mozilla.com/D115675
2021-05-26 01:37:37 +00:00
Masayuki Nakano 254db9612f Bug 1540037 - part 27: Move `TextEditor::CanDeleteSelection()` to `EditorBase` r=m_kato
It's used with both `TextEditor` and `HTMLEditor` instances.  So, it should be
implemented in `EditorBase` instead.

Differential Revision: https://phabricator.services.mozilla.com/D115795
2021-05-26 01:19:43 +00:00
Noemi Erli 9469a9b825 Backed out changeset 4c53c4da7ece (bug 1677555) for causing multiple failures in imgRequestProxy.cpp CLOSED TREE 2021-05-26 04:34:26 +03:00
Masayuki Nakano 85cc2d756b Bug 1540037 - part 26: Get rid of `TextEditor::Copy()` r=m_kato
It's common method of `TextEditor` and `HTMLEditor`, but implemented by
`TextEditor` even though it's an override of `nsIEditor`'s method.

Therefore, it should be implemented in `EditorBase` instead.

Differential Revision: https://phabricator.services.mozilla.com/D115794
2021-05-26 01:13:23 +00:00
Masayuki Nakano 98b26adadd Bug 1540037 - part 25: Move `TextEditor::CutAsAction()` to `EditorBase` r=m_kato
It's a common method to cut selection.  Therefore, it should be in `EditorBase`.

Differential Revision: https://phabricator.services.mozilla.com/D115793
2021-05-26 00:25:30 +00:00
Hiroyuki Ikezoe 9e52f5ce78 Bug 1699890 - Forcibly create a display item for backgroud-color animations even if it's transparent at the moment. r=boris,miko
Otherwise we keep restyling for the animations on the main thread and trying
to create display items for them.

Differential Revision: https://phabricator.services.mozilla.com/D115441
2021-05-26 00:17:39 +00:00
Hiroyuki Ikezoe e63d42d765 Bug 1699890 - Restrict background-color animations on canvas frame or on <body> element not to run on the compositor in KeyframeEffect::IsMatchForCompositor. r=boris
So that now EffectCompositor::HasAnimationsForCompositor doesn't return true
for such cases, thus we will not accidentally try to generate
nsDisplayBackgroundColor display item for such animations (bug 1699890#c21)
and we will not generate nsChangeHint_RepaintFrame (bug 1701547) either.

Differential Revision: https://phabricator.services.mozilla.com/D115774
2021-05-26 00:17:39 +00:00
Emilio Cobos Álvarez 5b5089618f Bug 1677555 - Always release imgRequestProxy async. r=tnikkel
In this particular case the issue wouldn't end up in any sort of memory
corruption if we didn't safely crash, but these are quite tricky to
reason about, so it's better to avoid the reentrancy altogether if
possible.

I tried to convert the fuzzer test-case in a crashtest but failed (as
in, it didn't crash without the patch under the test harness).

Differential Revision: https://phabricator.services.mozilla.com/D115943
2021-05-26 00:05:45 +00:00
Emily McDonough 1258043a90 Bug 1712812 - Remove unused CUPS functions. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D115931
2021-05-25 23:52:26 +00:00
Iain Ireland da458b48c7 Bug 1711414: Don't scalar replace apply when arguments is this r=jandem
I verified that the other "replaceable consumer" instructions are either unary or don't accept objects for their other arguments.

This testcase triggers the assertion in a pre-patch debug build, and gives the wrong result in a pre-patch no-debug build.

Differential Revision: https://phabricator.services.mozilla.com/D115443
2021-05-25 23:52:12 +00:00
Emilio Cobos Álvarez 69207ecf46 Bug 1712724 - Fix test_focus.xhtml to account for the new flag.
MANUAL PUSH: Orange fix CLOSED TREE.
2021-05-26 02:36:18 +02:00
James Teh fd5003d8dd Bug 1679753: When constructing a new DocAccessibleParent for an in-process iframe, handle the case where the parent document has already been destroyed. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D115645
2021-05-25 23:18:08 +00:00
James Teh 8363da33a8 Bug 1712210: Remove a pending child doc addition (if any) when the embedder accessible for an OOP iframe changes. r=eeejay
Previously, if an OuterDoc was never sent to the parent process and its id was reused later, we ended up adding the document to that accessible, which usually wasn't even an OuterDoc.
Alongside the actual fix, add some assertions to make breakage in this area easier to debug in future.

Differential Revision: https://phabricator.services.mozilla.com/D115777
2021-05-25 23:17:09 +00:00
Noemi Erli 6401ad3ad0 Backed out changeset f8b8dd8a7814 (bug 1710751) for causing windows build bustages CLOSED TREE 2021-05-26 02:23:23 +03:00
Morgan Reschenberg bef9fad1db Bug 1710751: Create LINKS_TO relation to track anchors and their corresponding elements r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D115841
2021-05-25 23:06:42 +00:00
Ed Lee 086cd804d7 Bug 1711860 - Use even spacing between about:welcome theme options r=pdahiya
Switch themes to flex to allow items to be equally sized and evenly spaced with adjusted whitespace. Allow wrapping for pre-proton design.

Differential Revision: https://phabricator.services.mozilla.com/D115732
2021-05-25 22:41:52 +00:00
Emilio Cobos Álvarez ef6415ef1f Bug 1712724 - Don't trigger select on programmatic focus during keyboard events. r=smaug
Depends on D115900

Differential Revision: https://phabricator.services.mozilla.com/D115901
2021-05-25 22:29:02 +00:00
Emilio Cobos Álvarez 8dea5d3fa5 Bug 1712724 - Cleanup focus method mask usage. r=smaug
No behavior change, since `GetLastFocusMethod` is only checked by `HTMLInputElement.cpp` / `nsGlobalWindowInner.cpp` for FLAG_BYKEY, and some JS code for `FLAG_BYMOUSE`.

But this makes the next patch more straight-forward.

Differential Revision: https://phabricator.services.mozilla.com/D115900
2021-05-25 22:29:01 +00:00
Dragana Damjanovic 4e508bd5ca Bug 1712440 - Update neqo to version 0.4.25 r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D115758
2021-05-25 21:52:27 +00:00
Glenn Watson 0e0c887b65 Bug 1712659 - Remove unused pan APIs r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D115856
2021-05-25 21:32:26 +00:00
Glenn Watson 103f45a9b4 Bug 1712658 - Remove public API for setting global device pixel ratio r=gfx-reviewers,nical
Gecko always sets this to be 1.0 anyway, since various other parts
of the code need to handle this differently for snapping purposes.

This patch removes the public API parts, a follow up patch will
simplify the internal code by removing handling of world -> device
pixels.

Differential Revision: https://phabricator.services.mozilla.com/D115855
2021-05-25 21:32:26 +00:00
Glenn Watson 5fde547e67 Bug 1712651 - Remove unused pinch-zoom APIs r=gfx-reviewers,bradwerth
Gecko implements these via an APZ transform node in the spatial tree.

Differential Revision: https://phabricator.services.mozilla.com/D115853
2021-05-25 21:32:25 +00:00
Glenn Watson 5f557e9bd8 Bug 1712645 - Remove unused page zoom functionality. r=gfx-reviewers,bradwerth
Gecko implements zoom by changing primitives and/or using the
APZ transform node in the spatial tree.

Differential Revision: https://phabricator.services.mozilla.com/D115851
2021-05-25 21:32:25 +00:00
Ed Lee bfe29b7d3a Bug 1711942 - Ungraduate about:welcome from proton pref r=pdahiya
Restore the design pref but as a bool just for proton.

Differential Revision: https://phabricator.services.mozilla.com/D115547
2021-05-25 21:18:03 +00:00