Commit Graph

675308 Commits

Author SHA1 Message Date
Cosmin Sabou
771f858152 Backed out changeset 1a28547631d7 (bug 1584312) for failures on browser_protections_UI_milestones.js. 2019-10-16 11:26:06 +03:00
Cosmin Sabou
5b04a9e49a Backed out changeset 1f4132be47b0 (bug 1588429) for failures on test_EcosystemTelemetry.js. 2019-10-16 11:24:52 +03:00
Sylvestre Ledru
0c43e713ef Bug 1588523 - add links to the sources everywhere r=ahal
Depends on D49162

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

--HG--
extra : moz-landing-system : lando
2019-10-16 07:51:59 +00:00
Sylvestre Ledru
75b3cfde64 Bug 1588523 - Document the autofix when existing r=ahal
Depends on D49161

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

--HG--
extra : moz-landing-system : lando
2019-10-16 07:50:52 +00:00
Sylvestre Ledru
0e8bbb9060 Bug 1588523 - Provide doc for the codespell, file-perm, file-whitespace, etc linters r=ahal
Depends on D49160

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

--HG--
extra : moz-landing-system : lando
2019-10-16 07:49:47 +00:00
Sylvestre Ledru
7491daaf08 Bug 1588523 - Improve the mozlint doc (various changes) r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D49160

--HG--
extra : moz-landing-system : lando
2019-10-16 07:49:22 +00:00
Francesco Lodolo (:flod)
30d8324d54 Bug 1588992 - Remove Fluent migration recipes for Firefox 70 r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D49383

--HG--
extra : moz-landing-system : lando
2019-10-16 07:21:30 +00:00
Jan de Mooij
026691dc76 Bug 1588810 - Fix ctypes UnicodeToNative callback to not assume null-terminated strings. r=bzbarsky
Bug 1586683 replaced the JS_FlattenString in the caller with JS_EnsureLinearString but
I wasn't aware of the nsDependentString vs nsDependentSubstring distinction.

This fixes assertion failures when starting the browser with non-null-terminated
JS strings.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 06:13:07 +00:00
Jan de Mooij
9d573b660f Bug 1586991 part 20 - Don't rely on null-terminated strings in PrintHelpString. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D49271

--HG--
extra : moz-landing-system : lando
2019-10-16 06:13:07 +00:00
Jan de Mooij
6b3f9c9bd2 Bug 1586991 part 19 - Use linear strings instead of flat strings in CTypes. r=jwalden
Also simplify the code a bit by using js::CopyChars instead of manual
char conversion/copying.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 06:12:33 +00:00
Jan de Mooij
1661f2184c Bug 1586991 part 18 - Remove AssertHeapIsIdleOrStringIsFlat, use AssertHeapIsIdle instead. r=jwalden
This appears to be green on Linux64 debug so apparently we no longer call these functions
during GC.

Depends on D49255

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

--HG--
extra : moz-landing-system : lando
2019-10-16 06:12:33 +00:00
Jan de Mooij
227be91589 Bug 1586991 part 17 - Don't rely on null-terminated strings in ConsumeBufferSource in the JS shell. r=luke
Differential Revision: https://phabricator.services.mozilla.com/D49255

--HG--
extra : moz-landing-system : lando
2019-10-15 16:21:22 +00:00
Calixte Denizet
98f3f94379 Bug 1586036 - Add the files under obj-dir/dist/xpcrs/rt|bt in generated-sources.json r=firefox-build-system-reviewers,chmanchester
Some generated files are missing in generated-sources.json so just add them.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 21:29:12 +00:00
Nihanth Subramanya
3936f012cd Bug 1584312 - Implement blocked tracker count milestones UI. r=johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D47799

--HG--
extra : moz-landing-system : lando
2019-10-15 17:09:59 +00:00
Jan-Erik Rediger
35501d06f1 Bug 1588429 - Remove expiring metrics ecosystem_(old|new)_send_time r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D49104

