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

53592 Коммитов

Автор SHA1 Сообщение Дата
Dave Townsend 1e3b008bd7 Bug 1455707: Detect when running an older version than previously ran with the selected profile. r=froydnj, r=mconley, r=Gijs
Use the information in compatibility.ini to detect that the current running
application is an older version than previously ran with the profile and in
that case open a UI allowing the user to launch the profile manager, launch
the previous instance of the application or quit.

Also includes the patch from bug 1523725.

--HG--
rename : browser/themes/shared/information.svg => toolkit/themes/shared/profile/information.svg
extra : rebase_source : 3bf8b329eb5ea9e71fe2f0ed34a7e44dfdc434fd
extra : intermediate-source : 21a801ca5f6d435509f93e1dee187cb6ca868c8f
extra : source : c9d89812bc226ca593119bf440cb4f5e50ac2ace
2019-01-30 14:56:30 -08:00
Dave Townsend 5d41d30a08 Bug 1518632: Show the first-run experience for users that get pushed to a new profile. r=Gijs, r=flod, r=stomlinson
On startup of a fresh dedicated profile show a welcome page and a modal dialog
to explain what has happened.

--HG--
extra : rebase_source : 1505cf27f900070debc1f9e1c71ec4bef3bc099d
extra : source : 05200c5388b4f7adc4414268727458515d7b9ed9
2019-01-30 11:31:13 -08:00
Dave Townsend 0b0a1e8daa Bug 1522934: Add telemetry data to record what happened during profile selection at startup. r=froydnj, datareview=chutten
Set a telemetry scalar depending on the path taken during profile selection at
startup.

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

--HG--
extra : rebase_source : bb4056c1c234f3aa61aedc8fddc87193f7aa45a9
extra : source : ebcd8225434ae82b837d632b5ef44bcc9dd5c5b0
2019-01-25 14:05:39 -08:00
Dave Townsend ca5293cbed Bug 1474285: Implement dedicated profiles per install. r=froydnj, r=Gijs
Uses a different profile depending on the install directory of the application.
installs.ini is used to map a hash of the install directory to a profile
directory.

If no profile is marked as default for the current install we use a heuristic
explained in the code to decide whether to use the profile that would have
been used before this feature.

The feature is disabled in snap builds where the install directory changes for
every version of the app, but multiple instances cannot share profiles anyway.
A boolean flag is used to turn on the feature because in a later patch we need
to be able to turn off the behaviour at runtime.

Includes code folded in from bug 1518634, bug 1522751, bug 1518632 and bug 1523024.

--HG--
extra : rebase_source : 0250c70e992fd8369e52ccee3755cf116a894791
extra : intermediate-source : e69cac07b209ad4ef4229815ffd8138ed64c348e
extra : source : e406bf0bcd665bd0e54ddb13d9ae880004badef1
2019-01-25 16:02:28 -08:00
Dave Townsend 9127e8bbdc Bug 1322797: Replace selectedProfile with currentProfile and fix defaultProfile. r=froydnj, r=flod
The current properties selectedProfile and defaultProfile are somewhat confusing
selectedProfile actually returns the default profile for the build and
defaultProfile returns the default profile for non-dev-edition builds. This
confusion leads to callers doing the wrong thing in some places.

What most code actually cares about is being able to set/get the default profile
for this build and getting the current profile in use. So this patch replaces
the previous properties with currentProfile and defaultProfile which do what
makes more sense.

This patch also switches from using the preprocessor to change behaviour for
dev-edition builds to using a boolean flag since some code was incorrectly
ignoring the setting to make dev-edition use the same profile as normal builds.

In order to make currentProfile correct when resetting a profile I had to move
CreateResetProfile into nsToolkitProfileService.

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

