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

55728 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 3bb02fa89f Bug 1546048 - Use std::ffi::CStr and the cstr crate instead of custom stuff in xpcom. r=lina
Also, this checks for strings with nulls, which is nice (though I guess an
uncommon mistake).

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

--HG--
extra : moz-landing-system : lando
2019-04-22 05:09:23 +00:00
Myk Melez e2338641e4 Bug 1460811 - migrate XULStore to rkv r=bgrins,lina
Differential Revision: https://phabricator.services.mozilla.com/D25355

--HG--
rename : toolkit/components/xulstore/components.conf => toolkit/components/xulstore/tests/gtest/moz.build
extra : moz-landing-system : lando
2019-04-22 02:59:51 +00:00
Andreea Pavel 11730ca20d Bug 1272849 - disabled browser_notifications_2.js until a fix is available r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D28289

--HG--
extra : moz-landing-system : lando
2019-04-21 11:25:10 +00:00
Razvan Maries 51b8e608d2 Merge mozilla-inbound to mozilla-central a=merge 2019-04-21 13:19:23 +03:00
Ciure Andrei 636eb74c5d Backed out changeset e9be442c871e (bug 1185000) for turning 1272849 into perma CLOSED TREE 2019-04-21 10:34:39 +03:00
Ciure Andrei 2342238f68 Backed out changeset 33f6d42d7fa9 (bug 1543449) for turning 1272849 into perma CLOSED TREE 2019-04-21 09:19:29 +03:00
Daniel Varga d80f0a5707 Merge mozilla-inbound to mozilla-central. a=merge 2019-04-21 00:46:34 +03:00
Andrew McCreight f242e71c8a Bug 1545822 - Clean up some whitespace in XPIDL files. r=froydnj
The attributes for an interface should be on the line right before the
interface.

Interface attributes should be separated by spaces.

Clean up some trailing whitespace in widget/.

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

--HG--
extra : moz-landing-system : lando
2019-04-21 01:47:00 +00:00
Andrew Swan a7ca3ac30d Bug 1545865 Handle inherited attributes overridden by derived element classes r=bgrins
The existing implementation of inherited attributes keeps a data
structure in a property on the class, but derived classes were
unintentionally getting that structure from their parent class,
preventing derived classes from declaring a different set of inherited
attributes.

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

--HG--
extra : moz-landing-system : lando
2019-04-20 16:22:10 +00:00
Gurzau Raul 52b651e168 Merge inbound to mozilla-central. a=merge 2019-04-20 12:54:53 +03:00
Robert Helmer de19e6e803 Bug 1515712 - check bundled JAR and XPI files for corruption r=kmag,chutten
Differential Revision: https://phabricator.services.mozilla.com/D15123

--HG--
extra : moz-landing-system : lando
2019-04-20 05:10:00 +00:00
Robert Helmer c14766668b Bug 1515712 - provide OMNIJAR_NAME constant for browser r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D15243

--HG--
extra : moz-landing-system : lando
2019-04-20 05:09:31 +00:00
Brindusan Cristian 53ae3683c8 Backed out 3 changesets (bug 1515712) for build bustages at 'cpp_guard'.
Backed out changeset 3e46d5fddd21 (bug 1515712)
Backed out changeset acb99631797a (bug 1515712)
Backed out changeset a2d24fd1fd67 (bug 1515712)
2019-04-20 05:44:41 +03:00
Robert Helmer 2bc9b8f0bc Bug 1515712 - add default pref and start corroborator if enabled r=kmag
Depends on D15123

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

--HG--
extra : moz-landing-system : lando
2019-04-19 22:54:49 +00:00
Robert Helmer c88c593eab Bug 1515712 - provide OMNIJAR_NAME constant for browser r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D15243

--HG--
extra : moz-landing-system : lando
2019-04-19 22:53:53 +00:00
Robert Helmer 8274ca92fa Bug 1515712 - check bundled JAR and XPI files for corruption r=kmag,chutten
Differential Revision: https://phabricator.services.mozilla.com/D15123

--HG--
extra : moz-landing-system : lando
2019-04-19 22:54:21 +00:00
prathiksha 37cee0f171 Bug 1185000 - Show a dismissed password manager doorhanger when credit card numbers are detected. r=jaws
In certain straight-forward cases where we detect a credit card number being used with password fields we will show a dismissed password manager doorhanger. The user can still choose to save in case the valid credit card number is actually their username or password.

1) If the Luhn checksum matches on the username field (see CreditCard.jsm) AND the password is 3 numerical digits (don't handle 4 for now even though it's used by Visa since there are banks that use 4 digits passwords for online banking still).
2) If the Luhn checksum matches on the password value AND we detect that the type=password field is a credit card field via autocomplete=cc-number.
** We must include the @autocomplete check otherwise sites will abuse this loophole on legit login forms and set autocomplete=cc-number on their password fields to avoid saving.

For both of these cases we  should `dismissed:true` doorhanger, rather than not showing one at all, in case there are false-negatives.

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

--HG--
extra : source : e9be442c871e173a409f3b969f5bcea0e1ae4d71
extra : histedit_source : c942a81512be954abe595fa41ca44c26cd89b0e6
2019-04-19 13:52:58 -07:00
prathiksha 8c683ae2fc Bug 1185000 - Show a dismissed password manager doorhanger when credit card numbers are detected. r=jaws
In certain straight-forward cases where we detect a credit card number being used with password fields we will show a dismissed password manager doorhanger. The user can still choose to save in case the valid credit card number is actually their username or password.

1) If the Luhn checksum matches on the username field (see CreditCard.jsm) AND the password is 3 numerical digits (don't handle 4 for now even though it's used by Visa since there are banks that use 4 digits passwords for online banking still).
2) If the Luhn checksum matches on the password value AND we detect that the type=password field is a credit card field via autocomplete=cc-number.
** We must include the @autocomplete check otherwise sites will abuse this loophole on legit login forms and set autocomplete=cc-number on their password fields to avoid saving.

For both of these cases we  should `dismissed:true` doorhanger, rather than not showing one at all, in case there are false-negatives.

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

--HG--
extra : transplant_source : %A9%94_%9A%03%00%A1u%F3%28%C6%00H%16z%8A%8F%D6%18O
2019-04-19 13:52:58 -07:00
Matthew Noorenberghe bd58cd0090 Bug 1272849 - browser_notifications_2.js: Properly clear the password field in the doorhanger. r=intermittent
--HG--
extra : source : 33f6d42d7fa92c72b4adb78cf1e6f19932266bf6
extra : histedit_source : eb5754044fcfb79bab3baad0fef2500f500ede9d
2019-04-19 13:49:46 -07:00
Matthew Noorenberghe ecc6e3bbb7 Bug 1543449 - Follow-up to properly clear the password field in the doorhanger. r=intermittent
--HG--
extra : transplant_source : %3E%A1%19%AF%DE%DC%07%82%90S%E1%91N%80%D3s%0A%AA%CF%9C
2019-04-19 13:49:46 -07:00
prathiksha f56e3c8ac0 Bug 1539677 - Do not highlight the password field when pressing enter on the footer or the insecure field warning. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D27405

--HG--
rename : toolkit/components/passwordmgr/test/mochitest/test_autocomplete_highlight.html => toolkit/components/passwordmgr/test/mochitest/test_autocomplete_highlight_non_login.html
extra : rebase_source : ee0a97b70c46aa0e42811a4e3b0445814cb851aa
2019-04-19 11:54:32 -07:00
Dave Townsend c25650a046 Bug 1545736: about:profiles buttons should be initialised when the UI loads, not everytime the UI is refreshed. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D28194

--HG--
extra : rebase_source : f7bd708d2878041f1220437a99c44000862e1475
extra : amend_source : 482c93339ae16e085c781b94cdb8e9d72eef9f57
2019-04-19 06:43:49 -07:00
Brian Grinstead 2787623601 Bug 1545765 - Fix attribute inheritance for empty attribute values r=aswan
This accidentally got dropped in Bug 1528268.

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

--HG--
extra : moz-landing-system : lando
2019-04-19 21:07:40 +00:00
Coroiu Cristina 5f4315f3ee Backed out changeset 37054e6d6bbb (bug 1460811) for marionette failures at marionette_harness/tests/unit/test_cli_arguments.py on a CLOSED TREE 2019-04-20 00:05:55 +03:00
Coroiu Cristina 33d59a9c32 Backed out 4 changesets (bug 1493225) for browser-chrome failures with application terminated with exit code 2147483651 on a CLOSED TREE
Backed out changeset 62ee0aed9e59 (bug 1493225)
Backed out changeset 3537b8f8d38a (bug 1493225)
Backed out changeset 1de539e8f568 (bug 1493225)
Backed out changeset e9c116dba541 (bug 1493225)
2019-04-19 23:55:50 +03:00
Brindusan Cristian dd528e580c Backed out changeset fd06c4854aba (bug 1545736) for bc failures at browser_policy_disable_safemode.js. CLOSED TREE 2019-04-19 21:51:53 +03:00
Brian Grinstead 77c278c728 Bug 1545700 - Eagerly render <menu> inserted into already-opened menupopup r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D28198

--HG--
extra : moz-landing-system : lando
2019-04-19 16:27:37 +00:00
Myk Melez 2eece48676 Bug 1460811 - migrate XULStore to rkv r=bgrins,lina
Differential Revision: https://phabricator.services.mozilla.com/D25355

--HG--
rename : toolkit/components/xulstore/components.conf => toolkit/components/xulstore/tests/gtest/moz.build
extra : moz-landing-system : lando
2019-04-19 17:42:48 +00:00
Dave Townsend 859058438a Bug 1545736: about:profiles buttons should be initialised when the UI loads, not everytime the UI is refreshed. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D28194

--HG--
extra : moz-landing-system : lando
2019-04-19 17:15:24 +00:00
Robert Strong ce20a238d8 Bug 1545631 - Fix no-throw-literal in update\tests\browser\app_update.sjs and update\tests\chrome\update.sjs. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D28162