--HG--
extra : moz-landing-system : lando
2019-10-16 07:25:41 +00:00
Nicolas Chevobbe
3469d5121d Bug 1587839 - Pass the sourceId to sourcemap service subscribe callback. r=loganfsmyth.
The sourceId is then used in the various places where we call the sourcemap service.
A test is added in the console to make sure that we do navigate to the mapped
location in the debugger.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 00:16:55 +00:00
Brad Werth
0b6d9f7d9c Bug 1588167: Make UrlbarView._getFirstSelectableElement handle having no children at time of call. r=adw
This avoids a JS error when the tab has been removed before this function
has a chance to run.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 01:14:30 +00:00
James Teh
cb2f077062 Bug 1577381: Correct accessibility exposure for optgroups in content select dropdowns. r=eeejay,NeilDeakin
For remote content documents, select dropdowns (for <select size="1">) are rendered in the parent process using a XUL menupopup.
This means that the accessibility code for HTML selects doesn't apply.

In the menupopup, the optgroup is a sibling of its contained options.
For accessibility, we want to preserve the hierarchy such that the options are inside the optgroup.
We do this using aria-owns on the optgroup item.

This required some tweaks to XULMenuitemAccessible, as it couldn't previously handle grouping Accessibles between the menupopup and its items.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 06:10:32 +00:00
Jean-Yves Avenard
03c17f1738 Bug 1413750 - Handle shift by 32 bits. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D49226

--HG--
extra : moz-landing-system : lando
2019-10-15 20:18:08 +00:00
Cosmin Sabou
76d4c77ef9 Backed out changeset 71d5a7f29d05 (bug 1586396) for breaking the wpts. CLOSED TREE 2019-10-16 08:12:32 +03:00
J.C. Jones
962e9e53a9 Backed out changeset 3eb63c112f5a (Bug 1577822) for breaking WebAuthn mochitests UPGRADE_NSS_RELEASE
Differential Revision: https://phabricator.services.mozilla.com/D49374

--HG--
extra : moz-landing-system : lando
2019-10-16 04:36:58 +00:00
Dzmitry Malyshau
e3328f020c Bug 1586396 - Formatting fixes in WebGPUThreading
follow-up to D48229

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

--HG--
extra : moz-landing-system : lando
2019-10-16 02:53:07 +00:00
Dzmitry Malyshau
f072f15267 Bug 1586396 - Add WebGPUThreading mock r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D48229

--HG--
extra : moz-landing-system : lando
2019-10-15 21:57:37 +00:00
Daisuke Akatsuka
38f4dd72f0 Bug 1587690: Add jest tests for components. r=ladybenko
Depends on D48950

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

--HG--
extra : moz-landing-system : lando
2019-10-16 01:32:48 +00:00
Daisuke Akatsuka
4d4cbd6fa5 Bug 1587690: Add a test for CSS property issues. r=ladybenko
Depends on D48949

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

--HG--
rename : devtools/client/inspector/compatibility/test/.eslintrc.js => devtools/client/inspector/compatibility/test/browser/.eslintrc.js
extra : moz-landing-system : lando
2019-10-15 14:02:34 +00:00
Daisuke Akatsuka
b09ad6a127 Bug 1587690: Implement simple issue list UI. r=rcaliman,ladybenko
Depends on D48948

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

--HG--
extra : moz-landing-system : lando
2019-10-15 07:27:25 +00:00
Daisuke Akatsuka
9192aeb547 Bug 1587690: Implement basic Redux flow. r=rcaliman,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D48948

--HG--
extra : moz-landing-system : lando
2019-10-16 01:24:48 +00:00
J.C. Jones
4309dccf1b Bug 1577822 - land NSS NSS_3_47_BETA2 UPGRADE_NSS_RELEASE, r=kjacobs
2019-10-15  J.C. Jones  <jjones@mozilla.com>

	* cmd/addbuiltin/addbuiltin.c:
	Bug 1465613 - Fixup clang format a=bustage
	[f657d65428c6] [NSS_3_47_BETA2]

