Commit Graph

665826 Commits

Author SHA1 Message Date
Perry Jiang
5b603200f7 Bug 1231213 - Implement PFetchEventOp(Proxy) IPDL protocols and FetchEventOp(Proxy){Parent,Child}. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26171

--HG--
extra : moz-landing-system : lando
2019-08-15 17:27:07 +00:00
Perry Jiang
200a71c58c Bug 1231213 - Refactor RemoteWorkerChild to handle Service Workers' and Shared Workers' operations and to make its state data/transitions safer. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26170

--HG--
extra : moz-landing-system : lando
2019-08-15 17:26:58 +00:00
Perry Jiang
81d15b2970 Bug 1231213 - Refactor RemoteWorkerController to handle Service Workers' and Shared Workers' operations. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26169

--HG--
extra : moz-landing-system : lando
2019-08-15 17:26:51 +00:00
Perry Jiang
07c822e09b Bug 1231213 - Implement PRemoteWorkerController IPDL protocol and RemoteWorkerController{Parent,Child}. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26168

--HG--
extra : moz-landing-system : lando
2019-08-15 17:26:49 +00:00
Perry Jiang
deae3fab14 Bug 1231213 - Add OptionalServiceWorkerData to RemoteWorkerData. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26167

--HG--
extra : moz-landing-system : lando
2019-08-15 17:26:42 +00:00
Perry Jiang
b80e7b2c4a Bug 1231213 - Have ServiceWorkerManager block shutdown on "profile-change-teardown" when in the parent process with parent intercept enabled. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26166

--HG--
extra : moz-landing-system : lando
2019-08-15 17:26:40 +00:00
Perry Jiang
7a582b1078 Bug 1231213 - Implement ServiceWorkerShutdownBlocker. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26165

--HG--
extra : moz-landing-system : lando
2019-08-15 17:26:29 +00:00
Perry Jiang
7ed1285f85 Bug 1231213 - Implement ServiceWorkerOp{Args,Promise,Result}, FetchEventRespondWith{Promise,Result}, and IPCFetchEventRespondWithResult. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26164

--HG--
extra : moz-landing-system : lando
2019-08-15 17:26:22 +00:00
Perry Jiang
8f13cfeaef Bug 1231213 - Implement IPCInternal{Request,Response}. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26163

--HG--
extra : moz-landing-system : lando
2019-08-15 17:26:15 +00:00
Perry Jiang
4523453b91 Bug 1231213 - Avoid some assertions for ServiceWorkerManagers in child processes. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26162

--HG--
extra : moz-landing-system : lando
2019-08-15 17:26:13 +00:00
Perry Jiang
1cbbc0178e Bug 1231213 - IPCStreamSource should not attempt to read from its stream if already closed. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26161

--HG--
extra : moz-landing-system : lando
2019-08-15 17:26:05 +00:00
Perry Jiang
4b70b87327 Bug 1231213 - Support IPCStreamSource on the Worker Launcher thread. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26160

--HG--
extra : moz-landing-system : lando
2019-08-15 17:25:58 +00:00
Perry Jiang
8682aaf225 Bug 1231213 - Correctly choose nsBufferedStream's underlying nsIInputStream after initialization. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26159

--HG--
extra : moz-landing-system : lando
2019-08-15 17:25:51 +00:00
Perry Jiang
f399d514b9 Bug 1231213 - Properly declare some dependencies so everything will compile with additional files. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26158

--HG--
extra : moz-landing-system : lando
2019-08-15 17:25:44 +00:00
Mihai Tabara
87140adcdb Bug 1567429 - remove checksums signing from release automation. r=tomprince
Remove individual checksums signing in favor of big fat checksums

Differential Revision: https://phabricator.services.mozilla.com/D40095

--HG--
extra : moz-landing-system : lando
2019-08-15 17:31:40 +00:00
Yura Zenevich
932dfb20d8 Bug 1573362 - update a copy for some of the text label checks messages. r=mtigley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D41750

