Commit Graph

667378 Commits

Author SHA1 Message Date
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
Masayuki Nakano
39bbc90bb9 Bug 1574852 - part 20: Move HTMLEditRules::GetPromotedPoint() to HTMLEditor r=m_kato
`HTMLEditRules::GetPromotedPoint()` does too many things.  Therefore, this patch
splits it to 3 methods.  One is for specific `EditSubAction` values, that's
the first block in `GetPromotedPoint()`.  It's named as
`GetWhiteSpaceEndPoint()`.  Next one is for expanding start of the range to
start of its line.  It's named as `GetCurrentHardLineStartPoint()`.  The last
one is for expanding end of the range to end of its line.  It's named as
`GetCurrentHardLineEndPoint()`.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 06:05:38 +00:00
Nihanth Subramanya
9efbc2ee5b Bug 1575798 - Use .notFound instead of :not([hidden]) in selector for showing "Blocking" section. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D43257

--HG--
extra : moz-landing-system : lando
2019-08-23 15:12:23 +00:00
Nihanth Subramanya
d1f04a47a5 Bug 1575812 - Treat "blocked" category items as "allowed" when there is a site exception. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D43255

--HG--
extra : moz-landing-system : lando
2019-08-23 15:12:23 +00:00
Jan Varga
a650fac7b0 Bug 1563023 - Part 4: Get rid of custom usage tracking in LS by using client usage tracked by QM; r=asuth
This patch gets rid of gUsages in LSNG. This provides better consistency and
makes it easier to cache quota info on disk.
The patch also fixes some edge cases when usage was not adjusted correctly after
a failed file or database operation.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 04:46:14 +00:00
Gautham Velchuru
0b2b2ab7b2 Bug 1357100 - change implicit val for aria-level on a heading to 2 r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D35616

--HG--
extra : moz-landing-system : lando
2019-08-23 01:28:13 +00:00
Paul Zuehlcke
f3fc7c8a7b Bug 1574486 - Updated Password Manager to use PermissionManager principal methods. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D42829

--HG--
extra : moz-landing-system : lando
2019-08-22 22:19:05 +00:00
Emilio Cobos Álvarez
dcb8e23c93 Bug 1561882 - Make sure to dispatch input and change consistently even if the first causes us to get uninited. r=mconley,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D43061

--HG--
extra : moz-landing-system : lando
2019-08-23 10:14:39 +00:00
Masayuki Nakano
9cd140da4a Bug 1574852 - part 16: Move HTMLEditRules::BustUpInlinesAtRangeEndpoints() to HTMLEditor r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D42787

--HG--
extra : moz-landing-system : lando
2019-08-23 01:28:26 +00:00
Olli Pettay
e4e8c551d6 Bug 1575606, browser_trackingUI_pbmode_exceptions.js' tests should wait for windows to close, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D42917

--HG--
extra : moz-landing-system : lando
2019-08-23 06:34:26 +00:00
Marian Raiciof
61f083bc16 Bug 1568461 - Fix subtest alerting for youtube-playback tests r=rwood,perftest-reviewers
The alert_on values from the test INI were not being passed into the test settings json via manifest.py, this patch will fix this.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 09:28:04 +00:00
Mirko Brodesser
460b937f0b Bug 1575584: prevent reading uninitialized variable in TextEditor::ComputeValueInternal. r=masayuki
The fix here is to first check `NS_FAILED(rv)`, because if that's the
case, `cancel` wasn't necessarily set to a value.

As best practice I initialized `cancel` and `handled` with default
values.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 09:25:00 +00:00
Emilio Cobos Álvarez
a3278b6dad Bug 1575806 - Cleanup a bit preference-stylesheet-related code. r=heycam
Some of it was dead code, another was inlining a not very useful function (and
in one case redundant, since EnsureInitialized() happened right after
Refresh()).

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

--HG--
extra : moz-landing-system : lando
2019-08-22 23:15:13 +00:00
Mihai Alexandru Michis
51035a6249 Merge mozilla-central to mozilla-inbound. 2019-08-23 01:09:11 +03:00
Mihai Alexandru Michis
2466a0bc08 Merge autoland to mozilla-central. a=merge
--HG--
rename : toolkit/crashreporter/test/browser/browser_aboutCrashesResubmit.js => toolkit/crashreporter/test/browser/browser_aboutCrashesIncomplete.js
extra : rebase_source : 4cdb46e351d763641e9f9442960658aa164cae98
2019-08-23 00:48:49 +03:00
Mike Hommey
720d497cc2 Bug 1575959 - Restore the mozbuild.util.encode function. a=glandium
Older config.status laying around in old trees are read by mach whenever
it runs, including when running mach clobber. Those files still try to
include mozbuild.util.encode, which is not here anymore. So we restore
the function for now to unbreak those.

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