2019-10-11  Marcus Burghardt  <mburghardt@mozilla.com>

	* automation/abi-check/expected-report-libnss3.so.txt, automation/abi-
	check/expected-report-libsmime3.so.txt, automation/abi-check
	/expected-report-libssl3.so.txt, cmd/addbuiltin/addbuiltin.c,
	cmd/lib/secutil.c, gtests/softoken_gtest/manifest.mn,
	gtests/softoken_gtest/softoken_gtest.gyp,
	gtests/softoken_gtest/softoken_nssckbi_testlib_gtest.cc,
	lib/certdb/certdb.c, lib/certdb/certt.h, lib/ckfw/builtins/README,
	lib/ckfw/builtins/certdata.txt, lib/ckfw/builtins/manifest.mn,
	lib/ckfw/builtins/nssckbi.h, lib/ckfw/builtins/testlib/Makefile,
	lib/ckfw/builtins/testlib/builtins-testlib.gyp,
	lib/ckfw/builtins/testlib/certdata-testlib.txt,
	lib/ckfw/builtins/testlib/config.mk,
	lib/ckfw/builtins/testlib/manifest.mn, lib/ckfw/builtins/testlib
	/nssckbi-testlib.rc,
	lib/ckfw/builtins/testlib/testcert_err_distrust.txt,
	lib/ckfw/builtins/testlib/testcert_no_distrust.txt,
	lib/ckfw/builtins/testlib/testcert_ok_distrust.txt,
	lib/ckfw/manifest.mn, lib/nss/nss.def, lib/pki/pki3hack.c,
	lib/softoken/sdb.c, lib/util/pkcs11n.h, nss.gyp, tests/cert/cert.sh:
	Bug 1465613 - Created two new fields for scheduled distrust from
	builtins and updated support commands. r=jcj,kjacobs,mt

	Added two new fields do scheduled distrust of CAs in
	nssckbi/builtins. Also, created a testlib to validate these fields
	with gtests.

	[52024949df95]

2019-10-14  Martin Thomson  <martin.thomson@gmail.com>

	* lib/ssl/tls13con.c:
	Bug 1588557 - Fix debug statement, r=jcj

	[0f563a2571c3]

2019-10-15  Dana Keeler  <dkeeler@mozilla.com>

	* gtests/mozpkix_gtest/pkixder_universal_types_tests.cpp,
	lib/mozpkix/include/pkix/pkixder.h, lib/mozpkix/lib/pkixcert.cpp:
	bug 1579060 - fix handling of issuerUniqueID and subjectUniqueID in
	mozilla::pkix::BackCert r=jcj

	According to RFC 5280, the definitions of issuerUniqueID and
	subjectUniqueID in TBSCertificate are as follows:

	 issuerUniqueID [1] IMPLICIT UniqueIdentifier OPTIONAL,
	subjectUniqueID [2] IMPLICIT UniqueIdentifier OPTIONAL,

	where UniqueIdentifier is a BIT STRING.

	IMPLICIT tags replace the tag of the underlying type. For these
	fields, there is no specified class (just a tag number within the
	class), and the underlying type of BIT STRING is "primitive" (i.e.
	not constructed). Thus, the tags should be of the form CONTEXT
	SPECIFIC | [number in class], which comes out to 0x81 and 0x82,
	respectively.

	When originally implemented, mozilla::pkix incorrectly required that
	the CONSTRUCTED bit also be set for these fields. Consequently, the
	library would reject any certificate that actually contained these
	fields. Evidently such certificates are rare.

	[c50f933d37a5]

2019-10-14  Deian Stefan  <deian@cs.ucsd.edu>

	* lib/softoken/pkcs11c.c:
	Bug 1459141 - Rewrite softoken CBC pad check to be constant time.
	r=kjacobs,jcj
	[474d62c9d0db]

2019-10-11  J.C. Jones  <jjones@mozilla.com>

	* .hgtags:
	Added tag NSS_3_47_BETA1 for changeset 93245f5733b3
	[f60dbafbc182]

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

--HG--
extra : moz-landing-system : lando
2019-10-16 00:57:04 +00:00
Marcos Cáceres
caed406d12 Bug 1588420 - Add init() to SharePicker.idl, which provides a means to get to browser parent r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D49215

