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

53592 Коммитов

Автор SHA1 Сообщение Дата
Tim Nguyen cbfb044695 Bug 1521285 - Remove XUL grid layout from toolkit/mozapps/preferences/changemp.xul. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D17051

--HG--
extra : moz-landing-system : lando
2019-01-22 21:20:44 +00:00
Dave Townsend 3b32c37fc4 Bug 1521902: Remove unused argument from nsIShellService.isDefaultBrowser. r=rstrong
Differential Revision: https://phabricator.services.mozilla.com/D17281

--HG--
extra : moz-landing-system : lando
2019-01-22 20:41:41 +00:00
Bobby Holley c0182b02f9 Bug 1521187 - Add a dependency on derive_more. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D17028


--HG--
rename : third_party/rust/semver/.cargo-checksum.json => third_party/rust/semver-0.6.0/.cargo-checksum.json
rename : third_party/rust/semver/Cargo.toml => third_party/rust/semver-0.6.0/Cargo.toml
rename : third_party/rust/semver/README.md => third_party/rust/semver-0.6.0/README.md
rename : third_party/rust/semver/src/lib.rs => third_party/rust/semver-0.6.0/src/lib.rs
rename : third_party/rust/semver/src/version.rs => third_party/rust/semver-0.6.0/src/version.rs
rename : third_party/rust/semver/src/version_req.rs => third_party/rust/semver-0.6.0/src/version_req.rs
2019-01-22 12:19:22 -08:00
Peter Van der Beken fd3d6252af Bug 1521848 - Replace nsTArrayToJSArray with ToJSValue. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D17263

--HG--
extra : moz-landing-system : lando
2019-01-22 18:36:07 +00:00
Alastor Wu 7704ca51b0 Bug 1520361 - Add Telemetry to know how people add site to the exception list. r=smaug,cpearce,janerik
Add Telemetry to know the number of times user adds site to allow list, remove site from allow list, add site to block list and remove site from block list.

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

--HG--
extra : moz-landing-system : lando
2019-01-22 18:22:44 +00:00
Harry Twyford 70df5bbf20 Bug 1313429 - Add Touch Bar functionality to Firefox r=spohl,mikedeboer,flod
Adds Touch Bar functionality to Firefox across eight commits.

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

--HG--
extra : moz-landing-system : lando
2019-01-22 17:13:33 +00:00
Oana Pop Rus 9c7401c254 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-22 18:37:07 +02:00
Cosmin Sabou 0abc0fce7a Bug 1518429 - Disable browser_autoplay_policy_webRTC_permission.js on all platforms. r=jmaher 2019-01-21 18:36:00 +02:00
Jan-Erik Rediger 1e8fb88b12 Bug 1482912 - Fix warnings in doc generation r=gfritzsche,chutten
Drive-by fixes to annyoing warnings in `mach doc` for Telemetry docs.

Depends on D17231

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

--HG--
extra : moz-landing-system : lando
2019-01-22 16:07:02 +00:00
Jan-Erik Rediger a9d5774326 Bug 1482912 - Replace cpp_guard with operating_systems for Events and Scalars r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D17231

--HG--
extra : moz-landing-system : lando
2019-01-22 16:07:00 +00:00
Nathan Froyd a9fb00a2f6 Bug 1485216 - remove Scheduler and related code from xpcom/threads; r=mccr8
Quantum DOM is no longer a priority, and the extra code it introduces to
several places block useful refactorings.
2019-01-22 20:16:56 -05:00
Robert Strong 98486c6010 Bug 1521664 - Add About Dialog test for the otherInstanceHandlingUpdates panel ID. r=mhowell 2019-01-22 16:18:17 -08:00
Csoregi Natalia ffee6dccf3 Backed out changeset fef99cfead16 (bug 1516133) for service-workers failures with crashes on MOZ_CrashOOL. CLOSED TREE
--HG--
extra : rebase_source : 19bce71d4915c5925648e8a1ae7022dc46d17b78
2019-01-23 02:08:39 +02:00
Gurzau Raul 136dc5e8bc Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-23 02:05:32 +02:00
Sylvestre Ledru 0b4021fcad Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl
# ignore-this-changeset

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

--HG--
extra : histedit_source : 084f340503d2e1a2d9e1753c38b2c4ee9c7819f3
2019-01-21 18:18:16 +01:00
Andrea Marchesini 5018c31d19 Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi 2019-01-17 09:33:25 +01:00
Coroiu Cristina 8aa7253505 Backed out changeset e310a6576d51 (bug 1516133) for service-workers failures with crashes on MOZ_CrashOOL 2019-01-23 13:43:15 +02:00
Robert Strong 2f31ecf37b Bug 1521987 - followup to prevent these staging tests from running on asan. r=me CLOSED TREE 2019-01-23 01:29:34 -08:00
Andrea Marchesini fe0182eac3 Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi 2019-01-17 09:33:25 +01:00
Robert Strong adf2809727 Bug 1521987 - Add missing doorhanger staging tests. r=mhowell
--HG--
rename : toolkit/mozapps/update/tests/browser/browser_doorhanger_bc_downloaded.js => toolkit/mozapps/update/tests/browser/browser_doorhanger_bc_downloaded_staged.js
rename : toolkit/mozapps/update/tests/browser/browser_doorhanger_sp_patch_partialApplyFailure_complete.js => toolkit/mozapps/update/tests/browser/browser_doorhanger_sp_patch_partialApplyFailure_complete_staging.js
2019-01-22 18:55:56 -08:00
Varun Dey 2b21744789 Bug 1519476 - Change reference of getParentProcessScalars to TelemetryTestUtils r=chutten
Changed the reference of getParentProcessScalars in test_TelemetryScalars.js

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

--HG--
extra : moz-landing-system : lando
2019-01-22 15:45:48 +00:00
Cosmin Sabou a90615efc4 Merge mozilla-central to autoland. 2019-01-22 05:59:58 +02:00
Cosmin Sabou 951d31e64d Merge mozilla-inbound to mozilla-central. a=merge 2019-01-22 05:56:10 +02:00
James Teh ee1ef24296 Bug 1518054: Move a11y focus event firing from richlistitem.current to richlistbox.currentItem to fix the All Downloads view. r=paolo
The All Downloads view removes and re-adds its richlistbox for performance reasons.
However, after bug 1492326, this causes the richlistitem's .current property to be assigned before its binding is applied.
Since the .current property fires a11y focus events, this means this property is overridden and thus the events never get fired for that item.
To fix this, move a11y focus event firing into richlistbox.currentItem.

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

--HG--
extra : moz-landing-system : lando
2019-01-22 02:08:26 +00:00
Razvan Maries c941c393cb Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-01-21 20:01:06 +02:00
Andrew Osmond bba2f124b6 Bug 1521478 - Update libwebp to v1.0.2. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D17110
2019-01-21 12:55:02 -05:00
Razvan Maries 299b5e79f7 Merge mozilla-inbound to mozilla-central a=merge 2019-01-21 19:50:56 +02:00
Emilio Cobos Álvarez 835a776787 Bug 1489440 - Disable autocomplete in the XUL autocomplete bindings. r=dao
With the patch above we do find the input element, and try to autocomplete it
normally, which confuses some tests.

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

--HG--
extra : moz-landing-system : lando
2019-01-21 21:54:26 +00:00
Ehsan Akhgari ea0beadb68 Bug 1516889 - Part 2: Make sure the storage access API prompt is denied when pressing Esc; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D16737
2019-01-21 11:23:22 -05:00
Ehsan Akhgari 1ac089291a Bug 1516889 - Part 1: Make sure browser_storageAccessDoorHanger.js passes by packaging its depenencies correctly; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D16736
2019-01-21 11:22:55 -05:00
Ciure Andrei eb5345d4eb Backed out 2 changesets (bug 1516889) for failing browser_storageAccessDoorHanger.js CLOSED TREE
Backed out changeset fe40c77b54b4 (bug 1516889)
Backed out changeset 95fee3425c55 (bug 1516889)
2019-01-21 17:48:11 +02:00
Ehsan Akhgari 4137a92662 Bug 1514340 - Part 2: Break out the content blocking related notifications into nsIWebProgressListener.onContentBlockingEvent(); r=baku,johannh
Differential Revision: https://phabricator.services.mozilla.com/D16052
2019-01-21 09:58:50 -05:00
Ehsan Akhgari 46e587fc36 Bug 1516889 - Part 2: Make sure the storage access API prompt is denied when pressing Esc; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D16737
2019-01-21 09:57:31 -05:00
Ehsan Akhgari 31ea61b3c2 Bug 1516889 - Part 1: Make sure browser_storageAccessDoorHanger.js passes by packaging its depenencies correctly; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D16736
2019-01-21 09:57:31 -05:00
Sylvestre Ledru 755a1a7c2f Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-01-21 14:49:22 +00:00
Emilio Cobos Álvarez 375a43132d Bug 1489440 - Fix nsFormFillController in presence of Shadow DOM. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D17121

--HG--
extra : moz-landing-system : lando
2019-01-21 14:29:16 +00:00
Ricky Rosario bbd0796d2c Bug 1508364 - New UI for Private Browsing with Search r=andreio
MozReview-Commit-ID: 4WSGpL5Gvde

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