--HG--
extra : rebase_source : cefe252618cd3a1b0e0cd5a71b056dd2b557f1a3
extra : intermediate-source : 35af79575f54f75d22e213fdac7ddd704b40807a
extra : source : 732d1ce192408d4f595f2fce16f45c7354ce3097
2018-12-28 09:44:47 -08:00
Coroiu Cristina 98ec0ea927 Backed out 7 changesets (bug 1518632, bug 1463198, bug 1455707, bug 1522934, bug 1322797, bug 1474285) for build bustages at /builds/worker/workspace/build/src/toolkit/xre/nsAppRunner.cpp on a CLOSED TREE
Backed out changeset 82355ab7e063 (bug 1455707)
Backed out changeset b965981c9ce0 (bug 1463198)
Backed out changeset 21a801ca5f6d (bug 1455707)
Backed out changeset 05200c5388b4 (bug 1518632)
Backed out changeset ebcd8225434a (bug 1522934)
Backed out changeset e69cac07b209 (bug 1474285)
Backed out changeset 35af79575f54 (bug 1322797)
2019-01-31 03:34:49 +02:00
Dave Townsend 3a81e14a64 Bug 1455707: Fix rebase breakage. r=bustage CLOSED TREE
--HG--
extra : amend_source : 8eb2287e57d04960e8c368d444b09e1f182b8b86
2019-01-30 17:17:24 -08:00
Dave Townsend e91f114689 Bug 1463198: Submit telemetry whenever the downgrade UI is shown. r=froydnj, datareview=chutten
Send a downgrade ping to telemetry when the downgrade UI is displayed.

--HG--
extra : rebase_source : 799ef400bc20aaab520641d21d744fe83aa5da27
extra : intermediate-source : 6bb1233693b8b2790263dbd511d92857a9d31e0b
extra : source : 348f67b15246aa63b83457fde1a17540fa21379e
2018-05-18 13:03:24 -07:00
Dave Townsend 25ec38eec8 Bug 1455707: Detect when running an older version than previously ran with the selected profile. r=froydnj, r=mconley, r=Gijs
Use the information in compatibility.ini to detect that the current running
application is an older version than previously ran with the profile and in
that case open a UI allowing the user to launch the profile manager, launch
the previous instance of the application or quit.

Also includes the patch from bug 1523725.

--HG--
rename : browser/themes/shared/information.svg => toolkit/themes/shared/profile/information.svg
extra : rebase_source : f81be6c98b8248ca9a09c1e3d70cff2f925ad77f
extra : intermediate-source : 198a6d5b96d4127b6d21485a3b1b0ab2d3bc2f72
extra : source : c9d89812bc226ca593119bf440cb4f5e50ac2ace
2019-01-30 14:56:30 -08:00
Dave Townsend 93581af510 Bug 1518632: Show the first-run experience for users that get pushed to a new profile. r=Gijs, r=flod, r=stomlinson
On startup of a fresh dedicated profile show a welcome page and a modal dialog
to explain what has happened.

--HG--
extra : rebase_source : a033baf831aa8b9fcfa95d1f921364632a837390
2019-01-30 11:31:13 -08:00
Dave Townsend 1fb2dfc2ee Bug 1522934: Add telemetry data to record what happened during profile selection at startup. r=froydnj, datareview=chutten
Set a telemetry scalar depending on the path taken during profile selection at
startup.

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

--HG--
extra : rebase_source : 6c797b4a8122db69e61d0d954dcfd726d3d1970e
2019-01-25 14:05:39 -08:00
Dave Townsend 007be95c70 Bug 1474285: Implement dedicated profiles per install. r=froydnj, r=Gijs
Uses a different profile depending on the install directory of the application.
installs.ini is used to map a hash of the install directory to a profile
directory.

If no profile is marked as default for the current install we use a heuristic
explained in the code to decide whether to use the profile that would have
been used before this feature.

The feature is disabled in snap builds where the install directory changes for
every version of the app, but multiple instances cannot share profiles anyway.
A boolean flag is used to turn on the feature because in a later patch we need
to be able to turn off the behaviour at runtime.

