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

743759 Коммитов

Автор SHA1 Сообщение Дата
Alexis Beingessner b4afded0ed Bug 1683439 - Remove suppression for fixed issue. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D104051
2021-02-05 17:22:06 +00:00
Benjamin Beurdouche d901b16ba2 Bug 1688685 - land NSS fc3a4c142c16 UPGRADE_NSS_RELEASE, r=kjacobs
2021-02-04  Kevin Jacobs  <kjacobs@mozilla.com>

	* gtests/ssl_gtest/ssl_recordsize_unittest.cc, lib/ssl/ssl3ext.c:
	Bug 1690583 - Fix CH padding extension size calculation. r=mt

	Bug 1654332 changed the way that NSS constructs Client Hello
	messages. `ssl_CalculatePaddingExtLen` now receives a
	`clientHelloLength` value that includes the 4B handshake header.
	This looks okay per the inline comment (which states that only the
	record header is omitted from the length), but the function actually
	assumes that the handshake header is also omitted.

	This patch removes the addition of the handshake header length.
	Those bytes are already included in the buffered CH.

	[fc3a4c142c16] [tip]

	* automation/abi-check/expected-report-libnss3.so.txt:
	Bug 1690421 - Adjust 3.62 ABI report formatting for new libabigail.
	r=bbeurdouche

	[a1ed44dba32e]

2021-02-03  Kevin Jacobs  <kjacobs@mozilla.com>

	* automation/taskcluster/docker-builds/Dockerfile:
	Bug 1690421 - Install packaged libabigail in docker-builds image
	r=bbeurdouche

	[3c719b620136]

2021-01-31  Kevin Jacobs  <kjacobs@mozilla.com>

	* cmd/selfserv/selfserv.c, cmd/tstclnt/tstclnt.c,
	lib/ssl/tls13hashstate.c, lib/ssl/tls13hashstate.h:
	Bug 1689228 - Minor ECH -09 fixes for interop testing, fuzzing. r=mt

	A few minor ECH -09 fixes for interop testing and fuzzing:
	- selfserv now takes a PKCS8 keypair for ECH. This is more
	maintainable and significantly less terrible than parsing the
	ECHConfigs and cobbling one together within selfserv (e.g. we can
	support other KEMs without modifying the server).
	- Get rid of the newline character in tstclnt retry_configs output.
	- Fuzzer fixes in tls13_HandleHrrCookie:
	 - We shouldn't use internal_error when PK11_HPKE_ImportContext fails.
	Cookies are unprotected in fuzzer mode, so this can be expected to
	occur.
	 - Only restore the application token when recovering hash state,
	otherwise the copy could happen twice, leaking one of the
	allocations.

	[8bbea1902024]

2021-01-25  Kevin Jacobs  <kjacobs@mozilla.com>

	* lib/ssl/ssl3exthandle.c:
	Bug 1674819 - Fixup a51fae403328, enum type may be signed.
	r=bbeurdouche

	[2004338a2080]

Differential Revision: https://phabricator.services.mozilla.com/D104258
2021-02-05 21:13:47 +00:00
Kate Hudson 2fb39f1f63 Bug 1672202 - Add Feature API with default values r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D104056
2021-02-05 21:00:32 +00:00
Stephen A Pohl 8aade11c62 Bug 1690879: Make test_bug869314.html pass on macOS with the non-native theme enabled. r=emilio
Depends on D104084

Differential Revision: https://phabricator.services.mozilla.com/D104091
2021-02-05 12:03:34 +00:00
Stephen A Pohl 74e08b1d20 Bug 1690895: Mark transform-input-012.html as expected pass with non-native theme enabled on macOS. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D104112
2021-02-05 12:00:35 +00:00
Mike Hommey 142b37dbe4 Bug 1690940 - Don't package things we don't use in wasi-sysroot. r=firefox-build-system-reviewers,dmajor
This brings the artifact size from 38M to 1.8M.