--HG--
extra : moz-landing-system : lando
2019-04-19 17:08:09 +00:00
Robert Strong 2255b6c575 Bug 1540191 - Add ability to disable BITS download for an update using the advertised update.xml. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D28156

--HG--
extra : moz-landing-system : lando
2019-04-19 17:07:36 +00:00
Jim Porter 7f3f2e49dc Bug 1493225, part 3 - Cancel content JS when navigating through history to prevent hangs r=smaug
This patch adds an ID to ensure that we avoid canceling content JS if the next
page already started loading by the time we're ready to try canceling the JS.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 18:39:45 +00:00
Jim Porter dcf852821e Bug 1493225, part 2 - Cancel content JS when navigating through history to prevent hangs r=smaug
In this part, we pass along the navigation type (and index for when using the
dropdown on the back/forward buttons). This allows us to check if there's a
top-level load "between" the start and end pages.

The patch might look a bit strange, since we're passing the navigation
operation to two places from RemoteWebNavigation.js (the normal message passing
that existed before this patch and the HangMonitor channel in this patch). This
is primarily to make it easier to stop passing the navigation info along the
HangMonitor channel once session history is uplifted into the parent process.
At that point, the check for whether there's a top-level load could happen in
TabParent (I think).

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

--HG--
extra : moz-landing-system : lando
2019-04-18 19:53:34 +00:00
Jim Porter e083d2b226 Bug 1493225, part 1 - Cancel content JS when navigating through history to prevent hangs r=smaug
This patch passes a message through the HangMonitor channel when navigating
through history to cancel content JS that could hang the chrome JS in the
content process responsible for history navigation. If the content JS is
actually canceled, this also disables the BF cache for the current page, since
it could end up in an inconsistent state due to the JS cancellation.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 18:39:24 +00:00
Alexander Surkov fbd81b661b Bug 1539414 - checkboxes are not redrawn on Win7 classic theme r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D27727

--HG--
extra : moz-landing-system : lando
2019-04-16 16:01:33 +00:00
Dragana Damjanovic a27692b748 Bug 1543005 - Collect telemetry on traffic transferred through a captive portal. r=valentin
Adding telemetry for the amount of traffic transfer over the captive portal. Also moving some telemetry for trackers to the same place where our old telemetry is, so that they are all on the same place.

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

--HG--
extra : moz-landing-system : lando
2019-04-19 09:26:48 +00:00
Marco Bonardo 798a11fe1f Bug 776408 - Remove autocomplete delay-on-paste r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D28050

--HG--
extra : moz-landing-system : lando
2019-04-19 09:10:20 +00:00
Dale Harvey 2fb90cc7cb Bug 1544214 - Ensure all engines in list.json can be loaded. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D28044

--HG--
extra : moz-landing-system : lando
2019-04-19 07:51:48 +00:00
Dão Gottwald 1d6199c7eb Bug 1544682 - Move the bottom border from #navigator-toolbox::after to #navigator-toolbox. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D27747

--HG--
extra : moz-landing-system : lando
2019-04-19 07:33:11 +00:00
Robert Strong 37956fb405 Bug 1539154 - Add telemetry for the phases of an update. r=bytesized
This will provide telemetry so the affect of BITS update downloads with nsIIncrementalDownload update downloads can be compared.
Since a scalar can only be recorded once per session there are two scalars for each data point.
The update.startup telemetry is used to record values when an update finished during startup which prevents it from being recorded multiple times during a session.
The update.session telemetry is used to record values when an update finished during a session and there is a guard that prevent it from being recorded multiple times during a session.
All values for update.startup or update.session are submitted at the same time to simplify querying the values.
The tests only cover nsIIncrementalDownload since we don't have the ability to test BITS yet.
There is also some minor test cleanup.

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

--HG--
extra : moz-landing-system : lando
2019-04-19 07:10:47 +00:00
Noemi Erli 966590c35c Backed out changeset 5c50775a9771 (bug 1539154) for failures in browser_telemetry_complete_stageFailure.js 2019-04-19 09:37:10 +03:00
Andrew Swan 4d3cf9fac8 Bug 1535674 Fix race with webextension persistent listeners r=kmag
Bug 1495072 uncovered a race in the webextension persistent listener logic
where the Promise returned by a listener that is not re-registered during
extension startup may never resolve.  When this occurs with a blocking
webRequest listener, content loads just hang forever.
Fix this by forcing primed listeners to reject is they are invoked after
the background page has started.

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

--HG--
extra : rebase_source : f6179911291348c6a0ed99609bbc5fe5526eaa74
2019-04-17 10:49:24 -07:00
feugy ec5dd39075 Bug 1539089 - Select vertical align in about:url-classifier, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D26428

--HG--
extra : moz-landing-system : lando
2019-04-10 16:54:20 +00:00
Arpit 474e467436 Bug 1483077 - Replaced reference to getBrowser with gBrowser r=robwu,dao
Differential Revision: https://phabricator.services.mozilla.com/D27418

--HG--
extra : moz-landing-system : lando
2019-04-17 00:04:54 +00:00
Robert Strong 229f809ab7 Bug 1539154 - Add telemetry for the phases of an update. r=bytesized
This will provide telemetry so the affect of BITS update downloads with nsIIncrementalDownload update downloads can be compared.
Since a scalar can only be recorded once per session there are two scalars for each data point.
The update.startup telemetry is used to record values when an update finished during startup which prevents it from being recorded multiple times during a session.
The update.session telemetry is used to record values when an update finished during a session and there is a guard that prevent it from being recorded multiple times during a session.
All values for update.startup or update.session are submitted at the same time to simplify querying the values.
The tests only cover nsIIncrementalDownload since we don't have the ability to test BITS yet.
There is also some minor test cleanup.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 23:23:04 +00:00
Andreea Pavel 69afeaabd9 Merge mozilla-central to autoland. on a CLOSED TREE
--HG--
extra : amend_source : fe25c64f152924b2a06dc54b745943b760b3552c
2019-04-19 06:56:17 +03:00
Olli Pettay 897fa17b45 Bug 1545093 - Add telemetry about full GC cycle, including time between slices, r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D27896

--HG--
extra : moz-landing-system : lando
2019-04-17 15:55:03 +00:00
Brian Grinstead 9bda39c108 Bug 1519502 - Convert menu bindings to a Custom Element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D19593

--HG--
extra : moz-landing-system : lando
2019-04-18 16:41:46 +00:00
Brian Grinstead 7621a8bf3a Bug 1528268 - Make initializeAttributeInheritance and incremental attribute changes do less work r=aswan
This provides a flipped data structure based on the provided inheritedAttributes,
which looks like:

Object<selector, attrs_to_inherit_comma_separated>

To one that looks like:

Object<attr, Array<Array<selector, attr_to_inherit>>

This should improve performance because:

1) We only fetch element at connectedCallback that actually will have attributes inherited.
2) When an attribute changes we can quickly inherit only that one.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 16:41:39 +00:00
Brian Grinstead 9a35d3783f Bug 1543828 - Use <bdi> inside video controls content r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D27757

--HG--
extra : moz-landing-system : lando
2019-04-18 17:45:22 +00:00
Rob Wu ccb2766ceb Bug 1301837 - Defer SwapDocShells event registration in MessageManagerProxy r=rpl
The "SwapDocShells" event should be deferred until "EndSwapDocShells".
Otherwise the event MessageManagerProxy may swap the event listeners
twice, and end up having the listeners on the incorrect message manager.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 17:07:46 +00:00
Matt Howell 31bc6abec8 Bug 1046479 - Clean up the special ESR registry key during uninstall or paveover. r=agashlin
For bug 726781, the Windows installer was patched to begin creating a special
registry key when installing an ESR build, to provide a convenient indication
that the product that's installed is an ESR version of the product.
This key contains only the version number of the application being installed;
it is separate from the keys that are always created, for all types of
builds, and that contain the installation path, etc.

During an uninstall or a paveover install, the registry is cleaned by looking
for any keys which contain the path to the application being uninstalled and
removing those; the RegCleanMain function handles this, and for non-ESR builds
it works well. However, there is nothing that tries to remove or update the
special ESR key when an ESR build is being uninstalled or paved over with a
non-ESR build. This patch adds that code to RegCleanMain.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 16:47:42 +00:00
Chris H-C 1b6b21de96 Bug 1545207 - Mock the Search Service region test in Telemetry Client Tests r=raphael
We don't want spurious net connections, so we should mock the result.
In addition, we need to mock it to a specific non-North-American region to
ensure we don't cause an extra change to browser.search.region which may split
the subsession in the middle of our tests.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 16:38:16 +00:00
Andreea Pavel eb0b5758ea Merge mozilla-central to autoland. on a CLOSED TREE 2019-04-19 00:48:30 +03:00
Andreea Pavel e5b695eefd Merge mozilla-inbound to mozilla-central. a=merge 2019-04-19 00:36:23 +03:00
Razvan Maries 1f6c35708a Backed out changeset 2f8f0e53a7db (bug 1460811) for leakcheck perma failures. CLOSED TREE 2019-04-19 00:16:32 +03:00
Mike Conley 6f2e110ae1 Bug 1544969 - Show the Picture-in-Picture flyout when hovering the toggle. r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D27835

--HG--
extra : moz-landing-system : lando
2019-04-18 17:29:39 +00:00
Brian Grinstead 381332c51e Bug 1544051 - Part 3 - Scripted change to remove references to AddTask.js r=ahal
This was generated with the script at https://bug1544051.bmoattachments.org/attachment.cgi?id=9058672

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

--HG--
extra : moz-landing-system : lando
2019-04-18 16:51:01 +00:00
Brian Grinstead 7ab932d712 Bug 1544051 - Part 2 - Remove some references to AddTask.js that aren't caught by the script in part 3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D27760

--HG--
extra : moz-landing-system : lando
2019-04-18 16:50:39 +00:00
Robert Strong b8b5ed3ca4 Bug 1541989 - Remove ability to pause updates from the old update UI. r=bytesized
Pausing isn't implemented for BITS and this UI will be removed entirely in the future.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 16:28:37 +00:00
Razvan Maries 98807b06a6 Backed out changeset 081a659775d3 (bug 1529879) for xpcshell perma failures. CLOSED TREE 2019-04-18 20:59:54 +03:00
Tim D. Smith 132eee7672 Bug 1475571 - Update SEARCH_COUNT bug_numbers r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D27977

