Commit Graph

667203 Commits

Author SHA1 Message Date
Mike Hommey
9fb1027270 Bug 1576079 - Only build binast when building Spidermonkey standalone. r=nalexander
Bug 1454613 enabled binast (binsource back then) so that automation
would catch trivial build errors. The caveat is that it incurs build
times for everyone, while the tool is not even used during the build:
the result of running it is checked into the tree.

Ideally, it would be built in entirely separate tasks, but the overhead
of setting up a task (checking out the repository, downloading
toolchains, etc.) is actually large enough that it's overkill to build
completely separately.

However, it makes sense to limit to spidermonkey standalone builds.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 23:48:05 +00:00
Mike Hommey
d9320a4077 Bug 1576003 - Update workspace hack to avoid multiple builds of cranelift. r=nalexander
The discrepancy of features used for syn between jsrust and gkrust
triggered syn and its reverse dependencies up to cranelift to be
built once for jsrust and once for gkrust, while they are time consuming
to build.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 17:01:40 +00:00
Mike Hommey
aff45da04a Bug 1576097 - Remove mozbuild.util.encode again. r=nalexander
This time, existing config.status trying to import it will throw an exception
that will trigger a re-configure.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 16:43:58 +00:00
Mike Hommey
9f1da4f63d Bug 1576097 - Deal with config.status breakage more gracefully. r=nalexander
As seen in bug 1575774/1575959, things can go badly when config.status
doesn't match expectations, especially when most mach commands try to
read it, starting with mach clobber, which is supposed to be the one
commant to get away from most problems.

The idea here is to throw a recognizable exception so that callers can
react accordingly. While not obvious from the patch, the result is that
running e.g. mach build with a broken config.status will automatically
run configure (because the relevant caller actually handles the rethrown
exception that way).

There are other calls to from_config_status in the mozbuild reader, but
that can't be reached before MozbuildObject.config_environment.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 22:26:02 +00:00
Noemi Erli
e9426c83aa Backed out changeset ffda592c113d (bug 1573924) for failures in browser_sessionRestore.js 2019-08-24 02:43:14 +03:00
Mats Palmgren
a9c174c337 Bug 1572923 - Add default size for vertical range input ::-moz-range-track pseudo. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D43292

--HG--
extra : moz-landing-system : lando
2019-08-23 21:54:43 +00:00
Stephen Donner
3e05e8ace5 Bug 1554328: Fix minor typos in Raptor's control_server.py r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D43278

--HG--
extra : moz-landing-system : lando
2019-08-23 22:17:12 +00:00
Masayuki Nakano
620c07b2bb Bug 1574852 - part 21: Move HTMLEditRules::PromoteRange() to HTMLEditor r=m_kato
The method name is really unclear what's done.  The method does 3 things.
One is try to select a `<br>` element in empty block if given range is
collapsed in the block.  This is moved as
`HTMLEditor::SelectBRElementIfCollapsedInEmptyBlock()`.  Next, it extends the
given range to include adjuscent whitespaces only when edit sub-action is
inserting or deleting text.  This is moved as
`HTMLEditor::CreateRangeIncludingAdjuscentWhiteSpaces()`.  Finally, when
handling the other edit sub-actions, extends the given range to start/end
of line at both edges.  This is moved as
`HTMLEditor::CreateRangeExtendedToHardLineStartAndEnd()`.

And also this patch makes each caller of `PromoteRange()` to check edit
sub-action by themselves.  Unfortunately, this duplicates same logic to
multiple places, but makes what they do clearer.  I think that the duplication
issue should be fixed later if necessary.  Instead, we should shine the
blackbox of `HTMLEditRules` right now.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 06:32:27 +00:00
Sam Foster
aa002bee0a Bug 1575091 - Update _generatedPasswordsByPrincipalOrigin for auto-saved, generated-password login changes. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D43122

--HG--
extra : moz-landing-system : lando
2019-08-23 22:16:54 +00:00
Kearwood "Kip" Gilbert
291ee2b5f1 Bug 1574682 - Implement VREventObserver::NotifyEnumerationCompleted r=imanol
Differential Revision: https://phabricator.services.mozilla.com/D43202

--HG--
extra : moz-landing-system : lando
2019-08-23 06:30:56 +00:00
Jared Wein
21217d8174 Bug 1573924 - Load logins on domcontentloaded or pageshow, whichever is fired first to handle sessionrestore properly. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D43304

