Commit Graph

669711 Commits

Author SHA1 Message Date
Masayuki Nakano
05db7b82d5 Bug 1574852 - part 67-5: Rewrite HTMLEditRules::HandleDeleteNonCollapsedSelection() with EditorDOMPoint r=m_kato
Before splitting the method, we should make it use `EditorDOMPoint` to
treat selection edges.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 00:59:32 +00:00
Razvan Maries
6a9bfbdc43 Backed out changeset 7541e22758eb (bug 1564170) for build bustages on Variant.h. CLOSED TREE 2019-09-06 08:00:37 +03:00
Jim Blandy
fdaa7a5c7c Bug 1564170: Clean up some DebuggerScript referent matchers. r=jorendorff
As suggested in patch review, some of the mozilla::Variant matcher classes in
Script.cpp could be written more clearly using lambda-based matching. This patch
applies that technique in the implementations of DebuggerScript's create,
getStartLine, and getFormat methods.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 04:47:09 +00:00
Daisuke Akatsuka
8615db6369 Bug 1579062: Turn on dom.animations-api.implicit-keyframes.enabled for css-multicol tests. r=birtles
Depends on D44940

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

--HG--
extra : moz-landing-system : lando
2019-09-06 04:29:12 +00:00
Daisuke Akatsuka
20e0c026e0 Bug 1579062: Turn on dom.animations-api.implicit-keyframes.enabled for css-transforms tests. r=birtles
Depends on D44939

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

--HG--
extra : moz-landing-system : lando
2019-09-06 04:29:03 +00:00
Daisuke Akatsuka
ab698711a8 Bug 1579062: Turn on dom.animations-api.implicit-keyframes.enabled for css-backgrounds tests. r=birtles
Depends on D44938

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

--HG--
extra : moz-landing-system : lando
2019-09-06 04:29:10 +00:00
Daisuke Akatsuka
1112761233 Bug 1579062: Turn on dom.animations-api.implicit-keyframes.enabled for css-box tests. r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D44938

--HG--
extra : moz-landing-system : lando
2019-09-06 04:29:01 +00:00
Nils Maier
12ec8dfe49 Bug 1576333 - Part 3: Fix broken test_inprogress r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D43344

--HG--
extra : moz-landing-system : lando
2019-09-06 03:09:30 +00:00
Nils Maier
f28d2b02a0 Bug 1576333 - Part 2: Make WE downloads API cancel on HTTP errors r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D43343

--HG--
extra : moz-landing-system : lando
2019-09-06 03:09:04 +00:00
Nils Maier
37528b94d0 Bug 1576333 - Part 1: Allow Downloads users to inspect HTTP codes r=mak
Differential Revision: https://phabricator.services.mozilla.com/D43342

--HG--
extra : moz-landing-system : lando
2019-09-06 03:08:44 +00:00
Daisuke Akatsuka
e3584dcd2b Bug 1571942: Add a test for inspector shortcut in case that other tool is selected. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D44773

--HG--
extra : moz-landing-system : lando
2019-09-06 03:25:58 +00:00
Daisuke Akatsuka
990e565c09 Bug 1571942: Avoid to raise the toolbox whenever the shortcut key of inspector was typed. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D44772

--HG--
extra : moz-landing-system : lando
2019-09-06 03:25:43 +00:00
Masayuki Nakano
1a4a5cb8b9 Bug 1574852 - part 67-4: Split HTMLEditRules::HandleDeleteAroundCollapsedSelection() r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D44454

--HG--
extra : moz-landing-system : lando
2019-09-05 13:38:07 +00:00
Karl Tomlinson
5f12a1a635 Bug 1578623 ignore self-hosted frames when testing console message stack line numbers r=bhackett
Line numbers in self-hosted frames are not controlled by the test.

Depends on D44610

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