--HG--
extra : moz-landing-system : lando
2019-04-18 12:48:31 +00:00
Dave Townsend 40eb94ced2 Bug 1529879: Block changing the profile list when another process has changed it. r=froydnj,Gijs,flod
On startup we record the size and modified time of the profile lists. If
changed we refuse to flush any new changes to disk. Also adds a getter to check
if they've changed so the UI can do something sensible.

All attempts to flush are now checked for success. In some cases in early
startup the failure mode isn't great, we just quit startup. The assumption
though is that it's extremely unlikely that the files will have changed on disk
in the time between when they are read and when profile selection occurs, likely
less than a second later.

The profile reset flow is changed to only delete the old profile and flush once
all the migration has completed, so if something fails the user gets back to
their old profile.

In testing I ended up having to fix bug 1522584 so background file deletions on
a background thread are safer.

I haven't implemented any UI tests right now since making modifications to the
profiles means modifying the actual user's profiles which I'm not keen to do.
See bug 1539868.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 04:34:29 +00:00
Dorel Luca f5a2c905f4 Backed out 2 changesets (bug 1519502, bug 1528268) for Crashtest failures in toolkit/content/tests/chrome/test_popupincontent.xul. CLOSED TREE
Backed out changeset 904cc7903feb (bug 1519502)
Backed out changeset f8770d7eebd1 (bug 1528268)
2019-04-18 18:26:41 +03:00
Ehsan Akhgari ccfae51c32 Bug 1500533 - Ensure that TLS session resumption tickets are only consumed if the channel isn't isolated by anti-tracking checks; r=michal,baku
Differential Revision: https://phabricator.services.mozilla.com/D26996

--HG--
extra : moz-landing-system : lando
2019-04-18 01:00:22 +00:00
Emilio Cobos Álvarez 7a76eb126a Bug 1539777 - Properly handle readonly changes in nsFormFillController. r=MattN
There's a readonly shorcut, which prevents us altogether to register the
mutation observer which would notify us of that attribute changing.

Move the readonly check further down to StartControllingInput, so that we
register the mutation observer properly.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 00:38:30 +00:00
Mark Banner 640ec0c3c6 Bug 1545390 - Fix a couple of reference to undefined properties in AddonTestUtils.jsm and ExtensionCommon.jsm. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D28043

--HG--
extra : moz-landing-system : lando
2019-04-18 14:58:37 +00:00
Mike Conley fe03ef4cd8 Bug 1545340 - Hide Picture-in-Picture toggle on <audio controls/> elements. r=jaws
Depends on D27951

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

--HG--
extra : moz-landing-system : lando
2019-04-18 13:01:15 +00:00
Chris H-C 968f4223d8 Bug 1544911 - Enable the 'prio' ping on Beta r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D27799

--HG--
extra : moz-landing-system : lando
2019-04-17 22:21:01 +00:00
Johann Hofmann 6407007ebd Bug 1536454 - Part 4 - Add event telemetry for permission prompt studies. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D26945

--HG--
extra : moz-landing-system : lando
2019-04-18 13:43:29 +00:00
Johann Hofmann 9f4df3d402 Bug 1536454 - Part 3 - Make POPUP_NOTIFICATION_STATS probe collect data on notification removal instead of dismissal. r=MattN
Almost none of the prompts that we are currently showing still get dismissed, which messes up our
measurements in this probe. Most of them are persistent now, which means that we should record when
they get removed instead of dismissed to receive meaningful data. This patch does that.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 13:43:18 +00:00
Myk Melez f61d3b4399 Bug 1460811 - migrate XULStore to rkv r=bgrins,lina
Differential Revision: https://phabricator.services.mozilla.com/D25355

--HG--
rename : toolkit/components/xulstore/components.conf => toolkit/components/xulstore/tests/gtest/moz.build
extra : moz-landing-system : lando
2019-04-18 19:27:12 +00:00
Ehsan Akhgari 3571abe7fa Bug 1545272 - Lessen anti-tracking warning spam; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27974

--HG--
extra : moz-landing-system : lando
2019-04-18 12:07:25 +00:00
Rob Wu 4a6f84f91d Bug 1544834 - Replace deprecated generics in test code r=evilpie
- `Array.map` becomes `Array.from`
- Array copying via `Array.slice` becomes `Array.from`.
- `Array.forEach` that did not rely on closures becomes `for`-`of` loops.
- Anything else: `Array.X` becomes `Array.prototype.X`.

Complex cases:

dom/bindings/test/TestInterfaceJS.js and
dom/bindings/test/test_exception_options_from_jsimplemented.html
use `Array.indexOf` to generate an error with a specific error message.
Switched to `Array.prototype.forEach` to generate the same error.

js/src/jit-test/tests/basic/exception-column-number.js
In this test `Array.indexOf()` is used to generate an error. Since the
exact message doesn't matter, I switched to `Array.from()`.

Intentionally not changed:

editor/libeditor/tests/browserscope/lib/richtext/richtext/js/range.js
Did not modify because this is 3rd-party code and the code uses
feature detection as a fall back when Array generics are not used.

testing/talos/talos/tests/dromaeo/lib/mootools.js
Did not modify because mootools adds the `Array.slice` method to the
`Array` object.

Not changed because they check the implementation of Array generics:
js/src/jit-test/tests/basic/arrayNatives.js
js/src/jit-test/tests/basic/bug563243.js
js/src/jit-test/tests/basic/bug618853.js
js/src/jit-test/tests/basic/bug830967.js
js/src/jit-test/tests/jaeger/recompile/bug656753.js
js/src/jit-test/tests/self-hosting/alternate-static-and-instance-array-extras.js
js/src/tests/non262/Array/generics.js
js/src/tests/non262/Array/regress-415540.js
js/src/tests/non262/extensions/regress-355497.js
js/src/tests/non262/extensions/typedarray-set-neutering.js

Depends on D27802

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

--HG--
extra : moz-landing-system : lando
2019-04-17 19:03:19 +00:00
Rob Wu 1af4c55c01 Bug 1544834 - Replace non-test uses of deprecated Array generics r=evilpie,dao
- `Array.forEach` becomes for-of loop or `array.forEach`.
- `Array.slice(a)` or `Array.slice(a, 0)` becomes `Array.from(a)`.
- `Array.map` becomes `Array.from`
- `Array` copy + concatenation becomes Array literal + spread syntax.
- All other `Array.X(a, ...)` become `Array.prototype.X.call` or `Array.from(a).X(...)`

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

--HG--
extra : moz-landing-system : lando
2019-04-17 19:03:17 +00:00
Mark Banner b4188e9463 Bug 1532170 - Move search ignorelist data to RemoteSettings. r=mikedeboer,glasserc
Differential Revision: https://phabricator.services.mozilla.com/D25382

--HG--
extra : moz-landing-system : lando
2019-04-18 08:50:31 +00:00
Matthew Noorenberghe d41cb40947 Bug 1420103 - Make an unexpected popup during test_form_autocomplete.html #253 a TODO. r=disable-intermittent
--HG--
extra : transplant_source : %06%F5e%F7%FEb%EE%E6%8E%A1C%EE%D6%AC%9F%C7vQ%B4%B3
2019-04-17 16:47:30 -07:00
monikamaheshwari 04e4a2b5c5 Bug 1540828 - De-dupe and rename passwordmgr checkACForm function. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D27319

--HG--
extra : rebase_source : 7508b55da2a2627c7eed784f16bb02badfde1ce7
2019-04-17 16:02:43 -07:00
Bogdan Tara a14816abd2 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-04-18 00:49:46 +03:00
Marco Bonardo 527fb356f8 Bug 1545025 - Switch to tab entries having bookmark tags show a title containing tags. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D27916

--HG--
extra : moz-landing-system : lando
2019-04-17 17:06:01 +00:00
Brindusan Cristian 9d9534d1c9 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-04-17 18:57:51 +03:00
Jared Wein 0b1cc34b1e Bug 1532701 - Disabled checkboxes should not accept label@control being clicked to toggle their checked state. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D27825

--HG--
extra : moz-landing-system : lando
2019-04-16 21:55:48 +00:00
Mike de Boer 5d842c0354 Bug 1518545 - Remove the superfluous 'engine-current' Search Service observer topic in favour of 'engine-default'. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D27857

--HG--
rename : toolkit/components/places/tests/unifiedcomplete/test_search_engine_current.js => toolkit/components/places/tests/unifiedcomplete/test_search_engine_default.js
extra : moz-landing-system : lando
2019-04-17 09:45:24 +00:00
Dão Gottwald a9a4bc45f8 Bug 1540879 - Stop using deprecated Array generics in tabbox.xml. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D27754

--HG--
extra : moz-landing-system : lando
2019-04-17 08:38:46 +00:00
Tim Nguyen 291d63dd6e Bug 1544239 - Adjust more common.css variables for dark mode. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D27755

--HG--
extra : moz-landing-system : lando
2019-04-17 06:25:01 +00:00
Nathan Froyd fdb04b3990 Bug 1544431 - Turn the fixes in bug 1539574 and bug 524410 into breakpad patches r=froydnj
Moved changes to the non-forked part of breakpad living under
toolkit/crashreporter/google-breakpad into separate patches that are applied
by update-breakpad.sh when synchronizing with upstream breakpad. Because we
landed the commits directly to the sources every time we called
update-breakpad.sh those changes would be reverted.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 09:29:55 +00:00
Tim Nguyen e7ed2f6b58 Bug 1545016 - Fix disabled checkbox/radio colors in common.inc.css. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D27855

--HG--
extra : moz-landing-system : lando
2019-04-17 09:09:03 +00:00
Mark Banner a7bd0fff55 Bug 1544835 - Re-enable test_big_icon.js in search tests. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D27738

--HG--
extra : moz-landing-system : lando
2019-04-16 19:05:14 +00:00
Dale Harvey ec391f3454 Bug 1544077 - Remove unused recordSearchURLTelemetry idl definition. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D27725