--HG--
extra : moz-landing-system : lando
2019-10-15 00:52:09 +00:00
Edwin Takahashi
af84bcf3df Bug 1561046 - remove android api >= 23, api <= 17, api == 22 from manifest files r=gbrown
This change removes the following specifiers in the `mochitest` manifest files:

- api >= 23
- api <= 17
- api == 22

Of the three, api >= 23 may present some risks, but `mochitest-media` suite does not appear to report any issues.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 00:41:42 +00:00
Drew Willcoxon
1643004a5d Bug 1579612 - Properly extract tags from urlbar results in all cases. r=mak
We extract tags from the result title only when `info.style.includes("bookmark")`, but that only captures one of the two cases where we include tags in the title: the "bookmark" style. We also include tags for the "tag" style. So the bug reports in this bug are hitting that "tag" case. It doesn't have anything to do with non-Latin tags afaict (see the bug summary).

I took the opportunity to streamline `UnifiedComplete._addFilteredQueryMatch`, which was a little hard to follow. I had to look at it to make sure I captured all the cases where tags are included in the title. I think I've made it easier to follow.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 00:31:53 +00:00
Cosmin Sabou
d9a4fb7dd3 Bug 1582318 - Disable browser_sharedWorker.js on fission. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D49211

--HG--
extra : moz-landing-system : lando
2019-10-15 19:38:07 +00:00
Edwin Takahashi
af0fda47bc Bug 1559977 - Remove tools/rb from py3/py2 linter exclusion list r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35238

--HG--
extra : moz-landing-system : lando
2019-10-15 20:58:35 +00:00
Chun-Min Chang
3727480c24 Bug 1581000 - Turn on audiounit-rust by default in Nightly. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D45762

--HG--
extra : moz-landing-system : lando
2019-10-15 23:16:18 +00:00
Razvan Maries
4668220824 Backed out changeset 445aeafc7bd3 (bug 1588835) for causing perma fails on browser_bug633691.js. CLOSED TREE
--HG--
rename : browser/base/content/test/about/browser_bug633691.js => browser/base/content/test/general/browser_bug633691.js
extra : rebase_source : 8d33b0355074c49d76111391ff7d91c3be87b7aa
2019-10-16 02:20:13 +03:00
Gijs Kruitbosch
540deb21ba Bug 1588846 - move browser_bug839103.js somewhere more topical and make it pass with fission enabled, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D49322

--HG--
rename : browser/base/content/test/general/browser_bug839103.js => layout/base/tests/browser_bug839103.js
rename : browser/base/content/test/general/bug839103.css => layout/base/tests/bug839103.css
rename : browser/base/content/test/general/test_bug839103.html => layout/base/tests/file_bug839103.html
extra : rebase_source : 66a42a5f79dc9963b360b2923283de356ac13567
extra : source : 0999a4c81a05c47e77ab9e593ad2d7a3db5d4d09
2019-10-15 19:37:55 +00:00
Nick Thomas
6ab6ebcdf4 Bug 1588649 - release update verify secondary failing for 70.0, r=jlund
The fix in Bug 1577634 only worked for the beta channel as it didn't consider the RC case.

There's several situations:
* beta without comments --> beta with comments: handled by bug 1577634, but with fallout
* beta with comments    --> beta with comments: `channel-prefs.js` is identical so we never need to apply any transforms
* beta with comments    --> rc with comments: the channel changes in `channel-prefs.js` (by design) so we apply transforms
* rc with comments      --> beta with comments: the channel changes in `channel-prefs.js` (by design) so we apply transforms

By moving the channel fixing transforms forward the file will become identical before we need to try the comment transform. The code breaks early in this case.

The release/esr case is simpler:
* release without comments --> release with comments: handled by comment transform, channel transforms only used for beta tests
* release with comments    --> release with comments: `channel-prefs.js` already identical, no transforms applied

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