--HG--
extra : moz-landing-system : lando
2019-09-04 16:36:38 +00:00
Karl Tomlinson
7afa4a3d2a Bug 1578623 use 1 for first line number of worklet scripts r=baku
This is consistent with what the Web Console expects.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 02:02:59 +00:00
Karl Tomlinson
22391aabe8 Bug 1578623 remove documentation for non-existent parameter r=bholley
This comment has been obsolete since
https://hg.mozilla.org/mozilla-central/rev/cf4859464f9ea5c3bb44e35d328c13d02114f13a#l2.31
where it was clarified at
https://hg.mozilla.org/mozilla-central/rev/cf4859464f9ea5c3bb44e35d328c13d02114f13a#l5.75

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

--HG--
extra : moz-landing-system : lando
2019-09-06 02:02:41 +00:00
Karl Tomlinson
6b19f33045 Bug 1578623 create worklet global with JSPrincipals having reference to WorkletImpl r=baku,bzbarsky
This will permit implementation of JSPrincipals::write().

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

--HG--
rename : dom/worklet/WorkletPrincipal.cpp => dom/worklet/WorkletPrincipals.cpp
rename : dom/worklet/WorkletPrincipal.h => dom/worklet/WorkletPrincipals.h
extra : moz-landing-system : lando
2019-09-06 02:01:44 +00:00
Jared Wein
895b7027da Bug 1577602 - Allow spinner buttons to grow to full size in input[type=number]. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D44032

--HG--
extra : moz-landing-system : lando
2019-09-05 21:50:43 +00:00
J.C. Jones
e46ef2b607 Bug 1577822 - land NSS cf0df88aa807 UPGRADE_NSS_RELEASE, r=kjacobs
2019-08-30  Alexander Scheel  <ascheel@redhat.com>

	* automation/taskcluster/scripts/build_softoken.sh,
	cmd/lib/pk11table.c, gtests/pk11_gtest/pk11_aes_cmac_unittest.cc,
	gtests/pk11_gtest/pk11_gtest.gyp, lib/pk11wrap/debug_module.c,
	lib/pk11wrap/pk11mech.c, lib/softoken/pkcs11.c,
	lib/softoken/pkcs11c.c, lib/util/pkcs11t.h:
	Bug 1570501 - Expose AES-CMAC in PKCS #11 API, r=mt

	[cf0df88aa807] [tip]

	* cpputil/freebl_scoped_ptrs.h, gtests/freebl_gtest/cmac_unittests.cc,
	gtests/freebl_gtest/freebl_gtest.gyp, lib/freebl/blapi.h,
	lib/freebl/cmac.c, lib/freebl/cmac.h, lib/freebl/exports.gyp,
	lib/freebl/freebl_base.gypi, lib/freebl/ldvector.c,
	lib/freebl/loader.c, lib/freebl/loader.h, lib/freebl/manifest.mn:
	Bug 1570501 - Add AES-CMAC implementation to freebl, r=mt

	[a42c6882ba1b]

2019-09-05  David Cooper  <dcooper16@gmail.com>

	* lib/smime/cmssiginfo.c:
	Bug 657379 - NSS uses the wrong OID for signatureAlgorithm field of
	signerInfo in CMS for DSA and ECDSA. r=rrelyea
	[7a83b248de30]

2019-09-05  Daiki Ueno  <dueno@redhat.com>

	* lib/freebl/drbg.c:
	Backed out changeset 934c8d0e7aba

	It turned out to cause some new errors in LSan; backing out for now.
	[34a254dd1357]

	* lib/freebl/drbg.c:
	Bug 1560329, drbg: perform continuous test on entropy source,
	r=rrelyea

	Summary: FIPS 140-2 section 4.9.2 requires a conditional self test
	to check that consecutive entropy blocks from the system are
	different. As neither getentropy() nor /dev/urandom provides that
	check on the output, this adds the self test at caller side.

	Reviewers: rrelyea

	Reviewed By: rrelyea

	Bug #: 1560329

	[934c8d0e7aba]

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

	* coreconf/WIN32.mk:
	Bug 1576664 - Remove -mms-bitfields from win32 makefile r=jcj

	[bf4de7985f3d]