Differential Revision: https://phabricator.services.mozilla.com/D104135
2021-02-05 14:51:56 +00:00
Stephen A Pohl 2e0a7d4a45 Bug 1690848: Mark stretch-input-in-column.html as expected pass with non-native theme enabled on macOS. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D104084
2021-02-05 12:02:23 +00:00
Mihai Alexandru Michis 0f6fc4b0f7 Backed out changeset d96ca6e90aa2 (bug 1691065) for causing Bug 1691125.
CLOSED TREE
2021-02-05 22:56:17 +02:00
Kagami Sascha Rosylight 717d5d2aa5 Bug 1671768 - Part 4: Use MOZ_CAN_RUN_SCRIPT for Selection::RemoveAllRanges r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D103780
2021-02-03 21:52:48 +00:00
Kagami Sascha Rosylight 0ea5caf27e Bug 1671768 - Part 3: Use MOZ_CAN_RUN_SCRIPT for Selection::SelectAllChildren r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D103779
2021-02-03 21:52:22 +00:00
Kagami Sascha Rosylight e0304db4c3 Bug 1671768 - Part 2: Use MOZ_CAN_RUN_SCRIPT for Selection::Extend r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D103778
2021-02-03 21:52:15 +00:00
Kagami Sascha Rosylight 03a9abe590 Bug 1671768 - Part 1: Use MOZ_CAN_RUN_SCRIPT for Selection::StyledRanges::MaybeFocusCommonEditingHost r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D103777
2021-02-03 21:52:02 +00:00
Lee Salzman 2cdca4441a Bug 1690967 - remove some calls to commit_span. r=bradwerth
This removes some calls to commit_span from inside the draw_span specializers.
Instead it relies upon the span rasterizer loop to do some of the work, which
will incur a function pointer call in the rare case we actually return out
of a specializer early. This shouldn't be that performance critical and will
remove some inliner bloat.

Also, I refactored commit_output in the rasterizer itself to hopefully cause
fewer template instantiations which should also further reduce inliner bloat.

Differential Revision: https://phabricator.services.mozilla.com/D104150
2021-02-05 20:37:20 +00:00
Emily McDonough 87195c1610 Bug 1630789 - Add web-platform tests for grid line names with repeat(auto) with multiple values r=mats
Differential Revision: https://phabricator.services.mozilla.com/D71418
2021-02-05 18:14:04 +00:00
Mihai Alexandru Michis 220ebe2284 Backed out changeset dfbbd3864b2f (bug 1689372) for causing bc failures in browser_history_recently_closed.js
CLOSED TREE
2021-02-05 22:15:25 +02:00
Emma Malysz 5aa317ef1e Bug 1689372, simplify history panel r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D103535
2021-02-05 18:01:55 +00:00
Gavin Lazar Suntop 09539c4e2c Bug 1689201 - Re-enabling telemetry for Reader Mode r=thecount,nanj
Differential Revision: https://phabricator.services.mozilla.com/D104083
2021-02-05 18:36:10 +00:00
Emilio Cobos Álvarez e531b2b7fd Bug 1689615 - Only paint one outline for outline-style:auto with nnt. r=mstange
outline-style: auto might show up in non-themed controls and such, and
the double-outline there might look ugly.

Following border-radius would be an extra improvement for the reddit
case, but no platform does it currently (Safari on macOS does it), so
let's consider that in a follow-up.

Differential Revision: https://phabricator.services.mozilla.com/D104214
2021-02-05 16:25:57 +00:00
Nick Alexander 1b17d2b73e Bug 1674408 - Define `stat64` as `stat` on OpenBSD. r=application-update-reviewers,bytesized
This is the approach taken for Bug 648735: see
https://bugzilla.mozilla.org/attachment.cgi?id=561029&action=diff.

Differential Revision: https://phabricator.services.mozilla.com/D104250
2021-02-05 18:48:34 +00:00
Kirk Steuber 57b49a2593 Bug 1682810 - Fix tests to expect the correct pending status r=application-update-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D104124
2021-02-05 04:16:30 +00:00
Kirk Steuber 529aad0d9b Bug 1682810 - When staging fails, leave the update in the same state regardless of how it failed r=nalexander
I am changing the way that we handle staging failures here: https://searchfox.org/mozilla-central/rev/851bbbd9d9a38c2785a24c13b6412751be8d3253/toolkit/mozapps/update/UpdateService.jsm#4322
to more closely match the way we handle staging failures here: https://searchfox.org/mozilla-central/rev/851bbbd9d9a38c2785a24c13b6412751be8d3253/toolkit/mozapps/update/UpdateService.jsm#6015

This change will allow the Mozilla Maintenance Service to be used when the partial patch fails to stage. The updater already falls back if the Maintenance Service fails, so if there is indeed a problem with the Service a UAC will still be shown.