--HG--
extra : moz-landing-system : lando
2019-10-15 22:36:25 +00:00
Nan Jiang
f0ac756360 Bug 1588199 - Load local fluent file for ASRouter as fallback r=Pike,Mardak
This changes the either-or semantics to one-after between the local and remote fluent files for ASRouter.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 23:12:49 +00:00
Emilio Cobos Álvarez
5e0abce31f Bug 1588748 - Make an scroll anchoring assertion a release assert. r=dholbert
This should prevent this being exploitable, should this fire.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 18:46:42 +00:00
Razvan Maries
bc77394f54 Backed out changeset 0999a4c81a05 (bug 1588846) for causing perma fails on browser_bug633691.js. CLOSED TREE
--HG--
rename : layout/base/tests/browser_bug839103.js => browser/base/content/test/general/browser_bug839103.js
rename : layout/base/tests/bug839103.css => browser/base/content/test/general/bug839103.css
rename : layout/base/tests/file_bug839103.html => browser/base/content/test/general/test_bug839103.html
2019-10-16 01:49:57 +03:00
mcrawford@mozilla.com
74a51bb20f Bug 1579188 - Adjust background color of login-list items r=jaws
Note - This change  is only visible in the light variation of the default theme.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 22:13:07 +00:00
mcrawford@mozilla.com
24e66bcef9 Bug 1579165 - Separators between logins (and bounding boxes of containers) should be lighter to match the spec r=jaws
Note - I did not edit the refernces to `--in-content-box-border-color` across the following refernces:
login-list:
	:host (Also contained references to backround color: `--in-content-box-background`)
	.meta (Also contained references to backround color: `--in-content-box-background`)
	.create-login-button-container (Shadow color property)
menu-button:
	.menu (Also contained references to backround color: `--in-content-box-background`)

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

--HG--
extra : moz-landing-system : lando
2019-10-15 22:12:00 +00:00
Lina Cambridge
506e99cdb6 Bug 1588329 - Chunk bound params in bookmarks and history. r=mak
This commit builds on the last one to chunk all bound parameters.
In most cases, we just move the statements into a loop that
iterates over the chunks instead of the array. There are two
exceptions which need a bit more work: `cleanupPages` and `remove`.

In `cleanupPages`, we chunk `pagesToRemove`, and clean up
`moz_updateoriginsdelete_temp` and orphan icons after the loop. This
doesn't change functionality, because none of the statements that
follow depend on `moz_origins`, `moz_icons`, or frecency stats.

In `remove`, we now fetch page info for URLs and GUIDs in separate
statements. This makes chunking URL params easier.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 21:23:45 +00:00
Lina Cambridge
367e4411cc Bug 1588329 - Use the new variableLimit getter to chunk binding params in Places. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D49073

--HG--
extra : moz-landing-system : lando
2019-10-15 21:23:26 +00:00
Lina Cambridge
a0d2e56628 Bug 1588329 - Centralize array chunking in PlacesUtils.chunkArray. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D49072

--HG--
extra : moz-landing-system : lando
2019-10-15 21:23:07 +00:00
Lina Cambridge
9d9b081407 Bug 1588329 - Introduce mozIStorageAsyncConnection::variableLimit. r=mak
This is a wrapper around the `sqlite3_limit` interface that returns the
binding parameter limit. Adding this getter lets us clean up the inline
`SQLITE_MAX_VARIABLE_NUMBER` constants scattered around Places.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 21:22:57 +00:00
Sean Feng
2fa45cc172 Bug 1580315 - Change certList internal representation to Array r=keeler
This patch intends to change the internal reprensentation of certList
from nsIX509CertList to Array for TransportSecurityInfo.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 19:57:23 +00:00
Razvan Maries
af59d8f13e Backed out changeset 61a42130beb8 (bug 1588056) for build bustages on nsNetworkLinkService.mm. CLOSED TREE 2019-10-16 00:34:01 +03:00
Nils Ohlmeier [:drno]
661ecac0a9 Bug 1588346: removed webrtc sdk directory. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D49077

--HG--
extra : moz-landing-system : lando
2019-10-15 11:35:55 +00:00
jaril
23830a0484 Bug 1579928 - Reflect proper message order in the console for evaluations during replay r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D49229

--HG--
extra : moz-landing-system : lando
2019-10-15 20:56:27 +00:00