2019-08-29  Dana Keeler  <dkeeler@mozilla.com>

	* automation/abi-check/expected-report-libnss3.so.txt,
	gtests/pk11_gtest/pk11_find_certs_unittest.cc, lib/nss/nss.def,
	lib/pk11wrap/pk11cert.c, lib/pk11wrap/pk11pub.h:
	bug 1577038 - add PK11_GetCertsFromPrivateKey r=jcj,kjacobs

	PK11_GetCertFromPrivateKey only returns one certificate with a
	public key that matches the given private key. This change
	introduces PK11_GetCertsFromPrivateKey, which returns a list of all
	certificates with public keys that match the given private key.

	[9befa8d296c0]

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

	* automation/abi-check/previous-nss-release, lib/nss/nss.h,
	lib/softoken/softkver.h, lib/util/nssutil.h:
	Set version numbers to 3.47 beta
	[685cea0a7b48]

	* lib/nss/nss.h, lib/softoken/softkver.h, lib/util/nssutil.h:
	Set version numbers to 3.46 final
	[decbf7bd40fd] [NSS_3_46_RTM]

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

--HG--
extra : moz-landing-system : lando
2019-09-06 00:25:25 +00:00
James Teh
0b797e7d2e Bug 1578604: accessible/tests/mochitest/actions/test_general.xul: Don't require the focus event on menulist to be unique. r=eeejay
focusChecker expects a unique focus event.
However, there might still be pending focus events not caught by previous tests.
Therefore, we specify our own checker so we can disable the uniqueness requirement.
This is a little ugly, but it's rather difficult to work around this within this declarative framework without potentially breaking other tests.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 20:38:32 +00:00
James Teh
43953a25a3 Bug 1578311: Don't prune a trailing HTML br child from the accessibility tree. r=eeejay
Pruning these meant that `<span><br></span>` wasn't represented in the tree or rendered text at all.
This meant that lines were merged together in NVDA browse mode; e.g. in CI build logs on Gitlab.

The reason we started pruning these is that they were causing invalid line offsets to be returned for affected lines (bug 899433).
This patch also fixes this problem in HyperTextAccessible::FindOffset.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 23:41:36 +00:00
Shane Caraveo
6cc768b0c5 Bug 1566627 support classification in proxy.onRequest r=zombie
Add trackingClassification to the details object for proxy.onRequest.

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

--HG--
rename : toolkit/components/extensions/test/mochitest/test_ext_webrequest_urlClassification.html => toolkit/components/extensions/test/mochitest/test_ext_request_urlClassification.html
extra : moz-landing-system : lando
2019-09-05 21:39:16 +00:00
Luke Crouch
010f500b2d Bug 1577808: add telemetry for breached logins r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D44524

--HG--
extra : moz-landing-system : lando
2019-09-05 23:01:02 +00:00
Dorel Luca
540a742986 Bug 1565119 - Disabled mobile/android/components/extensions/test/mochitest/test_ext_tabs_insertCSS.html on android 4.3 r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D44819

--HG--
extra : moz-landing-system : lando
2019-09-05 14:13:04 +00:00
Ting-Yu Lin
b8fee8f71c Bug 1308587 Part 2 - Remove -moz prefix for all multi-column properties in testing and css files. r=dholbert
This patch is generated by the following script:

```
function remove_column_prefix() {
    echo "Renaming $1 to $2"
    find .\
         -type f\
         ! -path "./obj*"\
         ! -path "./.git"\
         ! -path "./.hg"\
         \( -name "*.html" -or\
            -name "*.xhtml" -or\
            -name "*.xht" -or\
            -name "*.xul" -or\
            -name "*.xml" -or\
            -name "*.css"  \)\
            -exec sed -i -e "s/$1/$2/g" "{}" \;
}

remove_column_prefix "-moz-columns" "columns"
remove_column_prefix "-moz-column-width" "column-width"
remove_column_prefix "-moz-column-count" "column-count"
remove_column_prefix "-moz-column-fill" "column-fill"
remove_column_prefix "-moz-column-gap" "column-gap"
remove_column_prefix "-moz-column-rule" "column-rule"
remove_column_prefix "-moz-column-rule-width" "column-rule-width"
remove_column_prefix "-moz-column-rule-color" "column-rule-color"
remove_column_prefix "-moz-column-rule-style" "column-rule-style"

```