--HG--
extra : histedit_source : 3eb10cc8e18cc9094887061b00705afb6e705b54
2019-08-22 23:58:00 +03:00
Mihai Alexandru Michis
4ea5e0bb7d Backed out changeset 4b4511cf734e (bug 1492920) for landing on both autoland and inbound. 2019-08-22 22:37:58 +03:00
Ryan VanderMeulen
25eaf245b6 Bug 1575851 - Update pdf.js to version 2.3.101. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D43068

--HG--
extra : moz-landing-system : lando
2019-08-22 18:20:58 +00:00
Chris Fallin
fe856b5d5d Bug 1492920: remove restriction on IC attachment for instanceof: allow RHS with a reassigned __proto__. r=djvj,jandem
Based on discussions with :djvj, it seems that this IC attachment logic is
overly conservative. We're seeing a case where the `__proto__` of a constructor
function is reassigned, which causes all instanceof ICs to fail to attach. The
test case is like:

    function C() { /* ... */ }
    C.__proto__ = D;
    var o = new C();
    var result = o instanceof C;  // this IC fails to attach

This change generalizes the IC attachment logic to check whether @@hasInstance
is defined anywhere below Function in the prototype chain of the RHS. If not,
it is still safe to attach the IC; the IC simply needs to guard on the
prototype chain to ensure no @@hasInstance override is inserted later.

Differential Revision: https://phabricator.services.mozilla.com/D42366
2019-08-22 21:07:40 +03:00
Julian Descottes
d1abffd1f9 Bug 1575570 - Check if yarn is installed when running DevTools node tests r=ochameau
Depends on D42894

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

--HG--
extra : moz-landing-system : lando
2019-08-22 16:16:05 +00:00
Julian Descottes
5e9c80ffe5 Bug 1575570 - Mention yarn in prerequisites for running devtools node tests r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D42894

--HG--
extra : moz-landing-system : lando
2019-08-22 16:14:26 +00:00
Vijay Budhram
d93c450ace Bug 1573959 - Update FxA toolbar menu utm param r=markh
Differential Revision: https://phabricator.services.mozilla.com/D43093

--HG--
extra : moz-landing-system : lando
2019-08-22 16:53:17 +00:00
Dylan Roeh
5bb5cce21c Bug 1568295 - Add social tracking protection support to GV. r=geckoview-reviewers,snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D42863

--HG--
extra : moz-landing-system : lando
2019-08-22 18:01:47 +00:00
Michael Kaply
3cc34ca6f8 Bug 1573932 - Disable extended triplets for certain policies. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D43095

--HG--
extra : moz-landing-system : lando
2019-08-22 17:44:51 +00:00
Cosmin Sabou
d422b14401 Bug 1564373 - Disable NavigationDelegateTest.trackingProtection for frequent failures. r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D43066

--HG--
extra : moz-landing-system : lando
2019-08-22 17:36:13 +00:00
Noemi Erli
bbbac52a0b Merge autoland to mozilla-central. a=merge 2019-08-22 18:58:37 +03:00
Kershaw Chang
1ee6c512c5 Bug 1571356 - Add TRANSPARENT_PROXY_RESOLVES_HOST flag to connection info's hash key r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D43043

--HG--
extra : moz-landing-system : lando
2019-08-22 15:13:36 +00:00
Narcis Beleuzu
1d3737ff0d Backed out changeset d99e941429d0 (bug 1568923) for SM bustages on RelocationOverlay.h . CLOSED TREE 2019-08-22 20:31:45 +03:00
Mike Hommey
32044bbc45 Bug 1575804 - Don't decode the result from check_cmd_output. r=froydnj
Bug 1575135 changed check_cmd_output to return unicode strings, but a
couple places were already trying to do their own decoding, which now
can fail. Remove those.

Interesting the decoding was previously broken on Windows, this
actually fixes it (the output of hg config is not actually utf-8 on
Windows).

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

--HG--
extra : moz-landing-system : lando
2019-08-22 17:02:39 +00:00
krystal
fdda6b6a38 Bug 1568923 - String deduplication during tenuring. r=sfink
Most live nursery strings can be deduplicated in moveToTenured through a hashset. 
Dependent strings are complicated to deal with since their chars need to be updated with the newly deduplicated base chars.
If the dependent string is tenured, its bases cannot be deduplicated since a tenured dependent string chars cannot be updated. Otherwise, the following steps will be able to update its chars.
1. Preserve the nursery base chain by saving dependent string nursery bases in its relocation overlay. This allows dependent string nursery root base to be reached.
2. Calculate the original dependent string base offset: dependent string nursery chars - dependent string root base nursery chars. Root base nursery chars is saved in its relocation overlay.
3. Update the dependent string chars with its new root base chars and the calculated offset.
4. Assign either the root base or the undepended string in which the dependent string uses chars from as the new base to unchain any potentially long dependency chain.

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

--HG--
extra : moz-landing-system : lando
2019-08-22 17:09:27 +00:00
Junior Hsu
0e6b4ffc45 Bug 1574676 - Obtaining COEP from the document through which target is nested r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D42397

--HG--
extra : moz-landing-system : lando
2019-08-22 15:45:19 +00:00