--HG--
extra : moz-landing-system : lando
2019-04-16 15:50:50 +00:00
Kirk Steuber 6392929fc2 Bug 1544894 - Fix bug where BITS notifications never return from active to idle mode r=rstrong
Differential Revision: https://phabricator.services.mozilla.com/D27781

--HG--
extra : moz-landing-system : lando
2019-04-16 18:21:45 +00:00
Agi Sferro cbfe0bf507 Bug 1518843 - Use isPrivileged instead of restrictScheme for addons permissions. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D22620

--HG--
extra : moz-landing-system : lando
2019-04-16 18:04:39 +00:00
Tim Nguyen 0dc09e7ba9 Bug 1543696 - Don't set extensions.legacy.enabled on beta in browser_ext_themes_experiment.js. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D27153

--HG--
extra : moz-landing-system : lando
2019-04-16 18:14:37 +00:00
Brindusan Cristian 1f36a419a9 Backed out changeset 19d9a16423fd (bug 1543786) for ESlint failure at browser_storageAccessRemovalNavigateTopframe.js. CLOSED TREE 2019-04-17 08:29:16 +03:00
Ehsan Akhgari 0ad9b25d34 Bug 1543786 - Ensure that we revoke a top frame's storage access when it is navigated away; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27155

--HG--
extra : moz-landing-system : lando
2019-04-17 15:01:53 +00:00
Richard Marti dadf96384c Bug 1544025 - Apply the dark-mode to the dialogs too. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D27338

--HG--
extra : amend_source : b7d1d061f4c254472b353256c47400f7ee30d4a4
2019-04-17 13:36:50 +02:00
Gurzau Raul 9b30abf7c9 Backed out 4 changesets (bug 1533831) for failing at /browser/browser_target.js on a CLOSED TREE.
Backed out changeset 94fd0790781a (bug 1533831)
Backed out changeset d32384388e3d (bug 1533831)
Backed out changeset bd363475667f (bug 1533831)
Backed out changeset b818d6ca606d (bug 1533831)
2019-04-18 05:35:54 +03:00
Gabriele Svelto f8519d8324 Bug 1542581 - Block child process termination until the handler is fully initialized r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D27231

--HG--
extra : moz-landing-system : lando
2019-04-17 18:55:14 +00:00
Gurzau Raul 5525d8c102 Backed out changeset 77dbf6f2d6d4 (bug 1529879) for Windows build bustages at Unified_cpp_toolkit_profile0.obj on a CLOSED TREE. 2019-04-18 03:21:42 +03:00
Gabriele Svelto ea01f0aed2 Bug 1386760 - Remove the ExecutableName annotation r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D27885

--HG--
extra : moz-landing-system : lando
2019-04-17 14:05:42 +00:00
Ehsan Akhgari 7275a59f14 Bug 332175 - Disable the XMLDocument.load() API on trunk; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D27729

--HG--
extra : moz-landing-system : lando
2019-04-17 19:37:10 +00:00
Dave Townsend a2a1b4d1f5 Bug 1529879: Block changing the profile list when another process has changed it. r=froydnj,Gijs,flod
On startup we record the size and modified time of the profile lists. If
changed we refuse to flush any new changes to disk. Also adds a getter to check
if they've changed so the UI can do something sensible.

All attempts to flush are now checked for success. In some cases in early
startup the failure mode isn't great, we just quit startup. The assumption
though is that it's extremely unlikely that the files will have changed on disk
in the time between when they are read and when profile selection occurs, likely
less than a second later.

The profile reset flow is changed to only delete the old profile and flush once
all the migration has completed, so if something fails the user gets back to
their old profile.

In testing I ended up having to fix bug 1522584 so background file deletions on
a background thread are safer.

I haven't implemented any UI tests right now since making modifications to the
profiles means modifying the actual user's profiles which I'm not keen to do.
See bug 1539868.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 20:06:20 +00:00
Andreas Tolfsen b864268d1a bug 1533831: remote: include remote agent in default build; r=firefox-build-system-reviewers,chmanchester
The previous commit disabled the remote agent by flipping the
remote.enabled preference to false.  That prevented the remote
agent from initialising or being included in the --help message.

This patch implies --enable-cdp in the default Firefox build on Firefox
Nightly.  Firefox for Android is not supported.  This will cause
builds to include the remote agent component that lives under remote/.

Since the remote agent is disabled by default, users will first
have to set the remote.enabled preference to true in order to use it.

If you wish to explicitly opt out of including the remote agent
when building Firefox, you may do so by using the --disable-cdp
build flag in your mozconfig:

	ac_add_options --disable-cdp

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

--HG--
extra : moz-landing-system : lando
2019-04-17 16:41:38 +00:00
Barret Rennie 48cd738b02 Bug 1536170 - Replace all usage of Async.yieldingIterator with Async.yieldingForEach r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D26593

--HG--
extra : moz-landing-system : lando
2019-04-15 19:26:18 +00:00
Barret Rennie 46fd11fd0d Bug 1536170 - Replace Async.jankYielder r=tcsc,markh,eoger
`Async.jankYielder` is known to, unfortunately, cause jank by creating a lot of
immediately resolved promises that must be then GCed. For a collection of 50
items, it will create 50 promises and 49 of them will immediately resolve.

Instead of `Async.jankYielder`, we now have `Async.yieldState`, which simply
keeps track of whether or not the caller should yield to the event loop. Two
higher level looping constructs are built on top of it:

* `Async.yieldingIterator`, which has been rewritten to not create extraneous
  promises; and
* `Async.yieldingForEach`, which is a replacement for awaiting
  `Async.jankYielder` in a loop. Instead, it accepts the loop body as a
  function.

Each of these can share an instance of an `Async.yieldState`, which allows an
object with multiple loops to yield every N iterations overall, instead of
every N iterations of each loop, which keeps the behaviour of using one
`Async.jankYielders` in multiple places.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 03:00:35 +00:00
Agi Sferro 83bc10f815 Bug 1518843 - GeckoView WebExtension Messaging. r=snorp,esawin,robwu,kmag
This change allows GeckoView embedders to respond to
`runtime.sendNativeMessage` and `runtime.connectNative` sent from
WebExtensions.

These APIs are available behind the new privileged-only permission
`geckoViewAddons` and are used by GeckoView apps to communicate between content
and the app.

Depends On D22621

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

--HG--
extra : moz-landing-system : lando
2019-04-17 18:28:10 +00:00
Luke Crouch 241edb5fa9 contextualIdentity: add gray color and fence icon (Bug 1532746); r=jkt,flod
Adds a gray color and fence icon for Containers. This is originally from
Facebook Container: https://addons.mozilla.org/firefox/addon/facebook-container/

User Research showed a strong affinity for the fence icon as an indicator of
the kind of "boundary" protection that Containers provide.
https://docs.google.com/spreadsheets/d/1bnqjcWTV893RESMPJzAXOrDN0juN_Z0-EE93Mvn3Z5g/edit#gid=0

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

--HG--
extra : moz-landing-system : lando
2019-04-17 16:43:30 +00:00
Brian Grinstead d48d388df2 Bug 1519502 - Convert menu bindings to a Custom Element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D19593

--HG--
extra : moz-landing-system : lando
2019-04-17 15:56:41 +00:00
Brian Grinstead fffaa7e5a8 Bug 1528268 - Make initializeAttributeInheritance and incremental attribute changes do less work r=aswan
This provides a flipped data structure based on the provided inheritedAttributes,
which looks like:

Object<selector, attrs_to_inherit_comma_separated>

To one that looks like:

Object<attr, Array<Array<selector, attr_to_inherit>>

This should improve performance because:

1) We only fetch element at connectedCallback that actually will have attributes inherited.
2) When an attribute changes we can quickly inherit only that one.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 18:48:46 +00:00
Csoregi Natalia fc982ef00d Backed out changeset d969c3ed6999 (bug 1543005) for assertion failures on netwerk/protocol/http/nsHttpHandler.cpp. CLOSED TREE 2019-04-17 22:07:07 +03:00
Sylvestre Ledru f21f9b7329 Bug 1525853 - Redirect the moz:// to the manifesto (instead of open design) r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D26798

--HG--
extra : moz-landing-system : lando
2019-04-17 16:29:41 +00:00
Mark Banner 0cd1778285 Bug 1545124 - Disable add-on manager logging for some tests. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D27917

--HG--
extra : moz-landing-system : lando
2019-04-17 15:48:07 +00:00
Mark Banner 3de2d3abf8 Bug 1518546 - Fix method signatures throughout SearchService.jsm to be consistent. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D27823

--HG--
extra : moz-landing-system : lando
2019-04-17 14:41:39 +00:00
Dragana Damjanovic 591ecb1b1e Bug 1543005 - Collect telemetry on traffic transferred through a captive portal. r=valentin
Adding telemetry for the amount of traffic transfer over the captive portal. Also moving some telemetry for trackers to the same place where our old telemetry is, so that they are all on the same place.

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

--HG--
extra : moz-landing-system : lando
2019-04-13 19:30:35 +00:00
Ehsan Akhgari ad1be13e59 Bug 1543786 - Ensure that we revoke a top frame's storage access when it is navigated away; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27155

--HG--
extra : moz-landing-system : lando
2019-04-16 22:49:25 +00:00
Gijs Kruitbosch bee3c89fb3 Bug 1544573 - fix about:support copy/paste implementation to correctly ignore no-copy elements, r=dthayer
Differential Revision: https://phabricator.services.mozilla.com/D27808

--HG--
extra : moz-landing-system : lando
2019-04-16 20:33:01 +00:00
lloan c87639ecca Bug 1531395 - Add telemetry to track persist option usage in the Console panel. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D26046

--HG--
extra : moz-landing-system : lando
2019-04-16 16:49:19 +00:00
Jonas Allmann a23b1de373 Bug 1541062, Remove eval() from updates.js, r=Gijs
Remove eval() from updates.js
Refactor code to make mapping of pageids to js-objects obsolete
Remove now unnecessary object attributes from wizard pages in updates.xul

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