--HG--
extra : moz-landing-system : lando
2019-01-21 20:14:26 +00:00
cowlesni 994165ff86 Bug 1517529 - Migrate safeMode dialog to Fluent for localization, r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D16987

--HG--
extra : moz-landing-system : lando
2019-01-21 21:51:10 +00:00
Tim Nguyen a41077218e Bug 1520924 - Remove 'update' XBL binding and convert strings to Fluent. r=paolo,flod
Differential Revision: https://phabricator.services.mozilla.com/D16982

--HG--
extra : moz-landing-system : lando
2019-01-21 21:40:52 +00:00
arthur.iakab 2ad2d8287a Backed out changeset 13f379946829 (bug 1508364) for functional ui test failures on private_browsing/test_about_private_browsing.py CLOSED TREE 2019-01-21 21:38:29 +02:00
Jon Coppeard a96229ddb3 Bug 1512749 - Convert JS::gcreason::Reason to enum class JS:GCReason r=jonco r=mccr8 2019-01-21 13:09:12 +00:00
Emilio Cobos Álvarez a116ffc192 Bug 1521212 - Unset visibility of the reset button instead of setting it to visible. r=Gijs
CSS visibility doesn't work like `display`. `visibility: visible` elements in a
`visibility: hidden` subtree still get shown.

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

--HG--
extra : moz-landing-system : lando
2019-01-21 12:58:41 +00:00
Andreas Tolfsen 497c69175e bug 1521385: toolkit: export ActorChild in global scope; r=Felipe
JS classes, unlike var or const, are not automatically made part
of the global scope in JSMs.  This makes it impossible to import
ActorChild this way:

	const {ActorChild} = ChromeUtils.import("resource://gre/modules/ActorChild.jsm", {});

By assigning the ActorChild class to this we work around this problem.

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

--HG--
extra : rebase_source : 88feda088b4e66a1166c7624d834e6a1565ced9b
extra : source : 4b6549b8a6012efa6a3b250b26fff7cf0d1ca564
2019-01-21 00:23:02 +00:00
Dorel Luca e658f2346a Backed out changeset 4b6549b8a601 (bug 1521385) for Android build bustage 2019-01-21 02:47:16 +02:00
Andreas Tolfsen 71ded3b272 bug 1521385: toolkit: export ActorChild in global scope; r=Felipe
JS classes, unlike var or const, are not automatically made part
of the global scope in JSMs.  This makes it impossible to import
ActorChild this way:

	const {ActorChild} = ChromeUtils.import("resource://gre/modules/ActorChild.jsm", {});

By assigning the ActorChild class to this we work around this problem.

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

--HG--
extra : moz-landing-system : lando
2019-01-21 00:23:02 +00:00
Cosmin Sabou 7ccc9d8b0b Merge mozilla-inbound to mozilla-central. a=merge 2019-01-19 11:57:49 +02:00
Razvan Maries 8123914263 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-01-21 19:58:38 +02:00
Ricky Rosario 562d5578fe Bug 1508364 - New UI for Private Browsing with Search r=andreio
MozReview-Commit-ID: 4WSGpL5Gvde

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

--HG--
extra : moz-landing-system : lando
2019-01-21 17:05:08 +00:00
Jan-Erik Rediger 6707b5594d Bug 1510988 - Make store name optional and default to "main" r=chutten
Depends on D16967

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

--HG--
extra : moz-landing-system : lando
2019-01-21 15:57:06 +00:00
Jan-Erik Rediger 1a76cfbf98 Bug 1510988 - Clearly document what the store name in snapshot APIs is for r=chutten
Depends on D16966

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

--HG--
extra : moz-landing-system : lando
2019-01-18 19:03:26 +00:00
Jan-Erik Rediger be7bd0ed26 Bug 1510988 - Make the clear flag optional in snapshot API r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D16966

--HG--
extra : moz-landing-system : lando
2019-01-18 19:00:36 +00:00
Jan-Erik Rediger 834f01e9f8 Bug 1519022 - Display rich data for archived event pings r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D17124

--HG--
extra : moz-landing-system : lando
2019-01-21 16:16:07 +00:00
Nan Jiang f4ff8ed880 Bug 1521499 - Add SEARCH_HANDOFF to event telemetry r=r1cky
Differential Revision: https://phabricator.services.mozilla.com/D17132

--HG--
extra : moz-landing-system : lando
2019-01-21 15:47:11 +00:00
Tim Nguyen 60a5143df0 Bug 1241885 - Implement support for -moz-window-dragging in GTK and remove toolkit toolbar-drag binding. r=dao,bzbarsky,stransky
The restriction preventing fullscreen windows from being dragged is removed.

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

--HG--
extra : moz-landing-system : lando
2019-01-18 22:42:24 +00:00
Edouard Oger f35506cf5d Bug 1518300 - Refactor CryptoUtils and add JWK/JWE methods to jwcrypto. r=rfkelly,tjr
Differential Revision: https://phabricator.services.mozilla.com/D15868

--HG--
extra : moz-landing-system : lando
2019-01-18 20:58:42 +00:00
Andreea Pavel 95431afe85 Backed out 1 changesets (bug 1241885) for build bustages on a CLOSED TREE
Backed out changeset 176be7000d33 (bug 1241885)
2019-01-18 23:49:55 +02:00
Greg Tatum 7042c8f1c3 Bug 1520526 - Add categories to all profiler markers; r=mstange
This commit adds categories to all markers. This way the profiler's
marker categories and frame label categories agree. There are a few
duplicate category properties on some of the marker payloads, but
this could be cleaned up in a follow-up if needed.

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

--HG--
extra : moz-landing-system : lando
2019-01-18 15:40:15 +00:00
Tim Nguyen 495df7ddea Bug 1241885 - Implement support for -moz-window-dragging in GTK and remove toolkit toolbar-drag binding. r=dao,bzbarsky,stransky
The restriction preventing fullscreen windows from being dragged is removed.

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

--HG--
extra : moz-landing-system : lando
2019-01-18 16:51:08 +00:00
Tim Nguyen 993aa144a0 Bug 1520661 - Stop using XUL grid layout in update binding. r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D16763

--HG--
extra : moz-landing-system : lando
2019-01-18 11:49:33 +00:00
Margareta Eliza Balazs 0ba2ee586d Backed out changeset 92c56dcf69b8 (bug 1512949) for mochitest failures setup | Login to delete is defined: login0 - false == true - got false, expected true (operator ==) CLOSED TREE 2019-01-18 14:19:05 +02:00
Mark Striemer 8a76052bac Bug 1515685 - Part 2: Convert about:addons gear menu to <button> r=dao
Differential Revision: https://phabricator.services.mozilla.com/D15121

--HG--
extra : moz-landing-system : lando
2019-01-18 10:44:50 +00:00
Mark Striemer 188717212b Bug 1515685 - Part 1: Remove menulist style overrides for button[type="menu"] r=dao
Differential Revision: https://phabricator.services.mozilla.com/D16751

--HG--
extra : moz-landing-system : lando
2019-01-18 10:44:50 +00:00
vinoth 5d09ad138e Bug 1512949 - Remove eval from tests and flip assertion flag r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D14054

--HG--
extra : moz-landing-system : lando
2019-01-15 13:11:19 +00:00
Margareta Eliza Balazs ec14417cc3 Merge inbound to mozilla-central. a=merge 2019-01-18 11:40:07 +02:00
Margareta Eliza Balazs 7ebb432ccd Merge autoland to mozilla-central. a=merge 2019-01-18 11:37:46 +02:00
Thomas Wisniewski c92f477508 Bug 1513541 - Ensure system addons are not accidentally started on start-up even if their about:config preferences are off; r=kmag
Ensure system addons are not accidentally started on start-up even if their about:config preferences are off.

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

--HG--
extra : moz-landing-system : lando
2019-01-18 04:49:19 +00:00
Jorg K 1b8eb1c621 Bug 1520944 - add missing include of WindowProxyHolder.h to SessionStoreUtils.cpp. r=mccr8 a=RyanVM 2019-01-18 00:26:04 +01:00
Csoregi Natalia a56ec21b2b Merge inbound to mozilla-central. a=merge 2019-01-17 23:54:34 +02:00
Aaron Klotz ce3866a774 Bug 1520537: Clean up use of LauncherRegistryInfo when MOZ_LAUNCHER_PROCESS is not defined; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D16914