--HG--
extra : moz-landing-system : lando
2019-08-15 15:15:40 +00:00
Noemi Erli
6b80a780ed Backed out changeset 067d47e20a94 (bug 1572811) for causing failures in CharacterData.cpp CLOSED TREE 2019-08-15 20:30:45 +03:00
Noemi Erli
99a4fa7494 Backed out changeset 8e9d1223d391 (bug 1572349) for causing build bustages in Document.cpp CLOSED TREE 2019-08-15 20:29:35 +03:00
Ting-Yu Lin
206960605d Bug 1569701 Part 2 - Use ColumnSetWrapper's effective computed content block-size to impose constraint for ColumnSet. r=dbaron
Run broken-column-rule-1.html with column-span enabled because it was
regressed by Bug 1548100 Part 2, but fixed by this patch.

Differential Revision: https://phabricator.services.mozilla.com/D41907

--HG--
extra : moz-landing-system : lando
2019-08-15 16:59:13 +00:00
Ting-Yu Lin
0bc5f5330e Bug 1569701 Part 1 - Make BlockReflowInput::mConsumedBSize a constant, and delete it assessor method. r=dbaron
We always pass consumed block-size into BlockReflowInput's constructor
in nsBlockFrame::Reflow(). By making mConsumedBSize a constant, its
assessor method becomes redundant.

Update the documentation to reflect the reality that ConsumedBSize()
accumulates content block-size from all previous *continuations*, which
was done in Bug 1506293 Part 2.

Differential Revision: https://phabricator.services.mozilla.com/D41906

--HG--
extra : moz-landing-system : lando
2019-08-15 16:49:14 +00:00
Ting-Yu Lin
e4c1298151 Bug 1569701 Part 0 - Use nscoord instead of int for contentBEnd in nsColumnSetFrame::ReflowChildren(). r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D41905

--HG--
extra : moz-landing-system : lando
2019-08-14 23:17:06 +00:00
Kagami Sascha Rosylight
b14e2b2516 Bug 1414372: Introduce interface mixins r=bzbarsky
Add IDLInterfaceMixin with a new superclass shared with existing IDLInterfaceOrNamespace.

Differential Revision: https://phabricator.services.mozilla.com/D38802

--HG--
extra : moz-landing-system : lando
2019-08-15 16:53:49 +00:00
Kagami Sascha Rosylight
65bd8bce7d Bug 1572349 - Add Document::ResolveWithBaseURI r=bzbarsky
This adds a helper method that enables simpler code in D41047 and D36714.

Differential Revision: https://phabricator.services.mozilla.com/D41902

--HG--
extra : moz-landing-system : lando
2019-08-15 14:49:19 +00:00
Sebastian Streich
a71872d1de Bug 1572032 - Provide Unknown-MIME-Type in case of Nosniff + no mime r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D41943

--HG--
extra : moz-landing-system : lando
2019-08-15 13:06:57 +00:00
Jon Coppeard
e58f93e27b Bug 1571682 - Make allocationSiteGroup fail cleanly on OOM r=tcampbell,jandem
This should make this fail cleanly on OOM rather than crashing, which should make this crash go away (without reducing memory usage obviously). The problem was the lack of hasHash/ensureHash methods that we use to handle OOM when generating unique IDs for GC things. I also tidied the equivalent code for ObjectGroupRealm::NewEntry (FallibleHashMethods is already implemented for MovableCellHasher).

We could further improve this by giving each script an immutable hash code on creation if you think it's worth the tradeoff of storing this for every script.

Differential Revision: https://phabricator.services.mozilla.com/D41233

--HG--
extra : moz-landing-system : lando
2019-08-15 16:18:21 +00:00
Jan de Mooij
a5eeb9a2c0 Bug 1505689 part 9 - Use static const values instead of macros for magic BASELINE_*_SCRIPT and ION_*_SCRIPT values. r=tcampbell
This defines both |constexpr uintptr_t| and |const pointer| values. reinterpret_cast
in constexpr is not allowed and this way we can still use these values in static_asserts.

Differential Revision: https://phabricator.services.mozilla.com/D42109

--HG--
extra : moz-landing-system : lando
2019-08-15 16:14:26 +00:00
Jan de Mooij
99d8816f1a Bug 1505689 part 8 - Make JitScript::clear{Baseline,Ion}Script return the cleared script. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D42108