Includes code folded in from bug 1518634, bug 1522751, bug 1518632 and bug 1523024.

--HG--
extra : rebase_source : b4608f6e8800af4f154daf0e0262f521c8ebd9fd
extra : intermediate-source : ba34b021c8e995ec7fc7c7fbb3dcc5dcf268278c
extra : source : e406bf0bcd665bd0e54ddb13d9ae880004badef1
2019-01-25 16:02:28 -08:00
Dave Townsend dd2eee0019 Bug 1322797: Replace selectedProfile with currentProfile and fix defaultProfile. r=froydnj, r=flod
The current properties selectedProfile and defaultProfile are somewhat confusing
selectedProfile actually returns the default profile for the build and
defaultProfile returns the default profile for non-dev-edition builds. This
confusion leads to callers doing the wrong thing in some places.

What most code actually cares about is being able to set/get the default profile
for this build and getting the current profile in use. So this patch replaces
the previous properties with currentProfile and defaultProfile which do what
makes more sense.

This patch also switches from using the preprocessor to change behaviour for
dev-edition builds to using a boolean flag since some code was incorrectly
ignoring the setting to make dev-edition use the same profile as normal builds.

In order to make currentProfile correct when resetting a profile I had to move
CreateResetProfile into nsToolkitProfileService.

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

--HG--
extra : rebase_source : 24feb46363b5e43f35b51614d9dc6ae20ae49b65
extra : amend_source : 3c2051b98f19dc3288c59b0028db7d33c6953be3
extra : intermediate-source : 8404cc6140177a40c7086ddd4bf5d84735681048
extra : source : 732d1ce192408d4f595f2fce16f45c7354ce3097
2018-12-28 09:44:47 -08:00
Myk Melez 25349d2601 Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17526

--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
Andreas Farre aff8c1286e Bug 1521149 - Keep track of all BrowsingContext object in a BrowsingContextGroup r=nika
Differential Revision: https://phabricator.services.mozilla.com/D17003

--HG--
extra : moz-landing-system : lando
2019-01-30 16:07:21 +00:00
Ehsan Akhgari a418695e65 Bug 1513309 - Add telemetry for the storage access API; r=johannh,janerik
Differential Revision: https://phabricator.services.mozilla.com/D17860

--HG--
extra : moz-landing-system : lando
2019-01-30 12:41:58 +00:00
Ehsan Akhgari 79571a58c3 Bug 1523463 - Enable eager content blocking event notifications for all anti-tracking tests; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D17981

--HG--
extra : moz-landing-system : lando
2019-01-30 08:52:21 +00:00
Ryan Hunt bf27296612 Bug 1514840 - Add telemetry scalar for DXGI_COLOR_SPACE. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D16204

--HG--
extra : moz-landing-system : lando
2019-01-28 16:56:03 +00:00
Dão Gottwald ff4a3ea0b8 Bug 1522807 - Rename MATCH_GROUP to RESULT_GROUP. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D18053

--HG--
extra : moz-landing-system : lando
2019-01-30 13:03:04 +00:00
Sylvestre Ledru b6356f4723 Bug 1523092 - Enable codespell on more directories r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D17740

--HG--
extra : moz-landing-system : lando
2019-01-30 14:16:08 +00:00
Luca Greco b4cdfc9841 Bug 1258897 - Fix test_ext_sendmessage_reply2.html intermittency and re-enable. r=mixedpuppy
This patch should fix the test_ext_sendmessage_reply2.html intermittency which, based on the
timeout failure that I've been able to intermittently reproduce when running this test
locally using --verify, seems to be likely due to the following race:

the tabs.create API (used to create the extension tabs used as part of the tests) was called
right before subscribing the extension message listeners, and so from time to time the
extension tabs were not able to successfully send their messages to the background page listeners
(because the background page didn't subscribe the listeners yet) and as a result the test was getting
stuck waiting for extension messages that were never going to be received.

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

--HG--
extra : moz-landing-system : lando
2019-01-29 15:50:42 +00:00
Razvan Caliman c9e2036ca5 Bug 1523315 - Remove expired histograms for Font Editor MVP. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D17950

--HG--
extra : moz-landing-system : lando
2019-01-30 12:33:07 +00:00
Mike Hommey e39820dc70 Bug 1475564 - Enable libav1 when not building with msvc. r=dmajor
We reenable the corresponding tests unconditionally because we don't run
tests on the msvc builds anyways (and they're going to be retired soon).

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

--HG--
extra : moz-landing-system : lando
2019-01-30 07:30:01 +00:00
Bogdan Tara 78cd247b5d Backed out changeset b5ac6baec29b (bug 1475564) for test_can_play_type_mpeg.html failures CLOSED TREE 2019-01-30 08:56:27 +02:00
Mike Hommey b1b18fb874 Bug 1475564 - Enable libav1 when not building with msvc. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D18028

--HG--
extra : moz-landing-system : lando
2019-01-30 04:17:50 +00:00
shindli f7752f11b1 Merge inbound to mozilla-central. a=merge 2019-01-30 06:07:01 +02:00
shindli 011ea038cb Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-29 23:54:31 +02:00
shindli d5c5369355 Merge inbound to mozilla-central. a=merge 2019-01-29 23:37:33 +02:00
Kris Maglione b6dbfe3484 Bug 1478124: Follow-up: Fix merge conflict. r=bustage CLOSED TREE
--HG--
extra : amend_source : f6056083a3293ab72889347af86608dcea93118e
2019-01-29 13:13:00 -08:00
Gijs Kruitbosch d1fd0eed98 Bug 1522783 - fix parsing documents with meta tags without content attributes in reader mode by updating to github c0c097c930c8e17969a9ecc143792daf799b215d, r=jaws
--HG--
extra : rebase_source : c1189db0c8b05a3e97990ed8360fbf4c230ae59e
2019-01-29 18:30:06 +00:00
Mark Banner 91ec59542e Bug 1523665 - Bookmarks.insertTree should take account of invalid bookmark info causing an insertion of zero items. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D17954

--HG--
extra : moz-landing-system : lando
2019-01-29 17:49:56 +00:00
Luca Greco 52847f1a00 Bug 1515697 - Replace addonsManager telemetry events num_origin and num_perms extras with num_strings. r=aswan
This patch includes the following changes:

- added a new "num_strings" extra key to the "addonsManager install" and "addonsManager manage"
  telemetry events, where "num_strings" represents the "number of permissions actually visible
  in the extension permission doorhanger"

- do not record a telemetry event for the "permission_prompt" (or "sideload_prompt") if the
  permissions_prompt is not going to be shown

- add num_strings and removed "num_perms" and "num_origins" extras from the test assertions in the existing tests

- added some additional assertions to test in automation that we don't record the telemetry
  event for "permission_prompt" when no permission prompt is being shown for an
  extension update (as part of the browser_extension_update_background_noprompt.js test)

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

--HG--
extra : moz-landing-system : lando
2019-01-29 17:32:51 +00:00
Brian Hackett b456931b82 Bug 1523364 - Handle WindowGlobal messages within the middleman when appropriate, r=nika. 2019-01-29 05:26:39 -10:00
garvitdelhi 6bd950c37a Bug 1519185: Remove AttributeWillChange aNewValue parameter r=emilio,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D17073
2019-01-29 17:59:38 +01:00
Andrea Marchesini d7b093d355 Bug 1522265 - Moving malware, phishing and blocked URIs to features - part 5 - Fix a method name call, r=me CLOSED TREE 2019-01-29 15:21:43 +01:00
Mark Striemer db3e9ea63c Bug 1523632 - Part 2: Allow detail cards to expand without scrollbars r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D17968

--HG--
extra : moz-landing-system : lando
2019-01-29 21:23:07 +00:00
Mark Striemer 3c99ef31e0 Bug 1523632 - Part 1: Wrap the extension private browsing label on details page r=mixedpuppy,flod
Differential Revision: https://phabricator.services.mozilla.com/D17964

--HG--
extra : moz-landing-system : lando
2019-01-29 19:52:53 +00:00
shindli 48af6dbf75 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-29 23:47:45 +02:00
Jared Wein 3746beaef1 Bug 1517410 - Don't show the unknown multiprocess status string while the page is loading. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D17948

--HG--
extra : moz-landing-system : lando
2019-01-29 19:49:45 +00:00
Andrea Marchesini 79ddbe6541 Bug 1522265 - Moving malware, phishing and blocked URIs to features - part 4 - Phishing Protection, r=dimi
--HG--
rename : netwerk/url-classifier/UrlClassifierFeatureNoChannel.cpp => netwerk/url-classifier/UrlClassifierFeaturePhishingProtection.cpp
rename : netwerk/url-classifier/UrlClassifierFeatureNoChannel.h => netwerk/url-classifier/UrlClassifierFeaturePhishingProtection.h
2019-01-29 10:11:34 +01:00
Andrea Marchesini 4e02fc2bf6 Bug 1522265 - Moving malware, phishing and blocked URIs to features - part 3 - DBService updated, r=dimi 2019-01-29 10:11:34 +01:00
Sebastian Hengst 66c65ab521 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-01-29 14:28:46 +02:00
arthur.iakab 652cde9859 Backed out 4 changesets (bug 1522265) for mochitest assertion failures on extensions/cookie/nsPermissionManager.cpp CLOSED TREE
Backed out changeset 38b4179568c7 (bug 1522265)
Backed out changeset 38b824df9d02 (bug 1522265)
Backed out changeset 6085d51681f8 (bug 1522265)
Backed out changeset e6a0832f3b11 (bug 1522265)
2019-01-29 14:25:00 +02:00
Sebastian Hengst 85a09a9114 Bug 1519596: Follow-up: Removes Services import because it's a redeclaration. a=merge 2019-01-29 14:13:17 +02:00
Sebastian Hengst 7661c7c260 Merge mozilla-central to mozilla-inbound 2019-01-29 12:55:03 +02:00
Sebastian Hengst bce7497e86 Bug 1514594: Follow-up: Remove unused imports merged from autoland. a=eslint-fix 2019-01-29 12:32:57 +02:00
Cosmin Sabou 599a15d354 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-29 12:01:56 +02:00
Andrea Marchesini 901d0ea1b6 Bug 1522265 - Moving malware, phishing and blocked URIs to features - part 4 - Phishing Protection, r=dimi
--HG--
rename : netwerk/url-classifier/UrlClassifierFeatureNoChannel.cpp => netwerk/url-classifier/UrlClassifierFeaturePhishingProtection.cpp
rename : netwerk/url-classifier/UrlClassifierFeatureNoChannel.h => netwerk/url-classifier/UrlClassifierFeaturePhishingProtection.h
2019-01-29 10:11:34 +01:00
Andrea Marchesini 0b9a1617c2 Bug 1522265 - Moving malware, phishing and blocked URIs to features - part 3 - DBService updated, r=dimi 2019-01-29 10:11:34 +01:00
Bob Owen c10c92ae4e Bug 1511438 Part 2: Enable win32k lockdown on RDD process. r=jimm
This stops the use of some win32k calls during start-up that will fail and in
some cases cause a crash.

It also moves the MITIGATION_DYNAMIC_CODE_DISABLE to be enabled after start-up.
This is required because the hooks to fake the user32 and gdi32 initialization
are applied as the DLLs load and the dynamic code disable blocks that.
2019-01-29 08:49:13 +00:00