--HG--
extra : moz-landing-system : lando
2019-04-16 15:28:54 +00:00
Myk Melez c411b93c35 Bug 1543795 - configure lmdb-rkv-sys to use a smaller MDB_IDL_LOGN size r=nanj,glandium
Configure the lmdb-rkv-sys Rust crate to use a smaller MDB_IDL_LOGN size in order to reduce allocations when opening an LMDB environment in read-write mode.

@glandium I adopted the configuration strategy you suggested of creating a "feature" for each reasonable value for the MDB_IDL_LOGN macro.  Fortunately, the range of reasonable values is fairly small.

@nanj Based on your evalution in https://github.com/mozilla/lmdb/pull/2, a value of "9" for this macro should aggressively reduce the allocations while still supporting our existing use cases.  But I'm open to increasing it, if you think a higher initial value would be preferable.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 16:03:10 +00:00
Felipe Gomes 73bd8a3a10 Bug 1438872 - Document and test TelemetryEnvironment's e10sMultiProcesses. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D27584

--HG--
extra : moz-landing-system : lando
2019-04-16 15:32:28 +00:00
Ehsan Akhgari 33df4a4c48 Bug 1544131 - Part 3: Add tests for the interaction of JS provided referrer policies with each one of the default referrer policy values applied to third-party trackers; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27395

--HG--
extra : moz-landing-system : lando
2019-04-15 08:08:18 +00:00
Ehsan Akhgari a49e6df780 Bug 1544131 - Part 2: Remove the script test from browser_referrerDefaultPolicy.js since the <script> element doesn't provide support for the referrerPolicy API; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27394

--HG--
extra : moz-landing-system : lando
2019-04-15 08:08:05 +00:00
Luca Greco b353df61ec Bug 1542842 - Fix remaining references to undefined Ci.nsITelemetry constant in WebExtensions tests. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D27650

--HG--
extra : moz-landing-system : lando
2019-04-16 12:58:30 +00:00
Richard Marti df8dc71144 Bug 1544026 - Add a tab color for the in-content.dark-mode mode. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D27311

--HG--
extra : rebase_source : 8da67a543b83108e8b3dcf13df97ed6da4f758c8
2019-04-15 19:33:43 +02:00
Kestrel 63795cc832 Bug 1544241 - Fix about:performance table header transparency for in-content dark mode and also fill the full height of the header r=dao
Differential Revision: https://phabricator.services.mozilla.com/D27660

--HG--
extra : moz-landing-system : lando
2019-04-16 11:43:01 +00:00
Brian Grinstead c4fa4cfc0c Bug 1544322 - Part 4 - Remove the [type] attribute for multiline <script> tags loading files in /tests/SimpleTest/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the case where the script src is on the line below the script tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 4` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 04:01:46 +00:00
Brian Grinstead 911776d674 Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the case where the script src is on the line below the script tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 3` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 03:59:25 +00:00
Brian Grinstead ede8c44ef2 Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky
This excludes dom/, otherwise the file size is too large for phabricator to handle.

This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 2` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 03:50:44 +00:00
Brian Grinstead 6515f97bcb Bug 1544322 - Part 1 - Remove the [type] attribute for one-liner <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 1` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 20:56:58 +00:00
Ethan Glasser-Camp 7001c282bf Bug 1543817: Document different Normandy uptake telemetry values r=mythmon
Depends on D27363

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

--HG--
extra : moz-landing-system : lando
2019-04-15 21:41:30 +00:00
Ethan Glasser-Camp 87f56a54f3 Bug 1543817: Don't finalize any action twice r=mythmon
Depends on D27362

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

--HG--
extra : moz-landing-system : lando
2019-04-15 21:35:28 +00:00
Ethan Glasser-Camp 9f6f1d93a6 Bug 1543817: Use BACKOFF for "recipe didn't match" r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D27362

--HG--
extra : moz-landing-system : lando
2019-04-15 21:42:52 +00:00
Jared Hirsch a682f7645f Bug 1536877 - Correct the 'value' type in 'browser.telemetry.recordEvent'; r=rpl
MozReview-Commit-ID: EvI2FvsOjDx

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

--HG--
extra : moz-landing-system : lando
2019-04-15 21:23:02 +00:00
Kartikaya Gupta 165674af4f Bug 1544039 - Record CONTENT_FULL_PAINT_TIME in the GPU process too. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D27582

--HG--
extra : moz-landing-system : lando
2019-04-15 21:19:48 +00:00
Kirk Steuber 9e785cf3e7 Bug 1520321 - Adds Telemetry for BITS update downloads r=chutten,rstrong
These Histograms were added:
UPDATE_CAN_USE_BITS_EXTERNAL
UPDATE_CAN_USE_BITS_NOTIFY
  Used for telemetry indicating whether or not BITS can be used by this system. If BITS cannot be used, the probe will contain data indicating why not.
UPDATE_BITS_RESULT_COMPLETE
UPDATE_BITS_RESULT_PARTIAL
  Used for telemetry indicating whether the BITS update download succeeded. If it failed, the probe will contain data indicating how it failed.

This scalar was added:
update.bitshresult
  Used to indicate the hresult returned, if any, when a BITS download fails.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 19:44:59 +00:00
Kirk Steuber d1a3741601 Bug 1520321 - Use BITS in nsUpdateService r=rstrong
nsUpdateService should use BITS for download. If the BITS download fails, it will fallback to the existing download mechanism (nsIIncrementalDownload).

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

--HG--
extra : moz-landing-system : lando
2019-04-15 19:44:45 +00:00
Kirk Steuber 1b86be999a Bug 1520321 - Implement XPCOM interface for BITS r=lina
This patch introduces an asynchronous XPCOM interface for the bits client added in Bug 1523417

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

--HG--
extra : moz-landing-system : lando
2019-04-15 19:44:35 +00:00
Mark Banner d601047536 Bug 1544486 - Marktplaats WebExtension breaks search initialisation for fy-NL/nl locales. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D27541

--HG--
extra : moz-landing-system : lando
2019-04-15 19:20:45 +00:00
Sam Foster 1b48ee9bf6 Bug 1538460 - Only defer handling fields for login autofill when master password is not set. r=MattN
* Use Services.(ppmm|cpmm).sharedData to make isMasterPasswordSet value available to the content process
* We don't handle runtime enable/disable of MP

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

--HG--
extra : moz-landing-system : lando
2019-04-15 18:48:03 +00:00
Aaron Klotz 9489342e23 Bug 1544493: Add ntdll to libxul OS_LIBS; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D27542

--HG--
extra : moz-landing-system : lando
2019-04-15 17:56:43 +00:00
Gijs Kruitbosch 084af41955 Bug 1544065 - fix clicking on <span> tags inside voice selector in reader mode, r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D27510

--HG--
extra : moz-landing-system : lando
2019-04-15 16:34:28 +00:00
Sam Foster 3a39f8e28a Bug 1543449 - use a minPasswordLength rather than skipEmptyFields property when collecting password fields. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D27202

--HG--
extra : moz-landing-system : lando
2019-04-15 16:34:15 +00:00
Nika Layzell 6186f66b37 Bug 1542779 - Use callback interfaces for JSWindowActor callbacks, r=jdai
This should not have any major behaviour changes, with the following exceptions:

 1. The method for receiving messages from IPC is called `receiveMessage` rather
    than `recvAsyncMessage`. This is more consistent with existing code, so
    should be OK.
 2. Exceptions will be correctly reported when thrown within a callback.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 15:49:02 +00:00
Drew Willcoxon c1f323bbe7 Bug 1541929 - Don't autofill the first result in some cases. r=mak
We need to handle autofilling the first result separately from autofilling results in general (which happens in UrlbarInput.setValueFromResult), so add a new UrlbarInput.autofillFirstResult method. The controller calls it instead of setValueFromResult. I ported the logic from nsAutoCompleteController, as described in the bug.

Other changes are related to the new test for this.

As part of this work, I was interested in learning how awesomebar handles browser_autoFill_typed.js, so I added it to the legacy tests, with a small tweak in the test for awesomebar.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 13:15:30 +00:00
Andrew McCreight 364251a66e Bug 1544002 - nsNavHistoryResult::mRefreshParticipants should participate in cycle collection. r=mak
It is an array of cycle collected objects.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 10:11:38 +00:00
Andrea Marchesini 6f470dae23 Bug 1515913 - Implement nsICookieService.removeCookiesFromRootDomain, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D27289

--HG--
extra : moz-landing-system : lando
2019-04-12 20:27:21 +00:00
Mike Conley 50caaa08a3 Bug 1543128 - Have PictureInPictureChild detect clicks on Picture-in-Picture toggle if visible. r=jaws
Depends on D26806

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:09:46 +00:00
Mike Conley 416db4aeac Bug 1543128 - Have PictureInPictureToggleChild set hover states on the no-controls <video> widget manually. r=jaws
Depends on D26805

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:09:26 +00:00
Mike Conley 559f6fe0f2 Bug 1543128 - Get rid of most of the AnonymousContent toggle implementation, but leave some things stubbed out for a later patch. r=jaws,zbraniecki
Depends on D26804

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:09:12 +00:00
Mike Conley 32421e3690 Bug 1543128 - Add a no-controls <video> UAWidget binding to show the Picture-in-Picture toggle. r=jaws
Depends on D26803

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:08:52 +00:00
Mike Conley 189f9c4505 Bug 1542756 - Bug 1543128 - Add option to only return visible nodes from nsIDOMWindowUtils.nodesFromRect. r=emilio
Depends on D26778

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:08:12 +00:00
Mike Conley c0298fe7f6 Bug 1543122 - Add the simple Picture-in-Picture toggle to the <video controls/> binding, still preffed off by default. r=jaws
This also stops the PictureInPictureToggleChild from tracking videos with controls for now.

Depends on D26777

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:07:53 +00:00
Mike Conley 827f8a0905 Bug 1543122 - Add a preference for controlling whether or not we display a toggle for Picture-in-Picture on <video> elements. r=jaws
Depends on D26775

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:07:13 +00:00
Mike Conley 25829adc57 Bug 1543122 - Allow passing a static list of preference values to UAWidgets upon construction. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D26775