--HG--
extra : moz-landing-system : lando
2019-08-15 16:14:16 +00:00
Jan de Mooij
fd8d7107b8 Bug 1505689 part 7 - Rename DestroyJitScripts to JSScript::releaseJitScriptOnFinalize. r=tcampbell
This is more consistent with the rest of the code.

Differential Revision: https://phabricator.services.mozilla.com/D41709

--HG--
extra : moz-landing-system : lando
2019-08-15 16:14:04 +00:00
Jan de Mooij
ac94ea55dd Bug 1505689 part 6 - Merge TraceJitScripts into JitScript::trace. r=tcampbell
This also removes BaselineScript::Trace and IonScript::Trace that were just
forwarding to the non-static trace().

Differential Revision: https://phabricator.services.mozilla.com/D41708

--HG--
extra : moz-landing-system : lando
2019-08-15 16:13:57 +00:00
Jan de Mooij
06546e9a5c Bug 1505689 part 5 - Move BaselineScript and IonScript pointers from JSScript to JitScript. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D41582

--HG--
extra : moz-landing-system : lando
2019-08-15 16:13:50 +00:00
Jan de Mooij
9b88308c65 Bug 1505689 part 4 - Add DisabledBaseline and DisabledIon flags to JSScript. r=tcampbell
We want to move BaselineScript and IonScript to JitScript, but JitScript can be
discarded on GC. These flags ensure this state is persisted when that happens.

Differential Revision: https://phabricator.services.mozilla.com/D41578

--HG--
extra : moz-landing-system : lando
2019-08-15 16:13:45 +00:00
Jan de Mooij
5c4b52c9ce Bug 1505689 part 3 - Clean up lazy linking code a bit, remove ION_PENDING_SCRIPT. r=tcampbell
ION_PENDING_SCRIPT didn't add anything over setting |ion| to nullptr.

Differential Revision: https://phabricator.services.mozilla.com/D41575

--HG--
extra : moz-landing-system : lando
2019-08-15 16:13:41 +00:00
Jan de Mooij
5e530af754 Bug 1505689 part 2 - Check for ION_DISABLED_SCRIPT in Baseline JIT code. r=tcampbell
This is more consistent with Baseline Interpreter -> Baseline JIT code and
avoids calling into C++ repeatedly when we disable Ion compilation for the
script after Baseline JIT compilation.

The inIon fix prevents an iloop when running jit-test/tests/ion/bug1324521.js

Differential Revision: https://phabricator.services.mozilla.com/D41574

--HG--
extra : moz-landing-system : lando
2019-08-15 16:12:37 +00:00
Jan de Mooij
b82195d4b7 Bug 1505689 part 1 - Tidy up JSScript BaselineScript/IonScript methods. r=tcampbell
The main goal was to abstract the special BASELINE_DISABLED_SCRIPT and
ION_*_SCRIPT values better. Each of these values now has its own setter
method instead of passing these values to setBaselineScript and setIonScript.

Differential Revision: https://phabricator.services.mozilla.com/D41573

--HG--
extra : moz-landing-system : lando
2019-08-15 16:12:25 +00:00
Logan Smyth
b5f7346637 Bug 1541631 - Part 8: Store breakable-line and breakpoint-position data in the source-actor store. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42033

--HG--
extra : moz-landing-system : lando
2019-08-15 16:29:44 +00:00
Logan Smyth
c4521e96b2 Bug 1541631 - Part 7: Convert memoizeableAction to be AsyncValue-based for easy interop. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42032

--HG--
extra : moz-landing-system : lando
2019-08-15 16:29:15 +00:00
Logan Smyth
5980499fff Bug 1541631 - Part 6: Remove unused action return values. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42031

--HG--
extra : moz-landing-system : lando
2019-08-15 16:28:51 +00:00
Logan Smyth
00ed6331e2 Bug 1541631 - Part 5: Remove exitEarly option from memoizableAction since it isn't needed. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42030

--HG--
extra : moz-landing-system : lando
2019-08-15 16:28:25 +00:00
Logan Smyth
2fadd2279f Bug 1541631 - Part 4: Use resource utility for SourceWithContent caching. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42029