Differential Revision: https://phabricator.services.mozilla.com/D103406
2021-02-05 00:59:39 +00:00
Agi Sferro 227fa1abcd Bug 1689745 - Throw ImageProcessingException in Image#getBitmap. r=aklotz,esawin
Differential Revision: https://phabricator.services.mozilla.com/D103527
2021-02-05 17:48:15 +00:00
Micah Tigley 4de0841b18 Bug 1689420 - Fix origin header for null principal content dialogs. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D103810
2021-02-05 17:39:10 +00:00
Mark Banner f780a008d6 Bug 1412519 - Re-enable browser_contextSearchTabPosition.js for test-verify on Windows debug as it now passes. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D104235
2021-02-05 16:43:14 +00:00
Nicolas Silva d85a05d78c Bug 1691023 - Add some profile counters for texture cache eviction. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D104207
2021-02-05 16:23:05 +00:00
Sylvestre Ledru 9270e2e340 Bug 1690990 - lint: add some requirements.txt to the line check linter + fix them r=linter-reviewers,marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D104156
2021-02-05 17:19:40 +00:00
Doug Thayer 38b58e62b2 Bug 1690925 - Don't animate the skeleton UI if we're in a fast startup r=mconley,emalysz
This avoids paying a cost for animating the skeleton UI for faster startups.
Slow startups don't seem to be affected, given the data available. This is
likely due to slow startups being dominated by IO.

Differential Revision: https://phabricator.services.mozilla.com/D104118
2021-02-05 16:43:02 +00:00
Bogdan Tara 2b67cce4bf Bug 1690898 - correct expectation to fail on windows CLOSED TREE 2021-02-05 19:48:16 +02:00
André Bargull 16bcc81210 Bug 1689990 - Part 23: Assert MBasicBlock::NewPopN() is only used for Warp compilation. r=jandem
Empty bytecode sites are typically only used for Wasm compilation. Assert this
in `MBasicBlock::NewPopN()` and document this in `BytecodeSite`.

(*) The only exception are fake OSR blocks in GVN.

Differential Revision: https://phabricator.services.mozilla.com/D103660
2021-02-05 16:11:20 +00:00
André Bargull 4ae22e26d1 Bug 1689990 - Part 22: Ensure tracked bytecode sites are consistent. r=jandem
A `MDefinition`'s tracked bytecode site is always equal to the bytecode site
of its block. Assert this property so we can remove `MDefinition::trackedSite_`
in a follow-up bug.

Differential Revision: https://phabricator.services.mozilla.com/D103659
2021-02-05 16:11:20 +00:00
André Bargull 0d94d601f3 Bug 1689990 - Part 21: Tracked inline script trees are always present when Warp-compiling. r=jandem
Warp compilation always has a tracked bytecode site, so instead of testing if
the bytecode site's tree is non-null, test if we're currently Warp (= not Wasm)
compiling. This should make it easier to understand this code.