--HG--
extra : moz-landing-system : lando
2019-04-15 01:06:54 +00:00
Aaron Klotz 1a74deabad Bug 1503538: Part 3 - Changes to NativeNt and ImportDir to allow for blocking injected static DLL dependencies; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D27145

--HG--
extra : moz-landing-system : lando
2019-04-12 19:58:01 +00:00
Dale Harvey 8078078268 Bug 1544214 - Add Yandex to list of multi locale search extensions. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D27446

--HG--
extra : moz-landing-system : lando
2019-04-14 11:26:31 +00:00
Andreea Pavel c2af41dd40 Merge mozilla-central to autoland. on a CLOSED TREE 2019-04-14 00:48:34 +03:00
Andreea Pavel 0200c7c9fa Merge mozilla-inbound to mozilla-central. a=merge 2019-04-14 00:45:44 +03:00
Magnus Melin 06dab7c847 Bug 1540394 - remove tree._columnsDirty. r=vporof
Remove the tree._columnsDirty property which is causing problems for column reordering in a fresh profile.

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

--HG--
extra : moz-landing-system : lando
2019-04-13 18:53:36 +00:00
Doug Thayer 2d3776cd66 Bug 1538279 - Only readahead DLLs in parent process r=glandium
There shouldn't be any need to do this for content processes as
the DLL should already be in the system file cache.

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

--HG--
extra : moz-landing-system : lando
2019-04-13 18:46:13 +00:00
Masayuki Nakano 414509fe00 Bug 1543315 - part 9: Mark nsIPresShell::FlushPendingNotifications() as MOZ_CAN_RUN_SCRIPT r=smaug
So, this patch makes all caller of it safe including its arguments unless
they come from other methods.

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

--HG--
extra : moz-landing-system : lando
2019-04-13 12:43:57 +00:00
Coroiu Cristina 4f8d4dea29 Backed out changeset cade5cf8a0ed (bug 1543696) for browser-chrome at toolkit/components/extensions/test/browser/browser_ext_themes_warnings.js 2019-04-13 15:01:25 +03:00
Tim Nguyen 539fb76bb1 Bug 1543696 - Don't set extensions.legacy.enabled on beta in browser_ext_themes_experiment.js. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D27153

--HG--
extra : moz-landing-system : lando
2019-04-13 10:18:16 +00:00
Coroiu Cristina 5e550d2b2b Backed out changeset 1ee98a3cd8fb (bug 1543696) on request by ntim 2019-04-13 13:15:23 +03:00
Tim Nguyen c9cef3c063 Bug 1543696 - Don't set extensions.legacy.enabled on beta in browser_ext_themes_experiment.js. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D27153

--HG--
extra : moz-landing-system : lando
2019-04-13 10:07:27 +00:00
Coroiu Cristina f0a2b9f2fe Backed out changeset 7f0e02401370 (bug 1543696) for browser-chrome failures at toolkit/components/extensions/test/browser/browser_ext_themes_warnings.js 2019-04-13 12:59:58 +03:00
Tim Nguyen 46a844f04d Bug 1543696 - Don't set extensions.legacy.enabled on beta in browser_ext_themes_experiment.js. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D27153

--HG--
extra : moz-landing-system : lando
2019-04-12 19:20:47 +00:00
Coroiu Cristina 564703e75c Backed out changeset b36ee12b7088 (bug 1185000) for browser-chrome failures at toolkit/components/passwordmgr/test/browser/browser_notifications_2.js 2019-04-13 11:13:35 +03:00
Coroiu Cristina 1c8b53563a Backed out changeset a1917a9966fb (bug 1543449) for Android failures at tests/SimpleTest/SimpleTest.js 2019-04-13 08:49:46 +03:00
Csoregi Natalia 9e8043e236 Backed out 10 changesets (bug 1542756, bug 1543128, bug 1543122) for multiple media failures /test_setSinkId.html. CLOSED TREE
Backed out changeset ce3a15e1b737 (bug 1543128)
Backed out changeset cea8c1af70ad (bug 1543128)
Backed out changeset aeb23f8f45fb (bug 1543128)
Backed out changeset a2e73d143aba (bug 1543128)
Backed out changeset 1692fc6491a0 (bug 1543128)
Backed out changeset 9fbce4274cfd (bug 1542756)
Backed out changeset 20092bcebe6a (bug 1543122)
Backed out changeset 1645d577016c (bug 1543122)
Backed out changeset 3fce0b7586c1 (bug 1543122)
Backed out changeset aab68db4131b (bug 1543122)
2019-04-13 06:22:47 +03:00
Sam Foster d50c9e3e80 Bug 1543449 - use a minPasswordLength rather than skipEmptyFields property when collecting password fields. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D27202

--HG--
extra : moz-landing-system : lando
2019-04-13 01:40:08 +00:00
Mike Conley 33058a6bbd Bug 1543128 - Have PictureInPictureChild detect clicks on Picture-in-Picture toggle if visible. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D26807

--HG--
extra : moz-landing-system : lando
2019-04-13 01:24:23 +00:00
Mike Conley a4cf1cd87c Bug 1543128 - Have PictureInPictureToggleChild set hover states on the no-controls <video> widget manually. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D26806

--HG--
extra : moz-landing-system : lando
2019-04-13 01:24:05 +00:00
Mike Conley 326dd681a9 Bug 1543128 - Get rid of most of the AnonymousContent toggle implementation, but leave some things stubbed out for a later patch. r=jaws,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D26805

--HG--
extra : moz-landing-system : lando
2019-04-13 01:23:48 +00:00
Mike Conley d0dfdba101 Bug 1543128 - Add a no-controls <video> UAWidget binding to show the Picture-in-Picture toggle. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D26804

--HG--
extra : moz-landing-system : lando
2019-04-13 01:23:35 +00:00
Mike Conley 0d5744162f Bug 1542756 - Bug 1543128 - Add option to only return visible nodes from nsIDOMWindowUtils.nodesFromRect. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D26809

--HG--
extra : moz-landing-system : lando
2019-04-13 01:22:58 +00:00
Mike Conley ab6c5e1a60 Bug 1543122 - Add the simple Picture-in-Picture toggle to the <video controls/> binding, still preffed off by default. r=jaws
This also stops the PictureInPictureToggleChild from tracking videos with controls for now.

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

--HG--
extra : moz-landing-system : lando
2019-04-13 01:22:40 +00:00
Mike Conley ab8986d79a Bug 1543122 - Add a preference for controlling whether or not we display a toggle for Picture-in-Picture on <video> elements. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D26776

--HG--
extra : moz-landing-system : lando
2019-04-13 01:22:03 +00:00
Mike Conley b8aa3fa939 Bug 1543122 - Allow passing a static list of preference values to UAWidgets upon construction. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D26775

--HG--
extra : moz-landing-system : lando
2019-04-13 01:21:45 +00:00
Masayuki Nakano 0986fb819b Bug 1542506 - Make nsDocShell use mozilla::PresShell* directly rather than nsIPresShell* r=bzbarsky
This patch makes `nsDocShell::GetPresShell()` and
`nsDocShell::GetEldestPresShell()` return `mozilla::PresShell*` and
some non-public methods use `mozilla::PresShell*` directly.

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

--HG--
extra : moz-landing-system : lando
2019-04-13 01:03:13 +00:00
Avery Berninger a7d5749be6 Bug 1543144 - Fixed CSS for aboutTelemetry on RTL, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D27209

--HG--
extra : moz-landing-system : lando
2019-04-12 23:58:38 +00:00
Dão Gottwald a169e1ae5f Bug 1541048 - Restore margin between Landscape button and its icon in Print Preview. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D27276

--HG--
extra : moz-landing-system : lando
2019-04-12 20:54:22 +00:00
prathiksha 497abd940b Bug 1185000 - Password manager should not offer to save credit card numbers. r=jaws
Password manager should not offer to save credit card numbers in certain straight-forward cases.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 21:54:06 +00:00
Csoregi Natalia 7af4153e81 Backed out 3 changesets (bug 1536170) for xpcshell failures on test_bookmark_repair.js. CLOSED TREE
Backed out changeset e41b319d7243 (bug 1536170)
Backed out changeset 0d8c58e90773 (bug 1536170)
Backed out changeset 19c23f03b471 (bug 1536170)
2019-04-13 00:39:14 +03:00
Barret Rennie f584c090db Bug 1536170 - Replace all usage of Async.yieldingIterator with Async.yieldingForEach r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D26593

--HG--
extra : moz-landing-system : lando
2019-04-12 19:07:26 +00:00
Barret Rennie 27e15849d2 Bug 1536170 - Replace Async.jankYielder r=tcsc,markh,eoger
`Async.jankYielder` is known to, unfortunately, cause jank by creating a lot of
immediately resolved promises that must be then GCed. For a collection of 50
items, it will create 50 promises and 49 of them will immediately resolve.

Instead of `Async.jankYielder`, we now have `Async.yieldState`, which simply
keeps track of whether or not the caller should yield to the event loop. Two
higher level looping constructs are built on top of it:

* `Async.yieldingIterator`, which has been rewritten to not create extraneous
  promises; and
* `Async.yieldingForEach`, which is a replacement for awaiting
  `Async.jankYielder` in a loop. Instead, it accepts the loop body as a
  function.

Each of these can share an instance of an `Async.yieldState`, which allows an
object with multiple loops to yield every N iterations overall, instead of
every N iterations of each loop, which keeps the behaviour of using one
`Async.jankYielders` in multiple places.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 19:07:00 +00:00
Brian Grinstead 4bfebae0ab Bug 1543834 - Migrate test_largemenu.xul to test_largemenu.html to make sure intermittent tracking on treeherder survives a rename r=bdahl
This is the intermittent bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1410000

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

--HG--
rename : toolkit/content/tests/chrome/test_largemenu.xul => toolkit/content/tests/chrome/test_largemenu.html
extra : moz-landing-system : lando
2019-04-12 16:47:58 +00:00
Brindusan Cristian da68d6846c Backed out changeset cbae72da0dc4 (bug 1540828) for mochitest failures at test_autofill_sandboxed.html. CLOSED TREE 2019-04-12 17:43:09 +03:00
monikamaheshwari 5c8bd123af Bug 1540828 checkACForm function r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D27060