--HG--
extra : moz-landing-system : lando
2019-08-23 22:23:42 +00:00
J.C. Jones
73f0968aaa Bug 1564499 - land NSS NSS_3_46_BETA1 UPGRADE_NSS_RELEASE, r=kjacobs
2019-08-23  Kevin Jacobs  <kjacobs@mozilla.com>

	* tests/common/cleanup.sh:
	Bug 1560593 - Check that BUILD_OPT is defined before testing its
	value. r=jcj

	[44aa330de2aa] [NSS_3_46_BETA1]

	* cmd/strsclnt/strsclnt.c:
	Bug 1575968 - Add strsclnt option to enforce the use of either IPv4
	or IPv6 r=jcj

	[da284d8993ea]

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

	* gtests/softoken_gtest/softoken_gtest.cc:
	Bug 1573942 - Gtest for pkcs11.txt with different breaking line
	formats. r=kjacobs

	[d07a07eb0e40]

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

	* lib/util/utilmod.c:
	Bug 1564284: Added check for CR + LF, r=marcusburghardt,kjacobs

	Looks good and it was already tested locally with this gtest patch:

	[d1d2e1e320cd]

2019-08-22  Martin Thomson  <mt@lowentropy.net>

	* lib/ssl/ssl3con.c:
	Bug 1528666 - Formatting, a=bustage
	[60eeac76c8ec]

2019-08-20  Martin Thomson  <martin.thomson@gmail.com>

	* gtests/ssl_gtest/ssl_0rtt_unittest.cc,
	gtests/ssl_gtest/ssl_resumption_unittest.cc, lib/ssl/ssl3con.c:
	Bug 1528666 - Correct resumption validation checks, r=jcj

	We allowed cross-suite resumption before, but it didn't work. This
	enables that for clients.

	As a secondary minor tweak, clients will no longer validate the
	availability of a cipher suite based on their configured version
	range when attempting resumption. Instead, they will check whether
	the suite works for the version in the session that they are
	attempting to resume. In theory, this doesn't change anything
	because the previous session should not have selected an
	incompatible combination of version and cipher suite, but it's worth
	being extra precise.

	[cab2c8905214]

2019-08-22  Martin Thomson  <mt@lowentropy.net>

	* gtests/ssl_gtest/ssl_auth_unittest.cc,
	gtests/ssl_gtest/ssl_resumption_unittest.cc, lib/ssl/ssl3con.c:
	Bug 1568803 - More tests for client certificate authentication,
	r=kjacobs

	These were previously disabled because of difficulties (at the time)
	in writing these tests for TLS 1.3. The framework, and my
	understanding of it, has since improved, so these tests can be
	restored and expanded. This exposed a minor correctness issue that
	is also corrected.

	[95f97d31c313]

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

--HG--
extra : moz-landing-system : lando
2019-08-23 22:45:47 +00:00
Ehsan Akhgari
ac2216050d Bug 1576038 - Increase the running timeout for browser_blockingCookies.js
Differential Revision: https://phabricator.services.mozilla.com/D43303

--HG--
extra : moz-landing-system : lando
2019-08-23 22:05:51 +00:00
Coroiu Cristina
870afbd95e Bug 1575369 - disabled browser/test-oop-extensions/browser_ext_sidebarAction_incognito.js on mac r=me on a CLOSED TREE
--HG--
extra : rebase_source : 0358a3118afa1cde585cba08df9c9626e088cbdd
2019-08-24 01:10:22 +03:00
Noemi Erli
15323a790b Backed out 3 changesets (bug 1343678) for breaking Android web platform tests CLOSED TREE
Backed out changeset c22a725950f0 (bug 1343678)
Backed out changeset 0bef62794abb (bug 1343678)
Backed out changeset 37c92bba3e1c (bug 1343678)
2019-08-24 01:13:36 +03:00
Matthew Noorenberghe
fd8f8ab235 Bug 1569581 - Add unit tests for isOriginMatching with null/javascript: origins. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D43174

--HG--
extra : moz-landing-system : lando
2019-08-23 21:53:29 +00:00
Matthew Noorenberghe
b98435a39b Bug 1569581 - Show HTTP Auth realm in about:logins and autocomplete. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D43169

--HG--
extra : moz-landing-system : lando
2019-08-23 21:53:17 +00:00
Matthew Noorenberghe
52afb2a796 Bug 1569581 - Use FxAccountsCommon.FXA_PWDMGR_* constants in AboutProtectionsHandler. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D43168

--HG--
extra : moz-landing-system : lando
2019-08-23 21:53:05 +00:00
Shane Caraveo
aad9be688a Bug 1576252 move urlClassification to per-extension request data r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D43290