Differential Revision: https://phabricator.services.mozilla.com/D103658
2021-02-05 16:11:20 +00:00
André Bargull ae1f04e4bf Bug 1689990 - Part 20: Assert MDefinition::trackedSite() returns a non-nullptr. r=jandem
Part 18 ensured each definition which is attached to a block has a non-nullptr
tracked bytecode site. (This is ensured through `setTrackedSite()` which asserts
the tracked bytecode site isn't a nullptr.)

Drive-by change:
- Change `CodeGeneratorShared::encode()` to store `ins->mirRaw()` in a variable.

Differential Revision: https://phabricator.services.mozilla.com/D103657
2021-02-05 16:11:20 +00:00
André Bargull 2eaf571239 Bug 1689990 - Part 19: Remove MDefinition::tracked{Tree, Pc}() in favour of keeping just MDefinition::trackedSite(). r=jandem
Remove `MDefinition::tracked{Tree, Pc}()` in preparation for the next parts.

Differential Revision: https://phabricator.services.mozilla.com/D103656
2021-02-05 16:11:19 +00:00
André Bargull 22a34ba265 Bug 1689990 - Part 18: Split MDefinition::setBlock() into separate methods for instructions and phi nodes. r=jandem
Add a separate `MDefinition::setInstructionBlock()` method which also sets the
tracked bytecode site. `setTrackedSite()` is now only called from within
`MDefinition`, so its visibility can be changed to `private`.

With this change it's easier to see that all definitions attached to a block
also have a tracked bytecode site. We will use this property in the next parts.

Differential Revision: https://phabricator.services.mozilla.com/D103655
2021-02-05 16:11:19 +00:00
André Bargull d38315fdae Bug 1689990 - Part 17: Remove MResumePoint::setBlock(). r=jandem
This method is never called.

Differential Revision: https://phabricator.services.mozilla.com/D103654
2021-02-05 16:11:19 +00:00
André Bargull ca732b5e9b Bug 1689990 - Part 16: Move assertions to the top of addNativeToBytecodeEntry(). r=jandem
These assertions should hold even when profiling isn't enabled.

Differential Revision: https://phabricator.services.mozilla.com/D103653
2021-02-05 16:11:19 +00:00
André Bargull 9ed6097021 Bug 1689990 - Part 15: Assert "MBasicBlock::trackedSite_" is non-nullptr. r=jandem
After part 13, `MBasicBlock::trackedSite_` is never modified outside of the
constructor. And because all call-sites pass a non-nullptr, we can assert this
and remove the nullptr check in `trackedTree()`.

Differential Revision: https://phabricator.services.mozilla.com/D103652
2021-02-05 16:11:18 +00:00
André Bargull da2a0fa8b4 Bug 1689990 - Part 14: Remove MBasicBlock::pc_. r=jandem
`MBasicBlock::pc_` is initialised with `MBasicBlock::trackedSite_`'s `pc` and
after the last part `MBasicBlock::trackedSite_` is never changed after the
constructor, so we can replace `pc_` with `trackedSite_->pc()`.

Differential Revision: https://phabricator.services.mozilla.com/D103651
2021-02-05 16:11:18 +00:00
André Bargull 50d510c4e1 Bug 1689990 - Part 13: Remove MBasicBlock::{updateTrackedSite,trackedPc}(). r=jandem
Both methods are no longer used. Also move the comment from `updateTrackedSite()`
to `trackedSite_`.

Differential Revision: https://phabricator.services.mozilla.com/D103650
2021-02-05 16:11:18 +00:00
André Bargull 18bbcb73ff Bug 1689990 - Part 12: Update a comment for MDefinition/MInstruction copy constructors. r=jandem
The copy constructors call `MNode(const MNode&)` which copies over the
`blockAndKind_` member, so the `block` information is actually copied, too.

Differential Revision: https://phabricator.services.mozilla.com/D103648
2021-02-05 16:11:18 +00:00
André Bargull 08df43ca83 Bug 1689990 - Part 11: Align type checks in MToInt64 with MToBigInt. r=jandem
`MToInt64` seems to allow `Int64` inputs based on the comments in
`LIRGenerator::visitToInt64()`.

Also remove `MIRType::String` from the list of non-throwing types, because
`ToBigInt(string)` can actually throw a SyntaxError. This change can't be
tested, because we currently create neither `MToBigInt` nor `MToInt64` in a
context where the input is a string and the result isn't observed.

Differential Revision: https://phabricator.services.mozilla.com/D103647
2021-02-05 16:11:17 +00:00
André Bargull 115fd4537e Bug 1689990 - Part 10: Remove no longer necessary limitation around Int64 in MDefinition::definitelyType(). r=jandem
`Int64` wasn't allowed because typesets couldn't represent this type.

Differential Revision: https://phabricator.services.mozilla.com/D103646
2021-02-05 16:11:17 +00:00
André Bargull 595a2a31d0 Bug 1689990 - Part 9: Remove unused enums BarrierKind and ReprotectCode. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D103645
2021-02-05 16:11:17 +00:00
André Bargull 896cad69c0 Bug 1689990 - Part 8: Remove unused CompileInfo methods. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D103644
2021-02-05 16:11:17 +00:00
André Bargull 4d0716ec51 Bug 1689990 - Part 7: Remove unused AbortReason enum constants. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D103643
2021-02-05 16:11:16 +00:00
André Bargull 7d889eca5b Bug 1689990 - Part 6: Remove MDefinition::neverHoist(). r=jandem
Currently never overridden in any sub-classes, so we can it remove again.

Differential Revision: https://phabricator.services.mozilla.com/D103642
2021-02-05 16:11:16 +00:00
André Bargull 13b243b753 Bug 1689990 - Part 5: Remove InlineScriptTree::outermostCaller(). r=jandem
Another unused method.

Differential Revision: https://phabricator.services.mozilla.com/D103641
2021-02-05 16:11:16 +00:00
André Bargull a2798e1021 Bug 1689990 - Part 4: Remove OutOfLineCode::{pc,script}(). r=jandem
Both methods are only used within a single assertion in `CodeGeneratorShared::addOutOfLineCode()`.

Differential Revision: https://phabricator.services.mozilla.com/D103640
2021-02-05 16:11:15 +00:00
André Bargull fb4c8ec3cd Bug 1689990 - Part 3: Remove MDefinition::profilerLeavePc(). r=jandem
This method isn't used anymore after part 1.

Differential Revision: https://phabricator.services.mozilla.com/D103639
2021-02-05 16:11:15 +00:00
André Bargull b061cf93f3 Bug 1689990 - Part 2: Use LInstruction* for LElementVisitor::ins_. r=jandem
Use `LInstruction*` instead of `LNode*` for clarity and to match the method
name of `LElementVisitor::instruction()`.

Differential Revision: https://phabricator.services.mozilla.com/D103638
2021-02-05 16:11:15 +00:00