Commit Graph

697550 Commits

Author SHA1 Message Date
Dan Glastonbury
04870fc980 Bug 1623562 - Refactor allowPlugins to use BrowsingContext. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D67428

--HG--
extra : moz-landing-system : lando
2020-03-20 04:53:43 +00:00
nemesisBR
9e5deb3526 Bug 1622682 : removed unused imports and variables. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D67011

--HG--
extra : moz-landing-system : lando
2020-03-22 23:08:05 +00:00
Steve Fink
86ca4b5374 Bug 1621322 - Implement mach lint --revset=REV r=ahal
In the process, fixed a few bugs:
 - the template eg `{file_adds % "\n{file}"}` produced a leading blank line,
   which led to everything being linted.
 - 'd' was replaced with 'r' in diff_filters, but the replacement was discarded.
 - as a result of the above, `hg status -d` was being used ("show only deleted (but tracked) files") and now it is `hg status -r` ("show only removed files"). I *think* this is what was intended?

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

--HG--
extra : moz-landing-system : lando
2020-03-22 22:12:18 +00:00
Steve Fink
eac1725c91 Bug 1621322 - mozversioncontrol: pre-existing bug fix, do not run git test under hg r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D67584

--HG--
extra : moz-landing-system : lando
2020-03-22 22:11:55 +00:00
Cosmin Sabou
c889651517 Bug 1624111 - restore pref for idlharness.window.html. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D67781

--HG--
extra : moz-landing-system : lando
2020-03-22 21:53:12 +00:00
Jonathan Kew
d68fbcd645 Bug 1624225 - Don't reject 'fvar' table in a variation font if no instance records are present, as the font is still valid. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D67785

--HG--
extra : moz-landing-system : lando
2020-03-22 21:12:41 +00:00
Christoph Kerschbaumer
8f4191bc28 Bug 1624113: Explicitly flip pref block_Worker_with_wrong_mime for test browser_webconsole_non_javascript_mime_worker_error.js. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D67772

--HG--
extra : moz-landing-system : lando
2020-03-22 15:07:01 +00:00
Brindusan Cristian
4646c1f41f Backed out 2 changesets (bug 1614933) for bc failures at browser_tabicon_after_bg_tab_crash.js.
Backed out changeset 59503d3a702f (bug 1614933)
Backed out changeset 578c8ba9598f (bug 1614933)
2020-03-22 17:30:07 +02:00
Geoff Brown
14d6560dd3 Bug 1624013 - Increase max-run-time for ccov xpcshell; r=jmaher
Avoid frequent task timeouts in ccov xpcshell by allowing more time.

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

--HG--
extra : moz-landing-system : lando
2020-03-22 08:58:17 +00:00
Gabriele Svelto
322404bebb Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj
Crash annotations in content processes are currently sent over IPC via
shared memory buffers. To pave the way for the Rust rewrite of the exception
handler we are removing this code and gathering all the crash annotations
within the content processes themselves. This patch causes annotations to be
stored in the global table of each content process. They are then streamed
out to the parent process by the exception handler together with the
exception-time annotations.

This has a number of benefits:

* we have one less channel to exchange data between content processes and
  the parent process
* we save memory because we don't need to allocate the shared memory buffers
* annotations are faster because we don't stream them all out every time one
  changes
* we won't truncate annotations anymore if we run out of space in the shared
  segment.
* we don't need delayed annotations anymore, so we can get rid of the
  associated machinery

As I refactored the code I tried to adjust all the obsolete comments,
consolidate shared code and remove the redundant steps that were sometimes
present. In many places we had two entire crash annotation tables we merged to
change just a couple; that comes from the fact that historically we loaded
them from disk. Now it doesn't matter anymore and we can just go ahead and
change the ones we care about.

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

--HG--
extra : moz-landing-system : lando
2020-03-21 17:13:08 +00:00
Gabriele Svelto
9186cc2ed8 Bug 1614933 - Ensure that glibc's lazy initializers run before we enable the content process sandbox on Linux; r=jld
Differential Revision: https://phabricator.services.mozilla.com/D63471