--HG--
extra : moz-landing-system : lando
2019-04-12 13:48:58 +00:00
Sylvestre Ledru 7f60810d86 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-04-12 13:14:25 +00:00
Ehsan Akhgari 7d6e7d5d64 Bug 1543869 - Make sure that browser_referrerDefaultPolicy passes by packaging its depenencies correctly; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27197

--HG--
extra : moz-landing-system : lando
2019-04-12 05:22:57 +00:00
Mark Banner ebd599c0cc Bug 1541924 - Enforce that BookmarkJSONUtils.importFromURL can only be used with chrome and file URLs. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D26921

--HG--
extra : moz-landing-system : lando
2019-04-12 12:34:44 +00:00
Andrea Marchesini a4a901bb22 Bug 1536411 - StoragePrincipal - part 9 - documentation, r=ckerschb,asuth
Differential Revision: https://phabricator.services.mozilla.com/D26479

--HG--
extra : moz-landing-system : lando
2019-04-12 05:29:09 +00:00
Andrea Marchesini f51a81f6d6 Bug 1536411 - StoragePrincipal - part 8 - SharedWorkers, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D25790

--HG--
extra : moz-landing-system : lando
2019-04-12 05:30:19 +00:00
Andrea Marchesini ad7d593761 Bug 1536411 - StoragePrincipal - part 7 - test for DOMCache and ServiceWorkers, r=Ehsan,asuth
Differential Revision: https://phabricator.services.mozilla.com/D25778

--HG--
extra : moz-landing-system : lando
2019-04-12 05:30:36 +00:00
Andrea Marchesini a2db742a8c Bug 1536411 - StoragePrincipal - part 6 - Cookies, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24864

--HG--
extra : moz-landing-system : lando
2019-04-12 05:30:43 +00:00
Andrea Marchesini 3ec4717c70 Bug 1536411 - StoragePrincipal - part 5 - Tests, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24029

--HG--
rename : toolkit/components/antitracking/test/browser/head.js => toolkit/components/antitracking/test/browser/antitracking_head.js
extra : moz-landing-system : lando
2019-04-12 05:30:56 +00:00
Andrea Marchesini a438b12ebd Bug 1536411 - StoragePrincipal - part 1 - Implementation, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24025

--HG--
extra : moz-landing-system : lando
2019-04-12 05:31:32 +00:00
Marco Bonardo 68753b643a Bug 1543617 - Disallow place: urls in text flavors. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D27048

--HG--
extra : moz-landing-system : lando
2019-04-11 14:31:03 +00:00
Gabriele Svelto 94d70e0739 Bug 1538810 - Updated breakpad's curl and musl headers r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D26489

--HG--
extra : moz-landing-system : lando
2019-04-09 16:04:25 +00:00
Gabriele Svelto 430b96c517 Bug 1538810 - Update breakpad to upstream revision 4d550cceca107f36c4bc1ea1126b7d32cc50f424 r=froydnj
This includes improvements to the Linux exception handler that will provide
crash addresse for a number of signals by reading the NT_SIGINFO structure and
quites warnings in a number of files. This also removes an unused header.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 16:04:24 +00:00
Liang-Heng Chen 2cb34bb8bf Bug 1539641 - Log and report storage access granted reason; r=Ehsan,chutten
Differential Revision: https://phabricator.services.mozilla.com/D26720

--HG--
extra : moz-landing-system : lando
2019-04-12 00:38:57 +00:00
Cosmin Sabou c64f16b342 Backed out 3 changesets (bug 1538279) for mass test failures. CLOSED TREE
Backed out changeset af07f58d18cc (bug 1538279)
Backed out changeset 508ee4cf9ea2 (bug 1538279)
Backed out changeset 6f2e7c819c11 (bug 1538279)
2019-04-12 07:47:53 +03:00
Cosmin Sabou 3e6ef756b6 Merge mozilla-central to autoland. 2019-04-12 06:48:11 +03:00
Cosmin Sabou 90efd04259 Merge mozilla-inbound to mozilla-central. a=merge 2019-04-12 06:45:27 +03:00
Doug Thayer 13a4a8518f Bug 1538279 - Only readahead DLLs in parent process r=glandium
There shouldn't be any need to do this for content processes as
the DLL should already be in the system file cache.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 02:17:48 +00:00
Liang-Heng Chen b8ea89ee32 Bug 1537659 - import disconnect domains list; r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D26683

--HG--
extra : moz-landing-system : lando
2019-04-11 22:13:09 +00:00
Dale Harvey 9bdc33dd43 Bug 1496075 - Part 3: Use webextensions in SearchServices. r=mikedeboer,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D25246

--HG--
rename : browser/components/search/searchplugins/list.json => browser/components/search/extensions/list.json
rename : browser/components/search/searchplugins/images/wikipedia.ico => toolkit/components/search/tests/xpcshell/data/test-extensions/multilocale/favicon.ico
rename : browser/components/search/searchplugins/images/google.ico => toolkit/components/search/tests/xpcshell/data/test-extensions/special-engine/favicon.ico
extra : moz-landing-system : lando
2019-04-11 20:49:31 +00:00
Dale Harvey 81edbab4a6 Bug 1496075 - Part 2: Telemetry changes to support search extensions. r=chutten,raphael
Differential Revision: https://phabricator.services.mozilla.com/D25245

--HG--
extra : moz-landing-system : lando
2019-04-11 20:48:57 +00:00
Dale Harvey 374f6a02aa Bug 1486820 - Part 2: Add tests to ensure valid manifest. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D25381

--HG--
extra : moz-landing-system : lando
2019-04-11 20:48:22 +00:00
Shane Caraveo 964cc5ac33 Bug 1528562 support POST with 303 redirect in identity.launchWebAuthFlow r=rpl,Ehsan
nsBrowserStatusFilter is updated to not filter out STATE_IS_REDIRECTED_DOCUMENT.

The test here is adding a way to have a "login form" do a post to a server script, which then does a 303 redirect.  This mimics what some services, including LinkedIn do during this stage.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 21:26:14 +00:00
Oana Pop Rus 76651301a1 Backed out changeset acb04833e713 (bug 1500533) for assertion failure in nsHttpChannel.cpp on a CLOSED TREE 2019-04-11 23:15:08 +03:00
Noemi Erli aa44fadac3 Backed out 3 changesets (bug 1536170) for xpcshell failures in test_bookmark_duping.js CLOSED TREE
Backed out changeset 57c26f8e0bf7 (bug 1536170)
Backed out changeset ccea2e827d9d (bug 1536170)
Backed out changeset 51a67bffd7d2 (bug 1536170)
2019-04-11 23:05:24 +03:00
Cosmin Sabou af07021e88 Backed out 10 changesets (bug 1536411) for causing leaks in CondVar, MessagePortService, MessagePortServiceData.
Backed out changeset eda5854cd7e8 (bug 1536411)
Backed out changeset f94dfbf2476c (bug 1536411)
Backed out changeset c68dc3152faa (bug 1536411)
Backed out changeset f67d157e8baf (bug 1536411)
Backed out changeset 1107a9767f38 (bug 1536411)
Backed out changeset ccbe1af00fb9 (bug 1536411)
Backed out changeset 552c4b588524 (bug 1536411)
Backed out changeset 2eb20578159b (bug 1536411)
Backed out changeset 45708d22bb6d (bug 1536411)
Backed out changeset 87601ef1d4d4 (bug 1536411)
2019-04-11 22:48:49 +03:00
Ehsan Akhgari bf2a5e6e54 Bug 1500533 - Ensure that TLS session resumption tickets are only consumed if the channel isn't isolated by anti-tracking checks; r=michal,baku
Differential Revision: https://phabricator.services.mozilla.com/D26996

--HG--
extra : moz-landing-system : lando
2019-04-11 18:36:16 +00:00
Michael Kaply 2ff9f81d03 Bug 1542371 - Add basic support for ExtensionSettings policy. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D26376

--HG--
extra : moz-landing-system : lando
2019-04-11 19:10:49 +00:00
Shane Caraveo a401892884 Bug 628041 refresh the install blocked panel text r=flod,aswan
Differential Revision: https://phabricator.services.mozilla.com/D25881

--HG--
extra : moz-landing-system : lando
2019-04-11 18:56:47 +00:00
dlee 2d7d027aab Bug 1543341 - Refine Safe Browsing log output. r=baku
After calling Lookup API per table, Safe Browsing outputs too many debug
message for a single URL lookup. Refine the current output.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 18:57:56 +00:00
Liang-Heng Chen 6b0c93a5f1 Bug 1543393 - shardIndex should not use ceil(); r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D26909

--HG--
extra : moz-landing-system : lando
2019-04-11 18:47:28 +00:00
Barret Rennie 1a53df3674 Bug 1536170 - Replace all usage of Async.yieldingIterator with Async.yieldingForEach r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D26593

--HG--
extra : moz-landing-system : lando
2019-04-11 18:40:02 +00:00
Barret Rennie e46873db47 Bug 1536170 - Replace Async.jankYielder r=tcsc,markh,eoger
`Async.jankYielder` is known to, unfortunately, cause jank by creating a lot of
immediately resolved promises that must be then GCed. For a collection of 50
items, it will create 50 promises and 49 of them will immediately resolve.

Instead of `Async.jankYielder`, we now have `Async.yieldState`, which simply
keeps track of whether or not the caller should yield to the event loop. Two
higher level looping constructs are built on top of it:

* `Async.yieldingIterator`, which has been rewritten to not create extraneous
  promises; and
* `Async.yieldingForEach`, which is a replacement for awaiting
  `Async.jankYielder` in a loop. Instead, it accepts the loop body as a
  function.

