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
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-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
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
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
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
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
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
CLOSED TREE
Backed out changeset 61d8ca98120b (bug 1712724)
Backed out changeset 46b1d60b6b6b (bug 1712724)
Backed out changeset 36504d508b34 (bug 1712724)
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
`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
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
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
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
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
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
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
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
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
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
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
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
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