--HG--
extra : moz-landing-system : lando
2020-03-22 13:03:36 +00:00
Amogh Kerigond
d1ba6e0606 Bug 1622666 - Removes redundant access specifier r=froydnj
Depends on D67739

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

--HG--
extra : moz-landing-system : lando
2020-03-22 11:58:15 +00:00
Andreea Pavel
01a5944fc2 Bug 1592498 - adjust disabling condition for browser_urlbar_matchBuckets_migration60.js on all win platforms r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D67412

--HG--
extra : moz-landing-system : lando
2020-03-22 09:02:56 +00:00
Razvan Maries
a792e870dc Bug 1621655 - Disabled browser_styleeditor_media_sidebar_links.js on debug/asan for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D67730

--HG--
extra : moz-landing-system : lando
2020-03-22 11:04:32 +00:00
Razvan Maries
2dab7ead8c Bug 1622391 - Disabled browser_disabledForMediaStreamVideos.js on MacOSX. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D67736

--HG--
extra : moz-landing-system : lando
2020-03-22 10:48:26 +00:00
Bianca Danforth
3fd53c4786 Bug 1595244 - Add unit test for LoginAutoComplete._isProbablyANewPasswordField r=MattN
For the 'Basic password change form' case, the confirm password field should also be true, as selecting the password generation in the popup will fill the same generated password as in the new password field before it without the user having to copy it. Passwords are cached per origin.

There is an existing bug on file to change the text of the autocomplete popup in this case to make that more clear that this is what happens for the confirm password field (Bug 1548854), and other bugs are on file to make it possible to have more than one generated password for the same site in various scenarios (Bug 1569568 and Bug 1551723).

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

--HG--
extra : moz-landing-system : lando
2020-03-21 20:49:58 +00:00
Bianca Danforth
be31af02f5 Bug 1595244 - Use field labels and attributes to determine new-password field types r=MattN
* Add a new module, NewPasswordModel.jsm, which imports the Fathom library from Bug 1618956, and copies over the Fathom model at [bff6995c32e86...](bff6995c32/new-password/rulesets.js (L6-L272)) into it.
  * This module is intended to make it as easy as possible to import model updates from the upstream GitHub repo, though there are a couple extra steps beyond a simple copy and paste.
