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

675423 Коммитов

Автор SHA1 Сообщение Дата
André Bargull 838d8e9f83 Bug 1288457 - Part 7: Remove boilerplate to create Intl constructors. r=mgaudet
- Remove the various `js::CreateXYZ` functions be directly iterating over the
  JSProtoKeys in `js::InitIntlClass`.
- Also remove the unused `GlobalObject::getOrCreateIntlObject` method and then
  merge `GlobalObject::initIntlObject` with `js::InitIntlClass`.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 17:22:04 +00:00
André Bargull c0ef62e824 Bug 1288457 - Part 6: Change Intl.RelativeTimeFormat to use ClassSpec. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D42875

--HG--
extra : moz-landing-system : lando
2019-10-15 17:39:17 +00:00
André Bargull baf0f55458 Bug 1288457 - Part 5: Change Intl.PluralRules to use ClassSpec. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D42874

--HG--
extra : moz-landing-system : lando
2019-10-15 17:20:32 +00:00
André Bargull f655fe9c03 Bug 1288457 - Part 4: Change Intl.NumberFormat to use ClassSpec. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D42873

--HG--
extra : moz-landing-system : lando
2019-10-15 17:20:15 +00:00
André Bargull 6c9d24ed86 Bug 1288457 - Part 3: Change Intl.Locale to use ClassSpec. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D42872

--HG--
extra : moz-landing-system : lando
2019-10-15 17:19:53 +00:00
André Bargull 9566414194 Bug 1288457 - Part 2: Change Intl.DateTimeFormat to use ClassSpec. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D42871

--HG--
extra : moz-landing-system : lando
2019-10-15 17:19:27 +00:00
André Bargull b14ab338c7 Bug 1288457 - Part 1: Change Intl.Collator to use ClassSpec. r=mgaudet
- `JSProto_Collator` has to be added to the end until part 9.
- `js::CreateCollatorPrototype` was renamed to `js::CreateCollator` because it
  no longer returns the prototype object. Part 7 will change this again.
- `CollatorObject::protoClass_` uses `PlainObject::class_`, which works because
  CollatorObject isn't xrayable.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 17:19:08 +00:00
Gijs Kruitbosch f3859cf390 Bug 1589031 - re-enable browser_bug462673.js in fission debug, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D49398

--HG--
extra : moz-landing-system : lando
2019-10-16 10:04:51 +00:00
Gijs Kruitbosch 6371a38acd Bug 1588835 - fix browser_bug633691.js to pass with fission enabled, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D49313

--HG--
rename : browser/base/content/test/general/browser_bug633691.js => browser/base/content/test/about/browser_bug633691.js
extra : moz-landing-system : lando
2019-10-16 10:03:58 +00:00
Frederic Wang 32ca7cf404 Bug 1587570 - Remove support for the subscriptshift and superscriptshift attributes. r=emilio
See https://groups.google.com/forum/#!topic/mozilla.dev.platform/CAqw0Nxw6Pg

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

--HG--
extra : moz-landing-system : lando
2019-10-16 07:57:38 +00:00
Honza Bambas 41280710d0 Bug 1586195 - Add a non-null check for mChannel in HttpChannelParent::RecvRedirect2Verify as it can already be legally dropped, r=michal
Differential Revision: https://phabricator.services.mozilla.com/D48841

--HG--
extra : moz-landing-system : lando
2019-10-16 07:51:55 +00:00
Jan-Erik Rediger 2ee40cef81 Bug 1588429 - Remove expiring metrics ecosystem_(old|new)_send_time r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D49104

--HG--
extra : source : 1f4132be47b0c11f3a1343d408df88ca3b1a3677
2019-10-16 07:25:41 +00:00
David Teller 2bba59de85 Bug 1587738 - Adding a fastpath for the most common prefixes of a `MultiLookupHuffmanTable`;r=arai
By definition of Huffman encoding, the shortest keys are reserved for the most common values.
This patch changes how we store these shortest keys in a `MultiLookupHuffmanTable` to
improve lookup speed: instead of storing short keys in a subtable by extending them,
we store them in a `SingleLookupHuffmanTable`.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 13:55:03 +00:00
James Graham 22258392f2 Bug 1584192 - Allow handling multiple reruns in wptreport.json files, r=maja_zf
Previously when running with --rerun=N we added all the subtest results
to the previous test results and so got all N iterations of each
subtest result, but only one of each test result. Instead ensure that
top-level tests are added each time they are run, allowing multiple
test results.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 22:16:08 +00:00
James Graham 1c0a4ff8d0 Bug 1588713 - Schedule wpt-fis as Tier-3, r=ahal
This enables wpt-fis for the same configurations as mochitest-fis,
initially as T3 so that any stability issues can be worked out.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 08:31:05 +00:00
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