Each of these can share an instance of an `Async.yieldState`, which allows an
object with multiple loops to yield every N iterations overall, instead of
every N iterations of each loop, which keeps the behaviour of using one
`Async.jankYielders` in multiple places.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 18:39:43 +00:00
Andrew Swan 4884d814ae Bug 1541577 followup: fix racy test r=me
--HG--
extra : rebase_source : d0398fbf75b9a9894e7c06defe0d616cc1ec71c7
2019-04-11 15:43:14 -07:00
Boris Zbarsky 86cc26b364 Bug 1543564 part 3. Get rid of pointless nsPIDOMWindowOuter::GetOuterWindow method. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D27028

--HG--
extra : moz-landing-system : lando
2019-04-11 14:14:15 +00:00
Boris Zbarsky d0bcf72821 Bug 1543564 part 2. Get rid of pointless nsPIDOMWindowInner::AsInner methods. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D27027

--HG--
extra : moz-landing-system : lando
2019-04-11 14:12:43 +00:00
Liang-Heng Chen b100d76702 Bug 1539536 - implement content blocking measurements using prio; r=Ehsan,englehardt
randomly choose 1% users and their 0.14% page view to measure content blocking.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 22:15:07 +00:00
Andrew Swan 9a58fa2896 Bug 1539598 Require pre-install confirmation on all addons installs from outside about:addons r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26024

--HG--
extra : rebase_source : 6f67d4637ea1160031afce5307cdb522c9ecccce
extra : source : 7a05ac03465cb38ba5a798cb762ccf20a6635f23
2019-04-03 15:30:38 -07:00
Bogdan Tara 8fa5eb9862 Backed out 3 changesets (bug 1543786) for browser_storageAccessRemovalNavigateTopframe.js failures CLOSED TREE
Backed out changeset 4f63311e6f00 (bug 1543786)
Backed out changeset 757b729752e0 (bug 1543786)
Backed out changeset 6aabad91d980 (bug 1543786)
2019-04-13 05:14:11 +03:00
Ehsan Akhgari decc40afd5 Bug 1543786 follow-up: Remove a call to a non-existent function 2019-04-12 19:08:36 -04:00
Ehsan Akhgari 9409810d68 Bug 1543786 - Ensure that we revoke a top frame's storage access when it is navigated away; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27155
2019-04-12 19:07:03 -04:00
Andrew Swan 8ba41fe60d Bug 1541577 Drop AddonInstall references when installs finish r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26013

--HG--
extra : rebase_source : 79d4ae90bb5851ecf41170b421d6f201b3abe573
2019-04-03 13:56:08 -07:00
Ciure Andrei 6d8c05133f Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-04-11 19:13:48 +03:00
Ciure Andrei bc3c25dece Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-04-11 12:57:28 +03:00
nidhi ad7be73c4a Bug 1543143 - deleted bogus selector in aboutLicense.css r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D27039

--HG--
extra : moz-landing-system : lando
2019-04-11 09:23:08 +00:00
Tim Nguyen cf0b44e062 Bug 1540387 - Allow built-in themes to use theme experiments. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D25535

--HG--
extra : moz-landing-system : lando
2019-04-11 00:15:42 +00:00
Nico Grunbaum 6db783d06e Bug 1518609 - Add telemetry to legacy maxRetransmitTime DataChannel param r=jib,janerik
Adds telemetry to the DataChannel init param maxRetransmitTime.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 01:42:51 +00:00
rdalal a0d2fda5dd Bug 1543484 - Add version comparison to JEXL filter r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D26975

--HG--
extra : moz-landing-system : lando
2019-04-10 21:08:19 +00:00
Coroiu Cristina d57bd2e86b Backed out changeset 1209711b3866 (bug 1541577) for browser-chrome failures at browser/components/preferences/in-content/tests/browser_browser_languages_subdialog.js on a CLOSED TREE 2019-04-11 04:47:58 +03:00
Andrew Swan 5edcbd87a8 Bug 1541577 Drop AddonInstall references when installs finish r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26013

--HG--
extra : moz-landing-system : lando
2019-04-10 21:22:14 +00:00
dlee 1a5716aba8 Bug 1543319 - P2. Swap the byte order in-place. r=gcp
We don't need an additional array just for byte reordering, replace
it with in-place processing.

Testcase are modified because the LookupCacheV4::Build API now clears the
input parameter.

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

--HG--
extra : moz-landing-system : lando
2019-04-10 20:53:17 +00:00
dlee 63c7548a62 Bug 1543319 - P1. Free intermediate memory as early as possible during Safe Browsing update. r=gcp
Here is the flow how prefixes are handled during an V4 update:
1. Prefixes are received from Safe Browsing update, stored in ProtocolBuffer
2. Copy the prefixes from ProtocolBuffer to TableUpdate structure
3. Prefixes in TableUpdate are merged with local prefixes (stored in LookupCacheV4)
4. Merged prefixes are processes by PrefixSet to generate the in-memory prefix
   set data structure (MakePrefixSet).

In this patch, we free the prefixes stored in TableUpdate right after step3.
This reduces the peak memory used during an update (peak happens in step 4).

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

--HG--
extra : moz-landing-system : lando
2019-04-10 14:32:54 +00:00
Coroiu Cristina 4a56b6ca02 Backed out 4 changesets (bug 1540387) for xpcshell failures at toolkit/mozapps/extensions/test/xpcshell/test_shutdown.js on a CLOSED TREE
Backed out changeset 0f940b496e58 (bug 1540387)
Backed out changeset f8e11c0bb2a4 (bug 1540387)
Backed out changeset e3ca91d64e82 (bug 1540387)
Backed out changeset ee2913c76f4a (bug 1540387)
2019-04-11 02:57:19 +03:00
Coroiu Cristina 619127a72d Backed out changeset 6f3b93e9f07c (bug 1538460) for browser-chrome failures at toolkit/components/passwordmgr/test/browser/browser_hidden_document_autofill.js on a CLOSED TREE 2019-04-11 02:55:32 +03:00
Nick Alexander a8c9fd6a83 Bug 1542920 - Enable Marionette by default. r=froydnj
In particular, this enables Marionette in local Fennec builds, which
were the only place it wasn't enabled by default.  (Automation builds
all enabled Marionette.)  That default is getting in the way of the
Performance Team (and others!) testing GeckoView-based products
easily.

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

--HG--
extra : moz-landing-system : lando
2019-04-10 14:11:17 +00:00
Hiroyuki Ikezoe 700ec53c21 Bug 1535232 - Take account the scroll-snap-margin and scroll-snap-padding into the position where we scroll to on Element.focus() call. r=masayuki,botond
We also take account those values in the case of `Find in page`.

The corresponding web platform tests will be coming from this PR.
https://github.com/web-platform-tests/wpt/pull/8575

Though some of them will not be passed, the failure reason is not related
to this change, I will take a look when the PR gets merged into mozilla-central.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 06:22:38 +00:00
Hiroyuki Ikezoe 7b600a0531 Bug 1534070 - Factor scroll-padding into the position calculation where nsIPresShell::ScrollContentIntoView() is going to scroll if necessary. r=botond
In the case where scroll-snap-type is specified for the scroll container, the
scroll-padding is also factored into in ScrollFrameHelper::ComputeScrollSnapInfo
which is called via ScrollFrameHelper::ScrollToWithOrigin.  It doesn't double
the scroll-padding value, but it's actually redundant, we should avoid it.
We could separate the functionality of ScrollToWithOrigin, one is to scroll
to a given element, the other is to scroll to a given position.  The former will
be used for Element.scrollIntoElement and relevant stuff, the latter will be
used for Element.scrollTo and relevant stuff.  That's being said, as of now, we
have still the old scroll snap implementation, so the separation will introduce
complexity, the separation should be done once after the old implementation
removed.

There are 9 call sites of nsIPresShell::ScrollContentIntoView:
  nsIPresShell::GoToAnchor
  nsIPresShell::ScrollToAnchor
  Element::ScrollIntoView
   We definitely needs scroll-padding and scroll-margin for these functions.

  nsCoreUtils::ScrollTo
   This is used for Accesible::ScrollTo which scrolls to a given accesible node,
   probably we should behave as what Element::ScrollIntoView does.

  Accessible::DispatchClickEvent
   Similar to the above, similated various mouse events on a given target node.

  PresShell::EventHandler::PrepareToUseCaretPosition
  PresShell::EventHandler::GetCurrentItemAndPositionForElement
   Both are for context menu, we shouldn't consider scroll-padding and
   scroll-margin.

  nsFormFillController::SetPopupOpen
   This is used for autocompletion popup, we shouldn't consider scroll-padding
   and scroll-margin.

  nsFocusManager::ScrollIntoView
   This is bit unfortunate, we should use scroll-padding and scroll-margin
   depending on call site of this function. Bug 1535232 is for this case.

cssom-view/scrollIntoView-scrollPadding.html which has some tests that is
actually testing scroll-padding with scrollIntoView passes with this change.

The reftest in this change is a test case that the browser navigates to an
element with specifying the anchor to the element.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 06:22:14 +00:00
Hiroyuki Ikezoe f7645a5770 Bug 1531228 - Enable the new scroll snap and disable the old scroll snap on nightly. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D22804

--HG--
extra : moz-landing-system : lando
2019-04-11 06:22:01 +00:00
Hiroyuki Ikezoe eab764a7ae Bug 1312163 - Switch to the new scroll-snap-type syntax for the old scroll snap implementation and drop the scroll-snap-type-{x,y} longhands. r=emilio
Now scroll-snap-type is a longhand property.

Depends on D21621

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

--HG--
extra : moz-landing-system : lando
2019-04-11 06:19:31 +00:00
Mike Hommey 8148056282 Bug 1543009 - Move Windows DHCP client xpcom component to static registration. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26892
2019-04-11 16:23:52 +09:00
Mike Hommey 360d145ec2 Bug 1543009 - Move Windows system proxy xpcom component to static registration. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26890
2019-04-11 16:22:06 +09:00
Mike Hommey 4befa68a32 Bug 1543009 - Move OSX system proxy xpcom component to static registration. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26889
2019-04-11 16:22:05 +09:00
Mike Hommey ac3c9a8844 Bug 1543009 - Move Android system proxy xpcom componen to static registration. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26888
2019-04-11 16:22:04 +09:00