--HG--
extra : moz-landing-system : lando
2019-08-23 21:15:52 +00:00
Coroiu Cristina
57a2cad6e6 Backed out changeset 8628b6ec7506 (bug 1576252) for multiple failures at components/extensions/test/xpcshell/test_webRequest_filtering.js on a CLOSED TREE 2019-08-24 00:06:37 +03:00
Coroiu Cristina
528d9418f6 Backed out 3 changesets (bug 1569581) for ESLint failure at browser/components/about/AboutProtectionsHandler.jsm on a CLOSED TREE
Backed out changeset 9c3b3043ddc7 (bug 1569581)
Backed out changeset 2a66b79c7085 (bug 1569581)
Backed out changeset 88a9bc458456 (bug 1569581)
2019-08-23 23:57:43 +03:00
James Willcox
fa77c48a55 Bug 1343678 - Add WebPush support to GeckoView r=jcj,lina,agi,geckoview-reviewers,droeh,mt
Differential Revision: https://phabricator.services.mozilla.com/D41290

--HG--
extra : moz-landing-system : lando
2019-08-23 16:29:38 +00:00
James Willcox
cd0bf6a265 Bug 1343678 - Use window context for GeckoSessionTestRule.evaluateJS() r=geckoview-reviewers,droeh
Differential Revision: https://phabricator.services.mozilla.com/D41289

--HG--
extra : moz-landing-system : lando
2019-08-12 18:35:13 +00:00
James Willcox
a427ad0aa8 Bug 1343678 - Enable web push pref for GeckoView r=geckoview-reviewers,droeh
Differential Revision: https://phabricator.services.mozilla.com/D41288

--HG--
extra : moz-landing-system : lando
2019-08-12 18:35:13 +00:00
Dhyey Thakore
8dfc47da59 Bug 1573507 - Improve inline preview values with reps, r=davidwalsh,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D42334

--HG--
extra : moz-landing-system : lando
2019-08-23 20:21:43 +00:00
Kershaw Chang
157eb3caa4 Bug 1574410 - Add tests to check captive portal URL is resolved by native dns r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D42491

--HG--
extra : moz-landing-system : lando
2019-08-23 20:23:12 +00:00
Kershaw Chang
fee6e1a70f Bug 1574410 - Directly put the host of captive portal URL to TRR black list r=mt
Differential Revision: https://phabricator.services.mozilla.com/D42280

--HG--
extra : moz-landing-system : lando
2019-08-23 20:23:12 +00:00
Matthew Noorenberghe
b54d529639 Bug 1569581 - Add unit tests for isOriginMatching with null/javascript: origins. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D43174

--HG--
extra : moz-landing-system : lando
2019-08-23 20:15:43 +00:00
Matthew Noorenberghe
2e7bbd911a Bug 1569581 - Show HTTP Auth realm in about:logins and autocomplete. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D43169

--HG--
extra : moz-landing-system : lando
2019-08-23 20:15:42 +00:00
Matthew Noorenberghe
47b2407f21 Bug 1569581 - Use FxAccountsCommon.FXA_PWDMGR_* constants in AboutProtectionsHandler. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D43168

--HG--
extra : moz-landing-system : lando
2019-08-23 20:15:40 +00:00
Gerald Squelart
e46f3b6c3a Bug 1571648 - Only allow DecoderDoctorLogger on Nightly - r=drno
Differential Revision: https://phabricator.services.mozilla.com/D43228

--HG--
extra : moz-landing-system : lando
2019-08-23 20:06:33 +00:00
Shane Caraveo
b1a96d78ab Bug 1576252 move urlClassification to per-extension request data r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D43290

--HG--
extra : moz-landing-system : lando
2019-08-23 20:06:35 +00:00
Botond Ballo
fcd33af3ae Bug 1511901 - Convert touch events representing two-finger scrolling to pan gesture events for affected devices. r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D41666

--HG--
extra : moz-landing-system : lando
2019-08-23 19:45:20 +00:00
Nathan Froyd
1c00fec375 Bug 1573820 - default to bfd ld for x86-64 Android; r=nalexander
This change looks a lot more complicated than it actually is.

The motivating issue is that on x86-64 android, the NDK uses gold as its
default linker, and on this platform gold has some bugs in how it handles
`.note.*` sections that lead to `strip` and `objcopy` produce invalid
binaries...or at least invalid binaries according to `elfhack`.  When
`elfhack` complains, the build stops, which is suboptimal.  Instead, let's
use bfd `ld`, which doesn't have these problems.