* The module is imported into LoginAutoComplete.jsm, which has a new helper, _isProbablyANewPasswordField, which runs the model against the provided input element and returns true if the element's confidence score is greater than or equal to a threshold.
  * The confidence threshold, specified by the new signon.generation.confidenceThreshold string preference, is currently set to 0.5 based on [this comment](https://bugzilla.mozilla.org/show_bug.cgi?id=1595244#c12).
  * This should result in a dramatic reduction in false negative rates compared to the existing implementation of this feature (at the expense of an increase in the false positive rate of the existing feature from ~0% to hopefully around 2%).
  * Use of the model is gated behind the same preference used for the confidence threshold, signon.generation.confidenceThreshold.
    * This is a string pref that disables the model if its value is "-1". Otherwise, its value should be a string representation of a float [0,1] (e.g. "0.5") which indicates that the model should be enabled with the given confidence threshold.
    * Using the model is enabled by default on desktop but disabled by default on mobile (GeckoView) due to Bug 1618058.
* Fixed some existing tests that were broken as a result of this change.
* New test(s) will be added in a subsequent commit.

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

--HG--
extra : moz-landing-system : lando
2020-03-21 20:53:09 +00:00
Michal Novotny
57e9dcd9e4 Bug 1624105 - We don't try to activate Http3Stream again if it failed once r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D67733

--HG--
extra : moz-landing-system : lando
2020-03-21 23:51:58 +00:00
Mark Banner
7e0b3d41cf Bug 1623599 - Stop the search engine cache being detected as corrupted when distribution engines are used. r=daleharvey
When building the search cache, we currently have no idea if engines have been added or modified by a distribution. Therefore we need to skip the corruption check for distributions for now.

One distribution engines are incoporated into the modern configuration, we should no longer have this issue, since we'll know what should and shouldn't be there.

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

--HG--
extra : moz-landing-system : lando
2020-03-21 20:46:39 +00:00
Tom Schuster
d99e2a3133 Bug 1622562 - Remove JSREPORT_IS_WARNING everywhere. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D67029

--HG--
extra : moz-landing-system : lando
2020-03-21 20:14:13 +00:00
Tom Schuster
294e9caaac Bug 1622562 - Remove JSREPORT_IS_WARNING from js/src. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D67028

--HG--
extra : moz-landing-system : lando
2020-03-21 20:14:11 +00:00
Tomislav Jovanovic
498eb426c1 Bug 1624124 - Port.sender should include a frameId r=aswan
Regressions from bug 1316748.  We had tests for sender.frameId, but they
were all for runtime.sendMessage() and friends.  Unfortunatelly, bug 1316748
was split to only deal with Ports, so I sdded some tests to cover this case
as well.

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

--HG--
extra : moz-landing-system : lando
2020-03-21 18:05:13 +00:00
André Bargull
c2dc594012 Bug 1623957 - Part 17: Remove stray includes for "mfbt/TypeTraits.h". r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67665

--HG--
extra : moz-landing-system : lando
2020-03-21 15:08:53 +00:00
André Bargull
522a5a2f34 Bug 1623957 - Part 16: Replace mozilla::RemoveConst with std::remove_const. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67664

--HG--
extra : moz-landing-system : lando
2020-03-21 14:31:43 +00:00
André Bargull
d4d0c69e4d Bug 1623957 - Part 15: Replace mozilla::RemoveReference with std::remove_reference. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67663

--HG--
extra : moz-landing-system : lando
2020-03-21 14:28:59 +00:00
André Bargull
43443a9706 Bug 1623957 - Part 14: Replace mozilla::IsPointer with std::is_pointer. r=jwalden
Also reenable the `static_assert` which was disabled for some reason in
bug 1308236. (Bug 1308236 doesn't contain any information why this assertion
had to be disabled.)

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

--HG--
extra : moz-landing-system : lando
2020-03-21 14:27:24 +00:00
André Bargull
6204f0b10c Bug 1623957 - Part 13: Replace mozilla::IsSigned with std::is_signed. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67661

--HG--
extra : moz-landing-system : lando
2020-03-21 14:27:11 +00:00
André Bargull
24f145cd1e Bug 1623957 - Part 12: Replace mozilla::MakeUnsigned with std::make_unsigned. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67660

--HG--
extra : moz-landing-system : lando
2020-03-21 14:25:36 +00:00
André Bargull
08ca80f035 Bug 1623957 - Part 11: Replace mozilla::IsEnum with std::is_enum. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67659

--HG--
extra : moz-landing-system : lando
2020-03-21 14:25:24 +00:00
André Bargull
94fe0cb565 Bug 1623957 - Part 10: Replace mozilla::Conditional with std::conditional. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67658

--HG--
extra : moz-landing-system : lando
2020-03-21 14:25:21 +00:00
André Bargull
18da032034 Bug 1623957 - Part 9: Replace mozilla::IsVoid with std::is_void. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67657

--HG--
extra : moz-landing-system : lando
2020-03-21 14:22:30 +00:00
André Bargull
6a0bbf6484 Bug 1623957 - Part 8: Replace mozilla::IsUnsigned with std::is_unsigned. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67656

--HG--
extra : moz-landing-system : lando
2020-03-21 14:22:23 +00:00
André Bargull
3f258924fb Bug 1623957 - Part 7: Replace mozilla::EnableIf with std::enable_if. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67655

--HG--
extra : moz-landing-system : lando
2020-03-21 14:41:09 +00:00
André Bargull
a582a6c75f Bug 1623957 - Part 6: Replace mozilla::IsConvertible with std::is_convertible. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67653

--HG--
extra : moz-landing-system : lando
2020-03-21 14:20:17 +00:00
André Bargull
18feede4ec Bug 1623957 - Part 5: Replace mozilla::RemovePointer with std::remove_pointer. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67652

--HG--
extra : moz-landing-system : lando
2020-03-21 14:19:34 +00:00
André Bargull
1e668d292e Bug 1623957 - Part 4: Replace mozilla::DeclVal with std::declval. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67651

--HG--
extra : moz-landing-system : lando
2020-03-21 14:19:00 +00:00
André Bargull
86ff4b3be7 Bug 1623957 - Part 3: Replace mozilla::IsEmpty with std::is_empty. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67650

--HG--
extra : moz-landing-system : lando
2020-03-21 14:17:31 +00:00
André Bargull
db4fd78391 Bug 1623957 - Part 2: Replace mozilla::Decay with std::decay. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67649

--HG--
extra : moz-landing-system : lando
2020-03-21 14:18:58 +00:00
André Bargull
d3e5d8544e Bug 1623957 - Part 1: Replace mozilla::IsSame with std::is_same. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67648

--HG--
extra : moz-landing-system : lando
2020-03-21 15:08:24 +00:00
David Teller
c781dd8809 Bug 1580447 - Expose Content{Parent, Child} to JS;r=nika
Differential Revision: https://phabricator.services.mozilla.com/D65344

--HG--
extra : moz-landing-system : lando
2020-03-20 09:11:32 +00:00
grtsid
e2dbcc6b2d Bug 1622653 - BaselineJIT.cpp: Replace size()>0 by !empty() r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D67548

--HG--
extra : moz-landing-system : lando
2020-03-20 14:15:02 +00:00
Emilio Cobos Álvarez
32805b5580 Bug 1623968 - Show a warning when a page forces the start of layout, as that usually indicates a FOUC. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D67669

--HG--
extra : moz-landing-system : lando
2020-03-21 12:18:28 +00:00
Sylvestre Ledru
79fdde2eb7 Bug 1623320 - mozlint - Run license analysis on dotfiles r=linter-reviewers,ahal DONTBUILD
Depends on D67316

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

--HG--
extra : moz-landing-system : lando
2020-03-21 10:20:32 +00:00
Sylvestre Ledru
00ce6e0715 no bug - mozlint/flake8 - Show the flake8 version in debug mode r=linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D67322

--HG--
extra : moz-landing-system : lando
2020-03-20 18:49:09 +00:00
Jeff Walden
8e964ff6d7 Bug 1623780 - Make a bunch of template-object functions, fields, and variables use a more-precise |PlainObject*| type instead of |NativeObject*|. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D67561

--HG--
extra : moz-landing-system : lando
2020-03-21 09:32:40 +00:00
Jon Coppeard
72cbb94f89 Bug 1623973 - Make FinalizationRegistryObject active record set and registrations map values weak r=sfink
This removes tracing for the values of the registration map and the active record set and sweeps them instead. This requires maintaining a map of FinalizationRegistryObjects on the zone.

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

--HG--
extra : moz-landing-system : lando
2020-03-20 21:57:22 +00:00
Andreea Pavel
c888ecff61 Bug 1618386 - correct disabling typo r=cpeterson
Differential Revision: https://phabricator.services.mozilla.com/D67402

--HG--
extra : moz-landing-system : lando
2020-03-19 16:42:42 +00:00
Eitan Isaacson
f8243143b8 Bug 1622731 - Notify of destruction after detaching accessible wrap/proxy. r=morgan
Depends on D67673

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

--HG--
extra : moz-landing-system : lando
2020-03-21 05:26:19 +00:00
Nils Ohlmeier [:drno]
084bc6d6c5 Bug 1623511: turn DTLS 1.0 for WebRTC back on. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D67407

--HG--
extra : moz-landing-system : lando
2020-03-21 03:39:20 +00:00
Zibi Braniecki
626c2efa7d Bug 1623778 - Improve error reporting for AddResource. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D67695

--HG--
extra : moz-landing-system : lando
2020-03-21 04:05:33 +00:00