--HG--
extra : moz-landing-system : lando
2019-01-17 23:45:37 +00:00
Bogdan Tara 45f056b544 Backed out changeset a0be6d91b302 (bug 1502921) for toolkit/components/telemetry/tests/unit/*(eg. test_SubsessionChaining.js, test_TelemetryController.js) failures CLOSED TREE 2019-01-18 01:43:52 +02:00
Michael Kaply 4b7040c7b5 Bug 1506950 - Properly block mozAddonManager based on xpinstall.enabled r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D11806

--HG--
extra : moz-landing-system : lando
2019-01-17 23:04:18 +00:00
Jonathan Kingston c3cdc8746c Bug 1520862 - Fixing WebNavigation serialization of principals to always be present. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D16884

--HG--
extra : moz-landing-system : lando
2019-01-17 18:50:40 +00:00
Stefan Hindli 3cc58d362f Bug 1512741 - disable test_ext_userScripts.js on Android debug for frequent failures. r=jmaher 2019-01-17 08:59:00 +02:00
shindli 61be1145c0 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-17 18:19:22 +02:00
shindli a2bd3a1afa Merge inbound to mozilla-central. a=merge 2019-01-17 18:13:41 +02:00
Andrea Marchesini 91431779d9 Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi 2019-01-17 12:30:27 +01:00
Marco Bonardo de59370b24 Bug 1514780 - Use the Quantum Bar tokenizer in UnifiedComplete. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D16676

--HG--
extra : moz-landing-system : lando
2019-01-17 11:26:29 +00:00
Brindusan Cristian f9b94dc137 Backed out changeset cf370ec3969a (bug 1516133) for mochitest assertion failures. CLOSED TREE 2019-01-17 12:51:13 +02:00
Andrea Marchesini b944a79f8a Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi 2019-01-17 09:33:25 +01:00
Shane Caraveo 9f5b5d913a Bug 1489531 Expose telemetry client_id header to about:addons r=aswan
m-c patch to add header to request on about:addons

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

--HG--
extra : moz-landing-system : lando
2019-01-17 17:48:32 +00:00
Johann Hofmann 0ecba2db7d Bug 1483440 - Part 4 - Don't send purge-domain-data when cleaning up site preferences. r=baku
As far as I can tell this was only ever done to give legacy add-ons the chance to
clean up user data and isn't needed anymore (and had the strange side effect that e.g.
localStorage was cleared when removing the site zoom settings).

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

--HG--
extra : moz-landing-system : lando
2019-01-17 17:41:30 +00:00
Johann Hofmann 43ac055f78 Bug 1483440 - Part 3 - Use purge-localStorage instead of purge-domain-data to clean up localStorage. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D16462

--HG--
extra : moz-landing-system : lando
2019-01-17 17:41:28 +00:00
Johann Hofmann 69b829d9b9 Bug 1483440 - Part 2 - Don't use purge-domain-data to clear session history for a domain. r=mikedeboer,baku
Differential Revision: https://phabricator.services.mozilla.com/D16461

--HG--
extra : moz-landing-system : lando
2019-01-17 17:41:23 +00:00
Varun Dey ef0ef45dff Fix Bug 1419109 - Empty default icon shows blank icon in toolbar r=mixedpuppy
If the extension had either default_icon or one of it's property as an empty string, it would show a black icon in the toolbar. With this patch, it checks if any of default_icon property is empty and throws an error on extension load.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 18:52:00 +00:00
Dimi Lee fb9287376a Bug 1501974 - Add keyed telemetry to know the download protection remote lookup result . r=francois
Add APPLICATION_REPUTATION_SERVER_VERDICT_2 telemetry with file extension as the key.
This can give us an idea about the current detecion rate for archived
files.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 20:39:53 +00:00
Dimi Lee 632a821b8a Bug 1501458 - Remove unused tracking protection code from nsUrlClassifierDBService. r=baku
No one is using the aUseTrackingProtection parameter and also tracking
protection related preference in Classify API. And we shouldn't use it
that way in the future.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 21:24:43 +00:00
Csoregi Natalia 184a7aae44 Merge mozilla-central to autoland. CLOSED TREE 2019-01-17 23:57:04 +02:00
Mike Hommey c98dd02e0b Bug 1520681 - Use proper defaults for --enable-default-toolkit. r=froydnj
Back when those were added, option defaults could not indirectly depend
on `target` or `host`, but that changed with bug 1322025.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 16:04:29 +00:00
Bogdan Tara 49bf435109 Backed out changeset ee03992cef6e (bug 1519762) for test_ext_downloads_search.js failures CLOSED TREE 2019-01-17 23:28:34 +02:00
Mark Striemer d1493d05da Bug 1502921 - Record telemetry environment data about locales r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D15990

--HG--
extra : moz-landing-system : lando
2019-01-17 21:09:03 +00:00
shindli a082a36cea Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-17 11:58:24 +02:00
Tom Tung a4b7f90f3f Bug 1436188 - Add telemetry probes to collect the number of failures during the QuotaManager initialization; r=asuth, data-review=chutten
This patch uses categorical keyed Historgram to collect data. While the key is
used to determine whether is it an external error or an internal error (Note:
the external error is referred to low level failure, for example: database
corrupt, OS API errors, ... etc; the internal error is referred to errors, like:
not handle file properly, unexpected filenames, ... etc), the labels for
categorical indicates where the error happens.
Furthermore, this patch make QuotaManager keep traversing the profile even if
an error happens so that we can get more information in the telemetry data.
Please note that these things should only happen in the Nightly Channel.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 17:12:27 +00:00
Drew Willcoxon 804709c386 Bug 1520668 - Make UnifiedComplete set the default index before adding search @alias autofill matches. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D16767

--HG--
extra : moz-landing-system : lando
2019-01-17 13:24:51 +00:00
shindli abe957e319 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-17 18:17:19 +02:00
Alphan Chen 58400124a1 Bug 1497146 part 2 - Convert FormData.jsm to C++ [collect() part] r=nika,peterv,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D12112

--HG--
extra : moz-landing-system : lando
2019-01-17 14:56:51 +00:00
Alphan Chen 5d28867416 Bug 1497146 part 1 - Add SessionStoreUtils.webidl r=nika
Let SessionStoreUtils be a WebIDL namespace, rather than a XPCOM service

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

--HG--
rename : toolkit/components/sessionstore/nsSessionStoreUtils.cpp => toolkit/components/sessionstore/SessionStoreUtils.cpp
extra : moz-landing-system : lando
2019-01-17 14:58:31 +00:00
Dimi Lee 6e69465ce8 Bug 1435923 - Fix truncated logging of remote lookup protocol buffer. r=gcp
Fix the truncate issue when output the protocol buffer

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

--HG--
extra : moz-landing-system : lando
2019-01-17 12:38:04 +00:00
arthur.iakab 8098d0047a Merge mozilla-central to autoland 2019-01-17 06:22:18 +02:00
arthur.iakab 48fa943d27 Merge inbound to mozilla-central a=merge 2019-01-17 06:21:08 +02:00
Noemi Erli 08de9eb7f1 Backed out changeset 1293016267a7 (bug 599233) for failing in browser_preferences.js
--HG--
rename : toolkit/mozapps/update/tests/chrome/update.sjs => toolkit/mozapps/update/tests/data/update.sjs
2019-01-17 02:02:32 +02:00
Mike Hommey 19f8d4666d Bug 1520677 - Remove unnecessary --help dependencies in python configure. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D16777

--HG--
extra : moz-landing-system : lando
2019-01-17 03:34:54 +00:00
Andrea Marchesini 2f54dc921b Bug 1520519 - Cleanup nsUrlClassifierDBService::Lookup method, r=dimi 2019-01-16 22:49:26 +01:00
Robert Strong fa80d81a6d Bug 599233 - add about dialog app update tests. r=mhowell
Adds disabledForTesting checks to the about dialog app update code
Makes a copy of update.sjs for browser-chrome tests so the changes don't break chrome tests
Prepares for the removal of the chrome tests and the old app update UI
Adds 14 tests for app update in the about dialog

--HG--
rename : toolkit/mozapps/update/tests/data/update.sjs => toolkit/mozapps/update/tests/browser/app_update.sjs
rename : toolkit/mozapps/update/tests/data/update.sjs => toolkit/mozapps/update/tests/chrome/update.sjs
2019-01-16 13:21:55 -08:00
Robert Strong 55bdeb26e6 Bug 1515075 - Build failure: Error in script maintenanceservice_installer.nsi on line 184 -- aborting creation process. r=mshal
Prevents the build failure by copying files for maintenanceservice_installer.nsi just as is done for other installers
2019-01-16 10:16:30 -08:00
Dragana Damjanovic 08382f397b Bug 1515390 - Make memory reporter tests work with the socket process. r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D15022

--HG--
extra : moz-landing-system : lando
2019-01-16 22:24:57 +00:00
Dragana Damjanovic fc155bc720 Bug 1513059 - Use the minimal XPCOM for the socket process.r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D15024

--HG--
extra : moz-landing-system : lando
2019-01-16 23:05:11 +00:00
Gabriele Svelto bb6e8482fb Bug 1315935 - Remove the NumberOfProcessors crash annotation because it is redundant r=ted
Differential Revision: https://phabricator.services.mozilla.com/D16688

--HG--
extra : moz-landing-system : lando
2019-01-16 17:01:43 +00:00
Aaron Klotz 30c3846994 Bug 1520617: LauncherRegistryInfo - when the image timestamp changes, only avoid clearing start timestamps when force disabled; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D16752

--HG--
extra : moz-landing-system : lando
2019-01-16 22:05:54 +00:00
Aaron Klotz 651a455c89 Bug 1520537: Always export LauncherResult.h in Windows builds; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D16731

--HG--
extra : moz-landing-system : lando
2019-01-16 21:00:12 +00:00
Dragana Damjanovic 81b7d74f4a Bug 1520260 - Collect *_KBREAD_PER_CONN on release as well. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D16616

--HG--
extra : moz-landing-system : lando
2019-01-16 09:21:53 +00:00
Alastor Wu ea15b9bab4 Bug 1520088 - part4 : modify test. r=cpearce
Differential Revision: https://phabricator.services.mozilla.com/D16581

--HG--
extra : moz-landing-system : lando
2019-01-16 02:17:56 +00:00
ui.manish 37bbffd19c Bug 1346298 Update or Remove Telemetry Probe: SSL_OBSERVED_END_ENTITY_CERTIFICATE_LIFETIME r=jcj
Differential Revision: https://phabricator.services.mozilla.com/D16631

--HG--
extra : moz-landing-system : lando
2019-01-16 19:35:05 +00:00
Mark Striemer d3c8bbc9bc Bug 1516768 - Put a border on add-on cards in high contrast mode r=dao
Differential Revision: https://phabricator.services.mozilla.com/D16520

--HG--
extra : moz-landing-system : lando
2019-01-16 12:38:42 +00:00
Tom Tung 8b3ce8ef6b Bug 1432133 - P1 - Returning an error when FileInfo is missing as a short-term fix; r=asuth, data-review=chutten
Differential Revision: https://phabricator.services.mozilla.com/D16045

--HG--
extra : moz-landing-system : lando
2019-01-16 10:24:56 +00:00
ui.manish 19e7ad0b3b Bug 1514300 - Remove unused defines in toolkit/themes/osx/global/shared.inc r=dao
Differential Revision: https://phabricator.services.mozilla.com/D16627

--HG--
extra : moz-landing-system : lando
2019-01-16 09:36:54 +00:00
Tim Nguyen 60d968c434 Bug 1491607 - Get rid of --in-content-category-text variable. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D5967

--HG--
extra : moz-landing-system : lando
2019-01-15 21:56:04 +00:00
Sylvestre Ledru 47a5dd1fb8 Bug 1519636 - Reformat everything to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-01-16 08:50:07 +00:00
Luca Greco f873276519 Bug 1480943 - Fix browser_webapi_theme.js TV failure. r=robwu
This patch contains a small change needed to fix the browser_webapi_theme.js
failures when it runs more then once in a row (e.g. when running in TV mode).

The reason for the failure is that, when running the test more then once,
by installing a new webextension theme we first receive a
"lightweight-theme-styling-update" observer notification message related
to the unloading on the previous theme, from the ext-theme's static unload
method:

- https://searchfox.org/mozilla-central/rev/b29663c6c9c61b0bf29e8add490cbd6bad293a67/toolkit/components/extensions/parent/ext-theme.js#354-356,368-370

And then another "lightweight-theme-styling-update" message related
to the loading on the new theme, from the ext-theme's load
method:

- https://searchfox.org/mozilla-central/rev/b29663c6c9c61b0bf29e8add490cbd6bad293a67/toolkit/components/extensions/parent/ext-theme.js#101-103,119-121

To fix the failure on TV, this patch ensures that the webextension theme is
uninstalled before exiting the test.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 12:03:48 +00:00
Jan-Erik Rediger fcac6b1172 Bug 1510566 - Document that use counters are enabled on release r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D16715

--HG--
extra : moz-landing-system : lando
2019-01-16 16:59:40 +00:00
Timothy Guan-tin Chien 23f97d18fe Bug 1519917 - Consider <menulist> with sizetopopup unset equal to sizetopopup="pref" r=NeilDeakin
sizetopopup is set to "pref" by default by the menulist XBL binding, however
when converting the binding to custom element, it did not set the attribute value
at a time that is early enough.

This patch updates nsMenuPopupFrame and nsMenuFrame so that it considers
<menulist> with unset sizetopopup attribute as equal to "pref" to avoid
the problem above.

This reftest
layout/reftests/xul/menulist-shrinkwrap-2.xul
can detect this failure.

The sizetopopup attribute is never meant to be set dynamically;
the fix here does not allow us to do so.

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

--HG--
extra : moz-landing-system : lando
2019-01-16 16:30:45 +00:00
Gijs Kruitbosch 0f0796c9c5 Bug 1458046 - avoid remote updates when the browser is not active and fix editcontrols_update test, r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D16626

--HG--
extra : moz-landing-system : lando
2019-01-16 16:20:43 +00:00
Michael Kaply 8e0dcc0e08 Bug 1518326 - Sanity check US region against timezone. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D16073

--HG--
extra : moz-landing-system : lando
2019-01-15 22:16:52 +00:00
Carl Corcoran 19fbaf478f Bug 1518798: Treat SysWOW64 the same as the system directory in the untrusted modules ping r=aklotz
Under WOW64, the SysWOW64 directory is the effective system directory. A flag
has been added (ModuleTrustFlags::SysWOW64Directory) representing this
directory, and we now grant this the same trustworthiness as
ModuleTrustFlags::SystemDirectory.

Depends on D16013

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

--HG--
extra : moz-landing-system : lando
2019-01-14 23:53:13 +00:00
Carl Corcoran 46cb3715b2 Bug 1518490 Part 3/3: Send XUL load duration and module load duration via untrusted modules ping r=aklotz
This patch:
- Adds two new fields to the untrusted modules ping
- Updates documentation for the untrusted modules ping:
  - Documents these 2 new fields
  - Documents the new XUL ModuleTrustFlags bitfield value
  - Adds a "version history" section
  - Corrects documentation for ModuleTrustFlags (JIT, keyboard layouts)

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

--HG--
extra : moz-landing-system : lando
2019-01-15 22:30:54 +00:00
Carl Corcoran 9315656cb2 Bug 1518490 Part 2/3: Measure xul.dll load duration r=aklotz
In order to help unify DLL timings across machines with different performance
characteristics, this change collects the load duration of xul.dll.

Because xul.dll is always loaded, it can serve as a control value for DLL load
times.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 22:29:28 +00:00
Carl Corcoran 63ba2c68d7 Bug 1518490 Part 1/3: Measure DLL load timings and pass into UntrustedModulesManager r=aklotz
This patch measures the duration of module loads and passes it up to
UntrustedModulesManager where, in later patches, it will be consumed by
telemetry.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 10:49:36 +00:00
Victor Porof 86d7401fa8 Bug 1507704 - Migrate the columnpicker binding into a custom element, r=bgrins 2019-01-14 09:38:24 +01:00
Ted Mielczarek 3ca4c1c35e bug 1459991 - embed Rust's natvis files into xul.pdb on Windows. r=froydnj
Rust ships with some natvis files that enable nicer display of Rust standard
library types in Microsoft's debuggers. rustc will add the right linker
options to include them when it invokes the linker but since we don't link
libxul with rustc we need to explicitly pass them to the linker ourselves.

This change locates all natvis files in the Rust sysroot and adds them
to the libxul link line.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 13:56:07 +00:00
Chris Manchester 3d131be6a9 Bug 1507631 - Remove mentions of MOZ_SIGN_CMD from the build system. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D16754

--HG--
extra : moz-landing-system : lando
2019-01-16 22:46:38 +00:00
Andrew Swan 4c984ce62c Bug 1519762 Fix a regression with browser.downloads.search() r=kmag
The fixes in bug 1503760 inadvertently broke searches of downloads that
have not yet started receiving data (which have a value of -1 for the
totalBytes property).  That regression is fixed here.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 19:20:58 +00:00
Daniel Varga c4bdfad8bd Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-01-16 06:56:15 +02:00
Daniel Varga 55006aaaec Merge mozilla-inbound to mozilla-central. a=merge 2019-01-16 06:49:11 +02:00
Cameron McCormack cc5d047c75 Bug 1519737 - Move pluginProblemBinding.css to the UA style sheet cache. r=emilio,timdream
Differential Revision: https://phabricator.services.mozilla.com/D16430

--HG--
rename : toolkit/pluginproblem/content/pluginProblemBinding.css => layout/style/res/pluginproblem.css
extra : moz-landing-system : lando
2019-01-16 03:37:43 +00:00
Dorel Luca de46e66fcd Backed out changeset a85699150a8b (bug 1519737) for browser chrome failure in browser/base/content/test/static/browser_parsable_css.js
--HG--
rename : layout/style/res/pluginproblem.css => toolkit/pluginproblem/content/pluginProblemBinding.css
2019-01-16 03:25:22 +02:00
Junior Hsu c54c918b66 Bug 1510979 - add a telemetry xpcshell-test for socket process r=janerik
We need a test-only IPC message to socket process to trigger the Telemetry::Scalar set since no js engine in the socket process.
And hook the IPC call to AddPendingEvent |CallOrWaitSocketProcess| introduced by bug 1496257.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 23:15:38 +00:00
Aaron Klotz 59d279f51f Bug 1517636: Follow-up - fix eslint error; r=bustage 2019-01-15 17:39:18 -07:00
Aaron Klotz 15a43729b0 Bug 1517636: Add launcher process state to about:support; r=Felipe,flod
Differential Revision: https://phabricator.services.mozilla.com/D15759

--HG--
extra : moz-landing-system : lando
2019-01-16 00:22:19 +00:00
Aaron Klotz d94ad01215 Bug 1511080: Add launcher process pref and enable reflection to/from the registry; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D15757

--HG--
extra : moz-landing-system : lando
2019-01-15 23:14:49 +00:00
Aaron Klotz 99ef8003dd Bug 1511078: Add LauncherRegistryInfo as a temporary mechanism for runtime disabling of launcher process; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D15756

--HG--
rename : browser/app/winlauncher/NativeNt.h => mozglue/misc/NativeNt.h
rename : browser/app/winlauncher/test/TestNativeNt.cpp => mozglue/tests/TestNativeNt.cpp
rename : browser/app/winlauncher/LauncherResult.h => toolkit/xre/LauncherResult.h
extra : moz-landing-system : lando
2019-01-15 23:10:00 +00:00
Aaron Klotz d56e504ec2 Bug 1517642: Make the installer and updater disable the launcher process by default on beta and release; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D15758

--HG--
extra : moz-landing-system : lando
2019-01-16 00:06:39 +00:00
Mike Hommey 5215f57b1d Bug 1520108 - Move MOZ_CONFIGURE_OPTIONS to toolkit/moz.configure. r=froydnj
It is only used to fill about:buildconfig.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 15:28:00 +00:00
Jeff Muizelaar 83096ed533 Bug 1520330. Split out NoVsync into two different scenarios. r=mattwoodrow
Currently there are two conditions where CONTENT_FRAME_TIME_REASON can
be NoVsync. Since, were getting an appreciable amount of these with
WebRender it makes sense to split out the telemetry so that we can
confirm which scenario we're hitting.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 22:33:25 +00:00
Mike Conley d845c30b3b Bug 1519893 - Test the alwaysOnTop feature for Windows. r=aklotz
These tests make sure that passing alwaysOnTop as a window feature
results in a window with WS_EX_TOPMOST, and also ensures that web
content cannot request alwaysOnTop windows.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 22:29:21 +00:00
Mike Conley 7e920fe573 Bug 1519893 - Add alwaysOnTop chrome-only window feature for Windows. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D16486

--HG--
extra : moz-landing-system : lando
2019-01-15 22:29:59 +00:00
Dave Townsend 2a868a112b Bug 1520151: Fix ASAN builds. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D16606

--HG--
extra : moz-landing-system : lando
2019-01-15 22:09:33 +00:00
Mark Striemer 7bf0bdbeab Bug 1519616 - Clear theme preview for themes that don't have previews r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D16594

--HG--
extra : moz-landing-system : lando
2019-01-15 21:39:04 +00:00
Coroiu Cristina d263400b1c Backed out 2 changesets (bug 1511078) for build bustages at Unified_cpp_toolkit_xre0.obj
Backed out changeset 61a47d6d5e26 (bug 1511078)
Backed out changeset 006df494925a (bug 1511078)

--HG--
rename : toolkit/xre/LauncherResult.h => browser/app/winlauncher/LauncherResult.h
rename : mozglue/misc/NativeNt.h => browser/app/winlauncher/NativeNt.h
rename : mozglue/tests/TestNativeNt.cpp => browser/app/winlauncher/test/TestNativeNt.cpp
2019-01-15 23:15:50 +02:00
Coroiu Cristina 4ace3317ba Backed out changeset 4ebefe9136b5 (bug 1511080) for build bustage 2019-01-15 23:13:01 +02:00
Mark Striemer 6cdf797983 Bug 1519616 - Explicitly clear theme preview on details for non-themes r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D16589

--HG--
extra : moz-landing-system : lando
2019-01-15 19:55:21 +00:00
Cameron McCormack f11cf08512 Bug 1519737 - Move pluginProblemBinding.css to the UA style sheet cache. r=emilio,timdream
Differential Revision: https://phabricator.services.mozilla.com/D16430

--HG--
rename : toolkit/pluginproblem/content/pluginProblemBinding.css => layout/style/res/pluginproblem.css
extra : moz-landing-system : lando
2019-01-14 21:51:59 +00:00
Aaron Klotz 8c0ca384fa Bug 1517637: Add launcher process state to crash report annotations; r=mhowell
Depends on D15759

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

--HG--
extra : moz-landing-system : lando
2019-01-09 23:36:38 +00:00
Arjun Krishna Babu fd697b042d Bug 1519933 - Remove :not([alone]) from .popup-notification-primary-button selector; r=dao
Differential Revision: https://phabricator.services.mozilla.com/D17381

--HG--
extra : moz-landing-system : lando
2019-01-23 17:28:12 +00:00
Ciure Andrei cd0990c959 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-23 20:53:05 +02:00
Jared Wein b12a0d294c Bug 1521170 - Add a rule that prevents calling some Array and String accessor methods without using the return value. r=Standard8,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D17020

--HG--
extra : moz-landing-system : lando
2019-01-23 17:03:32 +00:00
Ehsan Akhgari 9efcce8bbb Bug 1509112 - Consider the content frame sitting directly beneath a moz-extension frame that has a host permission granting access to that frame as a top-level frame; r=kmag,baku
Differential Revision: https://phabricator.services.mozilla.com/D14832

--HG--
extra : moz-landing-system : lando
2019-01-23 14:55:49 +00:00
Aaron Klotz 76125849c6 Bug 1511080: Add launcher process pref and enable reflection to/from the registry; r=mhowell
Depends on D15756

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

--HG--
extra : moz-landing-system : lando
2019-01-09 23:35:25 +00:00
Aaron Klotz 64310051e7 Bug 1511078: Add LauncherRegistryInfo as a temporary mechanism for runtime disabling of launcher process; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D15756

--HG--
rename : browser/app/winlauncher/NativeNt.h => mozglue/misc/NativeNt.h
rename : browser/app/winlauncher/test/TestNativeNt.cpp => mozglue/tests/TestNativeNt.cpp
rename : browser/app/winlauncher/LauncherResult.h => toolkit/xre/LauncherResult.h
extra : moz-landing-system : lando
2019-01-15 20:19:46 +00:00
Andreas Tolfsen c34e8d40b6 bug 1520228: toolkit: improve error description when ActorChild is missing EventTarget; r=Felipe
When an ActorChild is predefined to listen for DOM events and it
does not implement EventTarget.handleEvent(), a standard JS error is
thrown in toolkit/modules/ActorManagerChild.jsm that the handleEvent
property is missing.

If you have more than one ActorChild this error message is cryptic as
it does not refer to _which_ of the children that is missing handleEvent.

This patch introduces a type check for handleEvent that throws an
error (as before) when it is not implemented.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 18:10:33 +00:00
dlee cb7ce369ed Bug 1513490 - Support update cryptomining and fingerprinting list in SafeBrowsing. r=gcp
Add the fingerprinting and cryptomining tables to the SafeBrowsing
update list.
Leave the preference of blacklist/whitelist tables empty until the
shavar server is ready.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 19:29:49 +00:00
Dimi Lee 008ab261fd Bug 1513490 - Refactor SafeBrowsing.jsm with feature list. r=gcp
When we add a table to SafeBrowsing.jsm we need to add related code in
various places. This patch simplify the work by providing a FEATURE
table which defines the data required.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 20:04:40 +00:00
Dave Townsend af79c239e7 Bug 1520139: Make sure nsXREDirProvider can find commonupdatedir.h regardless of whether the updater is enabled. r=froydnj
When the updater is disabled toolkit/mozapps/update/common is not traversed as
part of the build. But toolkit/mozapps/update/common/commonupdatedir.cpp is
included in the toolkit/xre build regardless and GetInstallHash is used. This
makes nsXREDirProvider.cpp able to find the header that defines it.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 18:29:22 +00:00
Mark Striemer 19fb7b37fe Bug 1520164 - Include a fallback icon for extension shortcuts r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D16579

--HG--
extra : moz-landing-system : lando
2019-01-15 18:01:46 +00:00
Michael Kelly 28e4764f00 Bug 1509888: Remove Browser Error Collection. r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D15879

--HG--
extra : moz-landing-system : lando
2019-01-15 18:04:28 +00:00
Cosmin Sabou 1558607307 Backed out 6 changesets (bug 1514806) for causing windows 2012 opt repack bustages.
Backed out changeset 63debb1d02d3 (bug 1514806)
Backed out changeset 803d20ba3f80 (bug 1514806)
Backed out changeset 3b95c5d8466d (bug 1514806)
Backed out changeset eb09e108a439 (bug 1514806)
Backed out changeset 6a738993de29 (bug 1514806)
Backed out changeset 303b19a8b923 (bug 1514806)

--HG--
rename : other-licenses/7zstub/firefox/7zSD.win32.manifest => other-licenses/7zstub/firefox/7zSD.manifest
rename : other-licenses/7zstub/firefox/7zSD.Win32.sfx => other-licenses/7zstub/firefox/7zSD.sfx
2019-01-15 19:17:09 +02:00
Bogdan Tara 7b951cf2bc Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-15 18:12:37 +02:00
Bogdan Tara e94442500f Merge inbound to mozilla-central. a=merge 2019-01-15 18:09:48 +02:00
Tarek Ziadé 5b8e30faac Bug 1519038 - Fixing Assertion failure: IsIdle(oldState) r=baku
Differential Revision: https://phabricator.services.mozilla.com/D16529

--HG--
extra : moz-landing-system : lando
2019-01-15 13:20:17 +00:00
Matt Howell f8a790571f Bug 1514806 Part 6 - Disable running UPX in the installer package for targets it doesn't support. r=firefox-build-system-reviewers,mshal#firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D15984

--HG--
extra : moz-landing-system : lando
2019-01-14 21:59:06 +00:00
Oana Pop Rus c42c2ac75f Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-15 11:39:31 +02:00
Alastor Wu c3c5cb9cdf Bug 1506290 - part2 : add test. r=cpearce
Differential Revision: https://phabricator.services.mozilla.com/D15451

--HG--
extra : moz-landing-system : lando
2019-01-14 23:47:35 +00:00
Mark Banner 34b072b8e1 Bug 1519812 - toolkit/content/tests/browser/browser_autoplay* tests should be marked as the 'Audio/Video: Playback' component. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D16451

--HG--
extra : moz-landing-system : lando
2019-01-14 19:00:38 +00:00
Brian Grinstead cdd4391679 Bug 1519461 - Don't return values from docShellIsActive, renderLayers, and userTypedValue setters;r=mconley
This is more consistent with other setters, and lets us handle the null frameLoader
case a bit more simply.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 20:36:25 +00:00
Brian Grinstead cdd04b8d1b Bug 1519461 - Unify the hasLayers getter to use the same frameLoader check as renderLayers and docShellIsActive;r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D16369

--HG--
extra : moz-landing-system : lando
2019-01-14 20:36:23 +00:00
Brian Grinstead 7fb9763db0 Bug 1519461 - Check for frameLoader existence before accessing it in docShellIsActive;r=mconley
Alternatively, we could check for mInitialized in `AsyncTabSwitcher.logState` before accessing
the getter. But this matches an existing pattern for other browser getters that rely on the
frameLoader existing, and will support other callers that hit this case.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 20:36:16 +00:00
Kaio Augusto de Camargo 18f2aa68a5 Bug 1513496 - Stop logging failure warnings if the scalar is expired. r=chutten
Currently, when operating with scalars, if a call to internal_GetScalarByEnum (or its keyed variant) return an error, then a warning will be logged. If one of the requested scalars is expired, this could lead to an unwated flood of logs. With this change, the return of the function is checked, and if it is NS_ERROR_NOT_AVAILABLE (i.e. expired scalar), then no warning is issued.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 18:33:13 +00:00
Dave Townsend 961eb5b518 Bug 1518591: Make the profile service responsible for protecting against downgrading to builds before dev-edition had a separate profile. r=froydnj
Because older versions of Firefox auto-select a profile if there is only one in
the database when running dev-edition which uses its own profile we create a
default for normal channels to use. Currently the browser code is responsible
for doing this but it uses a bad heuristic for deciding when to do that. It's
much easier to do it from the profile manager when the dev-edition profile is
created.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 21:15:53 +00:00
Dave Townsend 55dc7cb4db Bug 1518587: Move startup profile selection to nsToolkitProfileService. r=froydnj
Currently nsAppRunner is responsible for choosing or creating a profile to use
at startup. It then has to create a reset profile if necessary and lock the
selected profile directories. But these latter things are done in different
places of the selection code and done in different ways, sometimes we delay
while trying to get the lock, sometimes we don't.

This patch moves the profile selection part of the code to its own function so
that then we only have to have one place that does the profile reset and
locking logic.

It makes a lot of sense to have the selection code live in the profile service.
It can use information from the database load to help make the choices and it
also means that we can expose the profile selection code through xpcom allowing
it to be easily automatically tested. It will also be more important for future
patches for the dedicated profiles feature.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 17:27:34 +00:00
Csoregi Natalia 4a86022f41 Merge mozilla-central to autoland. CLOSED TREE 2019-01-14 19:19:46 +02:00
John Lin 4784690b43 Bug 1516089 - Remove inset and outset class from global.css r=dao
Differential Revision: https://phabricator.services.mozilla.com/D16439

--HG--
extra : moz-landing-system : lando
2019-01-14 16:19:00 +00:00
Csoregi Natalia 438136eb9e Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-01-14 12:46:01 +02:00
James Teh 5dc4d81ca1 Bug 1514687 - Allow accessibility code to focus XUL radio buttons without selecting them. r=bgrins,smaug,MarcoZ,paolo
1. This requires exposing radiogroup's focusedItem property to C++.
Unfortunately, there's no existing equivalent in nsIDOMXULSelectControlItemElement.
radiogroup is the only element that needs this, so a new interface has been created for it.

2. Accessibility uses focusedItem instead of selectedItem when setting focus.

3. When an item is focused, accessibility needs to be notified.
This is done using a DOMMenuItemActive event.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 04:52:50 +00:00
Coroiu Cristina 9624fd7043 Backed out changeset a3bbf490ea41 (bug 1419109) for browser-chrome failures at browser/test-oop-extensions/browser_ext_browserAction_pageAction_icon_permissions.js 2019-01-13 18:51:03 +02:00
Dimi Lee dcc7462a9b Bug 1519660 - Remove flash info bar from SafeBrowsing list. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D16397

--HG--
extra : moz-landing-system : lando
2019-01-14 15:47:23 +00:00
Mark Striemer 890829b813 Bug 1303384 - Part 3: Manage extension shortcuts page r=aswan,Gijs,flod
MozReview-Commit-ID: KeZsoB6qj88

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

--HG--
extra : moz-landing-system : lando
2019-01-12 06:45:17 +00:00
Mark Striemer 50cfffaeaa Bug 1303384 - Part 2: Move some extension shortcut utils to ShortcutUtils r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D4506

--HG--
extra : moz-landing-system : lando
2019-01-11 22:32:39 +00:00
Mark Striemer 0fc4897c74 Bug 1303384 - Part 1: Extract extension commands management to a module r=aswan
MozReview-Commit-ID: E1RTINVtrbQ

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

--HG--
extra : moz-landing-system : lando
2019-01-11 22:32:28 +00:00
David Major 9ed87684ba Bug 1484835 - Extend the Windows JIT unwind handler to ARM64 r=luke
Because the .xdata format on ARM64 can only encode sizes up to 1M (much too small for our JIT code regions), we register a function table callback to provide RUNTIME_FUNCTIONs at runtime. Windows doesn't seem to care about the size fields on RUNTIME_FUNCTIONs that are created in this way, so the same RUNTIME_FUNCTION can work for any address in the region. We'll set up a generic one in RegisterExecutableMemory and the callback can just return a pointer to it.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 14:06:24 +00:00
Tarek Ziadé c9ddafea1f Bug 1406872 - Remove perf monitoring code - r=jandem,Gijs
This patch removes the StopWatch code that was used in the first version of
about:performance, and not being used anymore.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 14:09:09 +00:00
Ehsan Akhgari 9324c0a183 Bug 1519205 - Reduce the amount of UTF encodings we do when checking content blocking rules; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D16233

--HG--
extra : moz-landing-system : lando
2019-01-14 08:24:41 +00:00
Varun Dey f1106e6ffc Fix Bug 1419109 - Empty default icon shows blank icon in toolbar r=mixedpuppy
If the extension had either default_icon or one of it's property as an empty string, it would show a black icon in the toolbar. With this patch, it checks if any of default_icon property is empty and throws an error on extension load.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 18:05:12 +00:00
Julien Wajsberg 22f0b04ab9 Bug 1433754 - Fix username filling on Fortuneo website r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D16389

--HG--
extra : moz-landing-system : lando
2019-01-12 17:18:34 +00:00
Narcis Beleuzu 7d7aca6a93 Merge inbound to mozilla-central. a=merge 2019-01-12 11:40:44 +02:00
Kris Maglione 125c4e077a Bug 1509968: Disable subprocess performance task in ccov builds. r=aswan 2019-01-11 20:46:57 -08:00
Gijs Kruitbosch f460180422 Bug 1516767 - adjust button border, outline and box-shadow to be compatible with High-Contrast Mode and less glitchy, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D16328

--HG--
extra : moz-landing-system : lando
2019-01-11 23:24:43 +00:00
Rob Wu f8d91f5c26 Bug 1504018 - Support unrestricted schemes in permission warnings r=aswan
If an extension with the "mozillaAddons" permission is updated, the
permission diffing logic should support restricted schemes.
Otherwise the MatchPattern will throw and prevent the update from being
installed.

`Extension.comparePermissions` is called with the result of
`.userPermissions`, which in turn is equivalent to the result of the
`manifestPermissions` getter. This already filters out restricted
schemes if needed. Therefore we can unconditionally use
`restrictSchemes:false` in `comparePermissions`.

And update the regexp in formatPermissionStrings to support permissions
that start with "about:", since the "MatchPatternUnestricted" type in
toolkit/components/extensions/schemas/manifest.json supports this,
and the lack of "//" in about:-URLs prevents the scheme from being
matched by the existing pattern.

Depends on D14963

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

--HG--
extra : moz-landing-system : lando
2019-01-11 19:19:06 +00:00
Rob Wu 0074eaeaf7 Bug 1504018 - Skip host permissions for which a warning has been shown before r=aswan
Permission warnings only include the host name (ignoring any scheme),
so the comparison of old and new permissions should ignore schemes too.

Any origin permission has to match the definition of "MatchPattern"
as defined in toolkit/components/schemas/manifest.json.
For normal (non-privileged extensions), this is either <all_urls>, or a
pattern consisting of the "http", "https", "ws", "wss", "file", "ftp"
schemes.

Depends on D5527

Depends on D5527

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

--HG--
extra : moz-landing-system : lando
2019-01-11 19:16:59 +00:00
Rob Wu e60742dbc8 Bug 1484263 - Clean up manifest permission parser and add tests r=aswan
The "permissions" array of the raw manifest is not (and should not) be
used for permission checking, so it is not necessary to strip the
"mozillaAddons" permission from it.

This commit moves the validation of the "mozillaAddons" permission to
classifyPermission, so that the "manifestPermissions" getter (that uses
this method too) accurately reflects the supported permissions of an
extension.

New tests has been added to verify the permission warnings for some
combinations of permissions. This also includes tests that verify
that only privileged extensions can use "mozillaAddons" to unlock
unrestricted schemes.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 18:56:18 +00:00
Mike Hommey 7c72587da6 Bug 1519047 - Move FFVPX_ASFLAGS and related variables to python configure. r=nalexander
This also moves the corresponding ASFLAGS from moz.build to python
configure.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 18:17:36 +00:00
Mike Hommey 70f1ad55e1 Bug 1519307 - Add a new project to build useful parts of breakpad independently. r=froydnj
With `ac_add_options --enable-project=tools/crashreporter` in a
mozconfig, `./mach build` builds minidump_stackwalk, dump_syms
and fileid.

One caveat is that due to limitation in how the build system works
currently, it's cumbersome to keep dump_syms as a host program for
Gecko, and to make it a target program for this project. For now,
keep it as a host program. We're not going to use it on automation,
but it's still convenient to have for quick local builds (I've had
to resort to awful hacks downstream).

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

--HG--
extra : moz-landing-system : lando
2019-01-11 16:01:15 +00:00
Mike Hommey 94ff361bf4 Bug 1519325 - Move D3D compiler DLL detection to python configure. r=froydnj
MOZ_D3D_CPU_SUFFIX and MOZ_HAS_WINSDK_WITH_D3D are not used in the
build, and nothing includes d3d10.h except some angle code in a
preprocessed branch that is only taken for a macro we never define,
so we don't move the code corresponding to those. We also simplify the
detection code, which is convoluted now that it doesn't search for
multiple different DLLs.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 22:21:24 +00:00
Noemi Erli 7cd3732360 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-11 23:59:12 +02:00
Noemi Erli d9c49c81c5 Merge inbound to mozilla-central. a=merge 2019-01-11 23:54:33 +02:00
Jan Henning 70dd21256f Bug 1498812 - Part 9: Switch session store/session history to use visual viewport for scroll position tracking. r=mikedeboer,snorp
For simplicity's sake, for now we keep storing only one scroll position per
history entry (bug 1499210), so if we have to choose between the layout and the
visual viewport, the latter is a vastly better choice, as it more accurately
represents the scroll position as perceived by the user, especially when the
page has been pinch-zoomed.

This also means that instead of the normal scroll events, the session store now
has to listen for the corresponding events specific to the visual viewport.

We also extend the scroll position test to check that the scroll position isn't
just properly saved, but also actually properly restored in practice as well.
We only add this test now instead of already adding it beforehand like we did
with the rest of the test
- to avoid having to temporarily extend the checkScroll() helper function to
  deal with todo()/todo_is etc.
- because getting that part of the test to complete without timing out (which
  would be one of its natural failure modes, because the expected events would
  be missing) would require faking even more scroll events
- because we already have the todo() tests that are telling us the we didn't
  *store* any scroll position in the first place, so there's no point in trying
  to actually restore anything

For the GeckoView saveAndRestoreState test, we now spin the event loop once
before setting the scroll position in order to give APZ opportunity to settle
down after the initial page load.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 19:50:09 +00:00
Jan Henning ea0543a948 Bug 1498812 - Part 5: Allow registering System event listeners through nsSessionStoreUtils. r=nika
Our internal Visual Viewport scroll events are dispatched system group-only, so
this is the only way to catch them.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 19:49:28 +00:00
Kershaw Chang 74f3ba17c3 Bug 1513057 - P8: Report telemetry from socket process to parent process r=dragana,mayhemer,janerik
Differential Revision: https://phabricator.services.mozilla.com/D14362

--HG--
extra : moz-landing-system : lando
2019-01-11 20:59:35 +00:00
Kershaw Chang 8241bd3c41 Bug 1513057 - P2: Setup crash reporter on socket process r=dragana,mayhemer
This patch is quite straightforward. Just add socket process support.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 18:48:25 +00:00
Kershaw Chang 9973068a10 Bug 1513057 - P1.1: Create a reusable class to pass prefs to child processes r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D14970

--HG--
extra : moz-landing-system : lando
2019-01-11 18:39:22 +00:00
Kershaw Chang 0b336d5545 Bug 1513057 - P1: Start the new socket process basics (prefs, full xpcom init, logging, no sandboxing) r=mayhemer,dragana
Differential Revision: https://phabricator.services.mozilla.com/D14148

--HG--
extra : moz-landing-system : lando
2019-01-11 18:57:23 +00:00
Andrew Swan 0f97ca35a4 Bug 1517988 Insert a placeholder name for addons if necessary in about:support r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D16133

--HG--
extra : moz-landing-system : lando
2019-01-11 11:39:04 +00:00
Gijs Kruitbosch 22c319893b Bug 1518996 - fix double border/outline for textbox[multiline] by not setting one on the inner textarea, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D16334

--HG--
extra : moz-landing-system : lando
2019-01-11 20:01:39 +00:00
Razvan Maries 642dd2cc11 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-01-11 17:33:16 +02:00
Christoph Kerschbaumer 6756032512 Bug 1513241: Update frontend consumers of loadURI and pass loadURIOptions dictionary. r=gijs 2019-01-11 12:44:20 +01:00
Christoph Kerschbaumer fbb4bafd5c Bug 1513241: Update loadURI interface and pass a loadURIOptions dictionary from frontend to docshell loads. r=bz 2019-01-11 12:43:39 +01:00
Ryan Hunt 6b10b1a1df Bug 1518669 - Move some OMTP performance probes to never expire. r=me, data-review=chutten
These performance probes are important to monitor regressions to our current
painting code's performance. I'd like to make them never expire as we don't
forsee not wanting to know this information.

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

--HG--
extra : rebase_source : 509c2dbf6961c2901c79d0ee7dc5455ccca0843d
extra : histedit_source : de4383b439d9c284de3b063cd8f0a4c25e3bebd1
2019-01-10 12:56:51 -06:00
Andreea Pavel 21ad33d612 Backed out 10 changesets (bug 1513057) for build bustages on a CLOSED TREE
Backed out changeset 56329b5f1844 (bug 1513057)
Backed out changeset 46411c5de3da (bug 1513057)
Backed out changeset de65c456aad6 (bug 1513057)
Backed out changeset f648b5f1a7c2 (bug 1513057)
Backed out changeset 460bbf0849e1 (bug 1513057)
Backed out changeset 86032a14d26f (bug 1513057)
Backed out changeset a81f83df08d5 (bug 1513057)
Backed out changeset edbda5ee5fd5 (bug 1513057)
Backed out changeset c900ac2519f5 (bug 1513057)
Backed out changeset 4e94bbb90315 (bug 1513057)
2019-01-11 17:02:44 +02:00
Kershaw Chang 562055d29e Bug 1513057 - P8: Report telemetry from socket process to parent process r=dragana,mayhemer,janerik
Differential Revision: https://phabricator.services.mozilla.com/D14362

--HG--
extra : moz-landing-system : lando
2019-01-11 14:23:19 +00:00
Kershaw Chang 99fe2d101a Bug 1513057 - P2: Setup crash reporter on socket process r=dragana,mayhemer
This patch is quite straightforward. Just add socket process support.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 13:26:56 +00:00
Kershaw Chang d0f8c9de61 Bug 1513057 - P1.1: Create a reusable class to pass prefs to child processes r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D14970

--HG--
extra : moz-landing-system : lando
2019-01-11 14:12:53 +00:00
Kershaw Chang 0c2943008a Bug 1513057 - P1: Start the new socket process basics (prefs, full xpcom init, logging, no sandboxing) r=mayhemer,dragana
Differential Revision: https://phabricator.services.mozilla.com/D14148

--HG--
extra : moz-landing-system : lando
2019-01-11 14:07:47 +00:00
Marco Bonardo 08e5888d07 Bug 1519060 - Places maintenance doesn't properly replace malformed databases. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D16199

--HG--
extra : moz-landing-system : lando
2019-01-11 11:58:24 +00:00
Johann Hofmann 7f7c2d0fe1 Bug 1371741 - Don't test gUM + autoplay on about:blank. r=padenot
about:blank has a null principal and can't run gUM via our new policy.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 12:26:46 +00:00
Gabriele Svelto a735a5580b Bug 1510574 - Remove shared memory segments from generated minidumps to cut down on the number of modules r=ted
Differential Revision: https://phabricator.services.mozilla.com/D16188

--HG--
extra : moz-landing-system : lando
2019-01-11 08:56:07 +00:00
Daniel Varga 5dc5a82752 Merge mozilla-central to autoland. a=merge on a CLOSED TREE
--HG--
extra : rebase_source : 40b25d678b690be8bfe028129337a9b578caade6
2019-01-11 06:19:53 +02:00
Daniel Varga f0a9c979bb Merge mozilla-inbound to mozillia-central. a=merge 2019-01-11 06:14:14 +02:00
Masayuki Nakano f8844f0d9b Bug 181137 - part 7: Get rid of nsIContentIterator interface r=smaug
Now, nobody requires nsIContentIterator interface.  So, we can get rid of it.

Unfortunately, there is no macro to keep the inherited class,
ContentSubtreeIterator, in the cycle collection to make it keep managing
ContentSubtreeIterator::mRange without nsISupports interface.  Therefore, this
patch moves it into ContentIteratorBase temporarily.  Anyway, the following
patch makes those classes not refcountable.  At that time, this issue will be
fixed.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 01:51:42 +00:00
Mike Hommey 9a0967dc5d Bug 1515579 - Use absolute paths for compilers, etc. r=ted
In bug 1259382, some workarounds were added to make the build system
alter PATH and not use absolute paths for toolchain programs, because
autoconf and the build system doesn't deal with spaces in those very
well. But later in bug 1290040, we made find_program return Windows
short paths (without spaces), which alleviates the need for those
workarounds.

We still, however, and unfortunately, need to alter PATH to account for
the fact that MSVC DLLs are not necessarily alongside the compiler
executables...

Depends on D15181

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

--HG--
extra : moz-landing-system : lando
2019-01-10 23:37:46 +00:00
Robert Strong e2c81d08b4 Bug 1517044 - Don't allow nsIWritablePropertyBag calls to overwrite nsIUpdate and nsIUpdatePatch attributes. r=mhowell 2019-01-10 15:18:14 -08:00
Nathan Froyd d983955203 Bug 1518922 - part 2 - remove GetChildProcessTmpDir; r=gsvelto
After part 1, this function and the code associated with it is no longer
used.
2019-01-10 16:13:37 -05:00
Nathan Froyd fcefa80c7c Bug 1518922 - part 1 - remove dead code for extra crashreporting directory; r=Alex_Gaynor
The command-line parameter used by nsEmbedFunctions.cpp is turned into
an nsIFile, and then said nsIFile is never used.  Its last use was
deleted in bug 1407693, where we reworked how extra annotations were
done.
2019-01-10 16:13:37 -05:00
Hector Zhao b73c2c6e9b Bug 1513162 - Use guid with known prefix for bookmarks from distribution.ini. r=mak,mkaply
Also stop setting keyword with distribution.ini.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 20:54:53 +00:00
Zibi Braniecki abcd557c95 Bug 1509583 - Migrate region/language names resources to Fluent. r=flod,mossop
Differential Revision: https://phabricator.services.mozilla.com/D12807

--HG--
extra : moz-landing-system : lando
2019-01-11 00:23:50 +00:00
Zibi Braniecki ffeb7038f9 Bug 1509583 - Move InlineSpellChecker to sync over locale codes rather than indexes. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D15762

--HG--
extra : moz-landing-system : lando
2019-01-11 00:23:48 +00:00
Zibi Braniecki 9436ebe59a Bug 1509583 - Refactor mozIntl.getRegions to mozIntl.getAvailableLocaleDisplayNames. r=jfkthame,MattN
Differential Revision: https://phabricator.services.mozilla.com/D13188

--HG--
extra : moz-landing-system : lando
2019-01-11 00:25:52 +00:00
Mike Hommey b8548a1071 Bug 1515528 - Disable accessibility on aarch64-windows. r=dmajor,chmanchester
Depends on D15265

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

--HG--
extra : moz-landing-system : lando
2019-01-11 00:20:35 +00:00
Andrea Marchesini f3c496f926 Bug 1515277 - Separate ClearData flag for Reporting data, r=jkt, r=smaug 2019-01-11 09:43:58 +01:00
Mike Hommey d5fbdc4b28 Bug 1519030 - Move libav-fft configuration to python configure. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D16157

--HG--
extra : moz-landing-system : lando
2019-01-10 22:00:41 +00:00
Coroiu Cristina 1468575650 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2019-01-10 23:45:07 +02:00
Dave Townsend 91b4da5027 Bug 1519184: Fix cache purging on windows. r=Gijs
When Firefox runs we cache a number of things, JS, XUL, XBL, CSS etc. Whenever
a new build of Firefox runs against a profile we clear the cache to rebuild with
the new information.

On the first run of a profile where compatibility.ini doesn't exist (presumably
to cover the case of upgrading from a very old versions of Firefox, but also
affects new profiles) we attempt to clear the cache as well.

If any attempt to clear the cache fails we set a flag in compatibility.ini
telling us to clear the cache on next startup.

Unfortunately nsIFile.remove returns different error codes on different
platforms when the file in question already doesn't exist. So an attempt to
remove a cache that does't exist is counted as a failure on Windows and so the
cache will be cleared again on second run.

This change counts the file not found return code as counting as a success when
clearing the cache.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 20:10:04 +00:00
Matthew Noorenberghe 8ac0a7753f Bug 1386283 - Enable eslint 'brace-style' and 'curly' rules on passwordmgr with --fix. r=mconley
ignore-this-changeset for blame

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

--HG--
extra : moz-landing-system : lando
2019-01-10 19:26:48 +00:00
Matthew Noorenberghe 3f7baf5de6 Bug 1386283 - Enable eslint 'indent' rule on passwordmgr with --fix. r=mconley
ignore-this-changeset for blame

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

--HG--
extra : moz-landing-system : lando
2019-01-10 19:26:17 +00:00
Matthew Noorenberghe d9469a1400 Bug 1386283 - Test: Only consider connected <input>s for username/password fields. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D15997

--HG--
extra : moz-landing-system : lando
2019-01-10 19:25:37 +00:00
Matthew Noorenberghe 8d0849c371 Bug 1386283 - Only consider connected <input>s for username/password fields. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D15887

--HG--
extra : moz-landing-system : lando
2019-01-10 19:25:01 +00:00
Xidorn Quan 12de3945a4 Bug 1514498 - Hide rather than collapse scrollbar thumb when scrollbar is disabled. r=NeilDeakin
Collapsing thumb causes frame of scrollbar to cache an incorrect pref
size, which makes it not able to appear in certain cases.

This patch changes it to use "visibility: hidden" instead so that the
thumb is hidden but still contributes to the width of scrollbar.

An alternative would be also change the code in nsScrollbarFrame to set
something other than collapsed attribute instead, but I'm not sure
whether doing that is any better than just adding a rule. We need the
rule anyway regardless of what we set on the element.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 14:15:30 +00:00
Tim D. Smith a95f1a031b Bug 1519170 - Re-renew GEOLOCATION_REQUEST_GRANTED probe r=chutten
The `GEOLOCATION_REQUEST_GRANTED` probe was renewed in Bug #1494496 to support targeting for a survey project that I originally expected to launch in November. Thanks to the usual vagaries of IRBs, holidays, and other priorities, we haven't launched yet, and the probe expiry is configured to stop collecting in 65. To mitigate the risk of failing to deploy the survey before the targeting probe expires, I'd like to bump the probe expiration out another couple of releases and uplift to beta.

I think we're actually ready to launch now so I'm confident another 12 weeks will be more than enough time and we won't have to repeat this exercise again.

I expect the data review in Bug #1494496 provides coverage for this change.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 19:20:02 +00:00
Matthew Noorenberghe fdacc288b7 Bug 1477798 - Treat sensitive @autocomplete field names like 'off' in FormData.jsm. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D15780

--HG--
extra : moz-landing-system : lando
2019-01-10 18:49:46 +00:00
Matthew Noorenberghe 37427a1506 Bug 1477798 - Treat sensitive @autocomplete field names like 'off' in satchel. r=Felipe
This also has the side-effect of fixing autocomplete parsing for 'off' to ignore whitespace:
https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill-processing-model

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

--HG--
extra : moz-landing-system : lando
2019-01-10 18:49:10 +00:00
Tom Ritter ba7c4014b7 Bug 1509829 - Spoof OS in HTTP User-Agent header for desktop platforms r=timhuang,baku
In 1404608, the OS was revealed in both the HTTP User-Agent
header and to JavaScript code via navigator.userAgent. To avoid
leaking the OS inside each HTTP request (which many web servers
log), always use the Windows 7 OS value in the desktop User-Agent
header. We continue to allow access to the actual OS via JavaScript,
since doing so improves compatibility with web applications such
as GitHub and Google Docs.

This is an uplift of Tor's 26146
2019-01-09 12:53:30 -06:00
Michal Novotny c21d6620d3 Bug 1495336 - High limit of NETWORK_CACHE_METADATA_SIZE and NETWORK_CACHE_METADATA_FIRST_READ_SIZE probes is too low. r=chutten
Maximum size of elements in metadata is 64kB, the rest (URL, hashes and few uint32_t members) should normally fit into 1kB, so I set new high value of NETWORK_CACHE_METADATA_SIZE_2 to 65kB. With 66 buckets each bucket should be exactly 1kB wide.
NETWORK_CACHE_METADATA_FIRST_READ_SIZE doesn't provide any useful information and this patch removes the probe.
2019-01-09 10:27:00 +02:00
Brindusan Cristian 338aeb2777 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-15 06:41:22 +02:00
Ryan Hunt c71371cf2a Bug 1518624 - Add telemetry for amount and length in pixels of scroll anchor adjustments. r=dholbert
This commit adds two new telemetry probes to collect:
 1. The amount of scroll anchoring adjustments applied
 2. The total absolute length in CSS pixels of scroll anchoring adjustments

Both of these metrics are collected on a per top-level-document basis, and
reported with other use-counters.

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

--HG--
extra : source : 43081bb8f4eac598a3103753965d5b60dfd1c3fa
extra : amend_source : 3d53dc56616f9e48799b7d8b8c11e96007d3c6eb
extra : intermediate-source : 6da6a7ff2d794c25b61858d16fe97e5f309e0f1f
2019-01-08 15:18:12 -06:00