Note: after running the above script, I reverted one minor change to the
file multicol-nested-column-rule-001.xht in the theoretically read-only
directory layout/reftests/w3c-css/received/css-multicol/.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 21:37:32 +00:00
Ting-Yu Lin
f0a1298eaa Bug 1308587 Part 1 - Manually remove "-moz" prefixed multi-column properties in some tests. r=dholbert
In the next part, the patch generated by a script removes "-moz" prefix
to all multi-column properties.

However, some of the tests already have standard multi-column properties
specified. To avoid duplicating CSS multi-column rules in these
files (after applying the next part), I manually remove the prefixed
rules beforehand as many as possible.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 21:32:05 +00:00
Jeff Muizelaar
725bfc2aef Bug 1579231. Add some additional debugging output to blob grouping. r=mstange
Also rearranges some corresponding code.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 22:21:23 +00:00
Mihai Alexandru Michis
d46adaea8a Backed out changeset 5e767d6cba5a (bug 1577161) for causing Bug 1579038.
--HG--
extra : rebase_source : 67e8c051eb7ca0354ebd08ea070fe9db2b14df9b
2019-09-06 01:17:53 +03:00
Masayuki Nakano
f3b99207af Bug 1574852 - part 67-3: Split HTMLEditRules::WillDeleteSelection() to 3 methods r=m_kato
First, we can split it with 3 parts:
1. preparation with current selection part.
2. handling deletion with collapsed selection part.
3. handling deletion with non-collapsed selection part.
The first should leave in `WillDeleteSelection()`, but the others should be
moved to independent methods.

With this change, we need to fix an odd case when there is no visible node
and `GetFirstSelectedTableCellElement()` returned error due to crossing
the method boundary.  The method returns error only when there is no selection
ranges.  In such case, we cannot handle deletion of current selection anyway.
So, it must not be a problem to handle the error immediately after calling
`GetFirstSelectedTableCellElement()`.  Note that this shouldn't occur in
normal cases since `WillDoAction()` checks it before calling
`WillDeleteSelection()`.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 13:37:57 +00:00
Masayuki Nakano
b9ab4d13e9 Bug 1574852 - part 67-2: Rename variables in HTMLEditRules::WillDeleteSelection() r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D44452