Except that when we make the change to provide `--enable-linker` with a
platform-specific default, the lint configure tests complain that the
provided help string is not using the proper format.  So we tack on the
sekret `{|}` string to satisfy the linter.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 19:26:22 +00:00
Kris Maglione
2ca65ba3f6 Bug 1576247: Re-enable WebExtensions browser mochitests on fission debug. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D43287

--HG--
extra : moz-landing-system : lando
2019-08-23 19:20:31 +00:00
Kris Maglione
9446d616cc Bug 1575369: Fix test race. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D43288

--HG--
extra : moz-landing-system : lando
2019-08-23 19:19:59 +00:00
harry
bca6a11ffa Bug 1575010 - Pad megabar panel with horizontal space. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D42691

--HG--
extra : moz-landing-system : lando
2019-08-23 19:27:05 +00:00
Noemi Erli
abea3666f6 Backed out 3 changesets (bug 1533569) for permafailing in text-decoration-color.html CLOSED TREE
Backed out changeset 70e4542f1434 (bug 1533569)
Backed out changeset 216edfe6b998 (bug 1533569)
Backed out changeset 43c411ccf445 (bug 1533569)
2019-08-23 22:31:41 +03:00
Noemi Erli
721e530625 Backed out 3 changesets (bug 1569581) for mass browser-chrome failures CLOSED TREE
Backed out changeset a8dc5f13dfcf (bug 1569581)
Backed out changeset 7e2df056a778 (bug 1569581)
Backed out changeset 980221f42586 (bug 1569581)
2019-08-23 22:29:38 +03:00
Drew Willcoxon
7eb0e83860 Bug 1576246 - Set pref browser.urlbar.eventTelemetry.enabled by default. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D43286

--HG--
extra : moz-landing-system : lando
2019-08-23 19:09:27 +00:00
Alvina Waseem
2c95cb9ba9 Bug 1542525 - Notification reject failing & web notification test fix. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D43284

--HG--
extra : moz-landing-system : lando
2019-08-23 18:39:54 +00:00
Dão Gottwald
886a3ed397 Bug 1575650 - Fix initial megabar size in new windows. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D43280

--HG--
extra : moz-landing-system : lando
2019-08-23 18:25:19 +00:00
Gregory Mierzwinski
23672d1205 Bug 1573940 - Integrate mozpower into raptor desktop. r=perftest-reviewers,rwood
This patch integrates mozpower into raptor desktop testing. It can be used for MacOS power testing by supplying the `--power-test` command at the command line.

Some changes to how the `--power-test` command is parsed are also made so that we don't check for the `--host` argument when it is supplied. Now, it is only checked when `--app` is an android browser, in the near future this `--host` argument will no longer be needed for power testing on android.

Another change in this patch is the addition of the `self.artifact_dir` property which returns the current directory that should be used to output the artifacts.

Power usage data is output into this artifact directory in a 'power-measurements' folder and this data is zipped when we are running in CI.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 18:27:05 +00:00
Andrew McCreight
fc34ba85ae Bug 1576233 - Enable some local storage tests under Fission. r=kmag
These seem to work now.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 18:16:46 +00:00
Matthew Noorenberghe
56171aa00d Bug 1569581 - Add unit tests for isOriginMatching with null/javascript: origins. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D43174

--HG--
extra : moz-landing-system : lando
2019-08-23 18:22:00 +00:00
Matthew Noorenberghe
35e36fcef9 Bug 1569581 - Show HTTP Auth realm in about:logins and autocomplete. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D43169

--HG--
extra : moz-landing-system : lando
2019-08-23 18:22:06 +00:00
Matthew Noorenberghe
a93025697c Bug 1569581 - Use FxAccountsCommon.FXA_PWDMGR_* constants in AboutProtectionsHandler. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D43168

--HG--
extra : moz-landing-system : lando
2019-08-23 18:21:37 +00:00
Michael Kaply
62c257445d Bug 1575273 - Add cryptomining and fingerprinting to tracking protection policies. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D42942

--HG--
extra : moz-landing-system : lando
2019-08-23 18:14:15 +00:00
Gabriel Luong
9da1dae408 Bug 1576230 - class should be className in UserAgentInput. r=bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D43274

--HG--
extra : moz-landing-system : lando
2019-08-23 17:52:03 +00:00
Narcis Beleuzu
9f23833df7 Bug 1575369 - Disable browser_ext_sidebarAction_incognito.js on Mac and Win10. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D43176

--HG--
extra : moz-landing-system : lando
2019-08-23 17:42:52 +00:00