--HG--
extra : moz-landing-system : lando
2019-08-15 16:27:50 +00:00
Logan Smyth
25471c45a3 Bug 1541631 - Part 3: Merge 'content' onto the source itself and rely on query caching. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42028

--HG--
extra : moz-landing-system : lando
2019-08-15 16:27:24 +00:00
Logan Smyth
320d0461f3 Bug 1541631 - Part 2: Convert Source to be a generic minimal Source interface. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42027

--HG--
extra : moz-landing-system : lando
2019-08-15 16:26:53 +00:00
Logan Smyth
8cac7dccec Bug 1541631 - Part 1: Rename mock threadFront file to better name since it isn't a Front. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42025

--HG--
rename : devtools/client/debugger/src/actions/tests/helpers/threadFront.js => devtools/client/debugger/src/actions/tests/helpers/mockCommandClient.js
extra : moz-landing-system : lando
2019-08-15 16:26:18 +00:00
singuliere
3fcd223b56 Bug 1563239 - Do not summarize builtin events to the "dynamic" process r=janerik
Check if the dynamic event is built-in or not before summarizing.

Differential Revision: https://phabricator.services.mozilla.com/D41924

--HG--
extra : moz-landing-system : lando
2019-08-15 16:27:54 +00:00
Jon Coppeard
1f8e589f72 Bug 1574119 - Add a test for bug 1568029 r=jandem
This adds a testcase for the fix in bug 1568029. This adds a testing function markObjectPropertiesUnknown() which will hopefully be useful for fuzzing.

Differential Revision: https://phabricator.services.mozilla.com/D42093

--HG--
extra : moz-landing-system : lando
2019-08-15 16:23:30 +00:00
Drew Willcoxon
3cbb9148a3 Bug 1571161 - Modify openViewOnFocus so that it doesn't open the view on the newtab page and in private windows. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D40719

--HG--
extra : moz-landing-system : lando
2019-08-15 11:09:28 +00:00
Eitan Isaacson
212dd05514 Bug 1572811 - Explicitly check for removed anonymous children in reframe. r=Jamie
The DOM mutation observer method is called during frame destruction
which is not a good state to be in when constructing and dispatching events.

Differential Revision: https://phabricator.services.mozilla.com/D41825

--HG--
extra : moz-landing-system : lando
2019-08-15 16:06:33 +00:00
J.C. Jones
66170e3716 Bug 1564499 - land NSS bbfc55939d75 UPGRADE_NSS_RELEASE, r=kjacobs
Revset: reverse(89aa19677e37~-1::bbfc55939d75)

2019-08-14  Kevin Jacobs  <kjacobs@mozilla.com>

	* gtests/ssl_gtest/tls_agent.cc:
	Bug 1572593 - Re-revert call to CheckCertReqAgainstDefaultCAs to
	avoid memory leak (filed as bug 1573945). r=jcj

	Revert back to the changes Franziskus had made. Updated the in-
	source bug number to point to the new memleak bug.

	Differential Revision:
	https://phabricator.services.mozilla.com/D42020
	[bbfc55939d75] [tip]

2019-08-12  Kevin Jacobs  <kjacobs@mozilla.com>

	* gtests/freebl_gtest/freebl_gtest.gyp,
	gtests/mozpkix_gtest/mozpkix_gtest.gyp:
	Bug 1415118 - Fix --enable-libpkix builds from build.sh r=mt,jcj

	Differential Revision:
	https://phabricator.services.mozilla.com/D41617
	[f8926908be71]

2019-08-14  J.C. Jones  <jjones@mozilla.com>

	* gtests/ssl_gtest/tls_agent.cc, lib/ssl/ssl3ext.c:
	Bug 1572593 - Reset advertised extensions in ssl_ConstructExtensions
	r=mt,kjacobs

	Reset the list of advertised extensions before sending a new set.

	This reverts the changes of https://hg.mozilla.org/projects/nss/rev/
	1ca362213631d6edc885b6b965b52ecffcf29afd

	Differential Revision:
	https://phabricator.services.mozilla.com/D41302
	[b03ff661491e]