--HG--
extra : moz-landing-system : lando
2019-09-05 13:16:12 +00:00
Masayuki Nakano
ce5e7d1651 Bug 1574852 - part 67-1: Make HTMLEditRules::WillDeleteSelection() return EditActionResult` r=m_kato
Before moving the largest method in our tree, we should split it.  This is
first preparation of that.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 13:37:42 +00:00
Thomas Wisniewski
088543f1ab Bug 1564594 - Make sure we set the correct Fennec shared prefs that the core ping is reading (without the extensions.webcompat. prefix); r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D44901

--HG--
extra : moz-landing-system : lando
2019-09-05 21:34:25 +00:00
Jason Laster
6e5a3a9907 Bug 1578606 - Fix jest. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D44591

--HG--
rename : devtools/client/debugger/flow-typed/npm-custom/devtools-shared-utils_vx.x.x.js => devtools/client/debugger/flow-typed/npm-custom/devtools-modules_vx.x.x.js
extra : moz-landing-system : lando
2019-09-05 20:38:25 +00:00
Andreea Pavel
fc4e538be5 Merge mozilla-central to autoland on a CLOSED TREE 2019-09-06 00:59:25 +03:00
Andreea Pavel
42f3d0e0b0 Merge mozilla-inbound to mozilla-central a=merge 2019-09-06 00:56:29 +03:00
Razvan Maries
d1e676c8db Backed out changeset b83d5986ddf7 (bug 1579231) for build bustages on WebRenderCommandBuilder.cpp. CLOSED TREE 2019-09-06 00:38:06 +03:00
Andreea Pavel
40d6bdbeac Bug 1578636 - disable test on fission r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D44883
2019-09-05 22:29:24 +03:00
Christian Holler
77a280300f Bug 1578186 - Add fuzzing support for HTTP2 proxy. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D44374

--HG--
extra : moz-landing-system : lando
2019-09-05 19:26:12 +00:00
ffxbld
3e8fdbe0ed No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D44828

--HG--
extra : moz-landing-system : lando
2019-09-05 13:17:10 +00:00
Jon Coppeard
3ceda3db10 Bug 1578462 - Mark incoming CCW edges gray when the source is gray r=sfink
This splits marking of incoming CCWs from uncollected zones into two phases dependeing on the mark color of the source object. The targets of black or white wrappers are marked black (white means we don't know what color it should be), and targets of gray wrappers are marked gray. Where gray wrappers are later marked black by gray unmarking, we trigger a read barrier on the targed which will also have the effect of marking it black if it's in a zone we are marking.

I also added a shell function to dump information about cross compartment wrappers that was useful in debugging.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 13:14:08 +00:00
harry
0303f92923 Bug 1578433 - Add a new TIP result type to UrlbarUtils.RESULT_TYPES. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D44714

--HG--
extra : moz-landing-system : lando
2019-09-05 13:09:47 +00:00
Dão Gottwald
fbdd2b23e3 Bug 1579051 - Megabar: Remove the layout breakout placeholder. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D44818

--HG--
extra : moz-landing-system : lando
2019-09-05 13:04:04 +00:00
Dorel Luca
7f93ef38fb Backed out changeset 0b809df52f3f (bug 1578716) for Eslint failure. CLOSED TREE 2019-09-05 15:53:25 +03:00
Nathan Froyd
18e78c6b0d Bug 1578825 - add a strict version check for the NDK version; r=nalexander
One less thing for configurations to vary is a good thing.  This change
also means that when we do NDK bumps that introduce some kind of weird
incompatible change, configuration with a newly-pulled tree and an old
NDK halts at configure, rather than giving weird build errors.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 19:20:39 +00:00
Marco Zehe
32f8c059bc Bug 569313 - Get rid of redundant "Toolbar" in name of "Navigation" and "bookmarks" toolbars, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D44810

--HG--
extra : moz-landing-system : lando
2019-09-05 12:25:13 +00:00
Sylvestre Ledru
931b1e9554 Bug 1579054 - Improve the --enable-clang-plugin description r=andi
Differential Revision: https://phabricator.services.mozilla.com/D44820

--HG--
extra : moz-landing-system : lando
2019-09-05 12:21:38 +00:00
Peter Van der Beken
212a96aecf Bug 1578716 - Make browser_ext_contextMenus_targetUrlPatterns.js wait for end of load of about:reader before sending mouse event. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D44663

--HG--
extra : moz-landing-system : lando
2019-09-05 12:15:15 +00:00
Andrew Sutherland
dbbe7fbf1f Bug 1511025 - Correct searchfox template traversal. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D44755

--HG--
extra : moz-landing-system : lando
2019-09-05 07:17:57 +00:00
Dorel Luca
3f262058ba Backed out changeset e2927c8227d9 (bug 1578231) for Browser-chrome failures browser/base/content/test/performance/browser_preferences_usage.js 2019-09-05 14:47:53 +03:00
Jan de Mooij
89bb9a8b72 Bug 1575161 part 4 - Delete now empty Assembler-shared.cpp file. r=tcampbell
Depends on D42623

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

--HG--
extra : moz-landing-system : lando
2019-09-04 19:09:42 +00:00