2019-08-14  Kevin Jacobs  <kjacobs@mozilla.com>

	* lib/freebl/ctr.c:
	Bug 1539788 - UBSAN fixup for 128b counter. r=mt,jcj

	Differential Revision:
	https://phabricator.services.mozilla.com/D41884
	[9d1f5e71773d]

2019-08-13  Kevin Jacobs  <kjacobs@mozilla.com>

	* lib/freebl/chacha20poly1305.c, lib/freebl/ctr.c, lib/freebl/gcm.c,
	lib/freebl/intel-gcm-wrap.c, lib/freebl/rsapkcs.c:
	Bug 1539788 - Add length checks for cryptographic primitives
	r=mt,jcj

	This patch adds additional length checks around cryptographic
	primitives.

	Differential Revision:
	https://phabricator.services.mozilla.com/D36079
	[dfd6996fe742]

2019-08-13  Marcus Burghardt  <mburghardt@mozilla.com>

	* gtests/freebl_gtest/mpi_unittest.cc, lib/freebl/mpi/README,
	lib/freebl/mpi/mpi.c, lib/freebl/mpi/mpi.h:
	Bug 1542077 - Added extra controls and tests to mp_set_int and
	mp_set_ulong. r=jcj,kjacobs

	Differential Revision:
	https://phabricator.services.mozilla.com/D40649
	[9bc47e69613e]

2019-08-13  J.C. Jones  <jjones@mozilla.com>

	* gtests/ssl_gtest/ssl_resumption_unittest.cc,
	gtests/ssl_gtest/tls_agent.cc:
	Bug 1572791 - Fixup clang-format r=bustage
	[ec113de50cdd]

	* gtests/ssl_gtest/tls_agent.cc,
	gtests/ssl_gtest/tls_subcerts_unittest.cc, lib/ssl/tls13subcerts.c:
	Bug 1572791 - Check for nulls in SSLExp_DelegateCredential and its
	tests r=kjacobs

	This particularly catches test errors in tls_subcerts_unittest when
	the profile is stale.

	Differential Revision:
	https://phabricator.services.mozilla.com/D41429
	[ed5067857563]

2019-08-13  Kevin Jacobs  <kjacobs@mozilla.com>

	* gtests/ssl_gtest/ssl_auth_unittest.cc,
	gtests/ssl_gtest/ssl_cert_ext_unittest.cc,
	gtests/ssl_gtest/ssl_resumption_unittest.cc,
	gtests/ssl_gtest/tls_agent.cc:
	Bug 1572791 - Fix ASAN cert errors when SSL gtests run on empty
	profile r=jcj

	Differential Revision:
	https://phabricator.services.mozilla.com/D41787
	[cef2aa7f3b8c]

2019-08-09  Kevin Jacobs  <kjacobs@mozilla.com>

	* tests/common/cleanup.sh:
	Bug 1560593 - Cleanup.sh to treat core dumps as test failures on
	optimized builds. r=jcj

	Differential Revision:
	https://phabricator.services.mozilla.com/D41392
	[360010725fdb]

Differential Revision: https://phabricator.services.mozilla.com/D42139

--HG--
extra : moz-landing-system : lando
2019-08-15 16:06:15 +00:00
Emilio Cobos Álvarez
a27b5bf655 Bug 782551 - Remove two quirks that other browsers don't have. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D42148

--HG--
extra : moz-landing-system : lando
2019-08-15 15:57:42 +00:00
mcrawford
3ead3c1106 Bug 1550165 - Footer advertising links to Lockwise mobile apps. r=fluent-reviewers,Pike,MattN
Differential Revision: https://phabricator.services.mozilla.com/D34370

--HG--
extra : moz-landing-system : lando
2019-08-15 15:14:18 +00:00
Brian Hackett
a3cf96af6e Bug 1573931 - Disallow INCREMENTAL_ALLOC_TRIGGER GCs when recording/replaying, r=jonco.
Differential Revision: https://phabricator.services.mozilla.com/D42003

--HG--
extra : moz-landing-system : lando
2019-08-15 08:25:35 +00:00