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

108 Коммитов

Автор SHA1 Сообщение Дата
Lifan Zeng lifanfzeng c6990491a5 Bug 1608191 - Port profileDowngrade.dtd to Fluent, r=fluent-reviewers,flod,Gijs
https://phabricator.services.mozilla.com/D66648

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

--HG--
extra : moz-landing-system : lando
2020-04-08 18:56:45 +00:00
Brian Grinstead 30b9da5519 Bug 1623992 - Automated rewrite from chrome://global/skin/ to chrome://global/skin/global.css in markup r=marionette-reviewers,perftest-reviewers,mossop,whimboo,sparky
This was generated with

```
cp .gitignore .rgignore
rg -l -g '*.{html,xhtml}' 'href="chrome://global/skin/"' | xargs sed -i "" 's/href\="chrome:\/\/global\/skin\/"/href\="chrome:\/\/global\/skin\/global.css"/g'
```

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

--HG--
extra : moz-landing-system : lando
2020-04-03 22:23:23 +00:00
Tim Nguyen d1bf0ebec3 Bug 1624882 - Scope dialog.css styles to dialog custom element. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D68216

--HG--
extra : moz-landing-system : lando
2020-03-27 12:52:03 +00:00
Artem 0a5bdf8085 Bug 1608197 - port createProfileWizard DTD to fluent r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D62867

--HG--
extra : moz-landing-system : lando
2020-03-24 16:35:16 +00:00
Artem 3c3a57a026 Bug 1608165 - port profileSelection DTD to fluent r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D66912

--HG--
extra : moz-landing-system : lando
2020-03-18 09:01:51 +00:00
Emma Malysz 75ea156d47 Bug 1601093, Rename the remaining .xul files to .xhtml in toolkit/ r=marionette-reviewers,mossop,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D55857

--HG--
rename : toolkit/components/alerts/resources/content/alert.xul => toolkit/components/alerts/resources/content/alert.xhtml
rename : toolkit/components/apppicker/content/appPicker.xul => toolkit/components/apppicker/content/appPicker.xhtml
rename : toolkit/components/extensions/dummy.xul => toolkit/components/extensions/dummy.xhtml
rename : toolkit/components/passwordmgr/content/passwordManager.xul => toolkit/components/passwordmgr/content/passwordManager.xhtml
rename : toolkit/components/printing/content/printPageSetup.xul => toolkit/components/printing/content/printPageSetup.xhtml
rename : toolkit/components/printing/content/printPreviewProgress.xul => toolkit/components/printing/content/printPreviewProgress.xhtml
rename : toolkit/components/printing/content/printProgress.xul => toolkit/components/printing/content/printProgress.xhtml
rename : toolkit/components/prompts/content/commonDialog.xul => toolkit/components/prompts/content/commonDialog.xhtml
rename : toolkit/components/prompts/content/selectDialog.xul => toolkit/components/prompts/content/selectDialog.xhtml
rename : toolkit/components/viewconfig/content/config.xul => toolkit/components/viewconfig/content/config.xhtml
rename : toolkit/content/editMenuKeys.inc.xul => toolkit/content/editMenuKeys.inc.xhtml
rename : toolkit/content/resetProfile.xul => toolkit/content/resetProfile.xhtml
rename : toolkit/content/resetProfileProgress.xul => toolkit/content/resetProfileProgress.xhtml
rename : toolkit/modules/win.xul => toolkit/modules/win.xhtml
rename : toolkit/profile/content/createProfileWizard.xul => toolkit/profile/content/createProfileWizard.xhtml
rename : toolkit/profile/content/profileDowngrade.xul => toolkit/profile/content/profileDowngrade.xhtml
rename : toolkit/profile/content/profileSelection.xul => toolkit/profile/content/profileSelection.xhtml
extra : moz-landing-system : lando
2019-12-11 17:44:54 +00:00
Gurzau Raul 824bc2bf90 Backed out changeset dd809e835f2a (bug 1601093) for eslint failures at alert.xhtml and commonDialog.xhtml on a CLOSED TREE.
--HG--
rename : toolkit/components/alerts/resources/content/alert.xhtml => toolkit/components/alerts/resources/content/alert.xul
rename : toolkit/components/apppicker/content/appPicker.xhtml => toolkit/components/apppicker/content/appPicker.xul
rename : toolkit/components/extensions/dummy.xhtml => toolkit/components/extensions/dummy.xul
rename : toolkit/components/passwordmgr/content/passwordManager.xhtml => toolkit/components/passwordmgr/content/passwordManager.xul
rename : toolkit/components/printing/content/printPageSetup.xhtml => toolkit/components/printing/content/printPageSetup.xul
rename : toolkit/components/printing/content/printPreviewProgress.xhtml => toolkit/components/printing/content/printPreviewProgress.xul
rename : toolkit/components/printing/content/printProgress.xhtml => toolkit/components/printing/content/printProgress.xul
rename : toolkit/components/prompts/content/commonDialog.xhtml => toolkit/components/prompts/content/commonDialog.xul
rename : toolkit/components/prompts/content/selectDialog.xhtml => toolkit/components/prompts/content/selectDialog.xul
rename : toolkit/components/viewconfig/content/config.xhtml => toolkit/components/viewconfig/content/config.xul
rename : toolkit/content/editMenuKeys.inc.xhtml => toolkit/content/editMenuKeys.inc.xul
rename : toolkit/content/resetProfile.xhtml => toolkit/content/resetProfile.xul
rename : toolkit/content/resetProfileProgress.xhtml => toolkit/content/resetProfileProgress.xul
rename : toolkit/modules/win.xhtml => toolkit/modules/win.xul
rename : toolkit/profile/content/createProfileWizard.xhtml => toolkit/profile/content/createProfileWizard.xul
rename : toolkit/profile/content/profileDowngrade.xhtml => toolkit/profile/content/profileDowngrade.xul
rename : toolkit/profile/content/profileSelection.xhtml => toolkit/profile/content/profileSelection.xul
2019-12-11 19:27:28 +02:00
Emma Malysz 106f09dd53 Bug 1601093, Rename the remaining .xul files to .xhtml in toolkit/ r=marionette-reviewers,mossop,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D55857

--HG--
rename : toolkit/components/alerts/resources/content/alert.xul => toolkit/components/alerts/resources/content/alert.xhtml
rename : toolkit/components/apppicker/content/appPicker.xul => toolkit/components/apppicker/content/appPicker.xhtml
rename : toolkit/components/extensions/dummy.xul => toolkit/components/extensions/dummy.xhtml
rename : toolkit/components/passwordmgr/content/passwordManager.xul => toolkit/components/passwordmgr/content/passwordManager.xhtml
rename : toolkit/components/printing/content/printPageSetup.xul => toolkit/components/printing/content/printPageSetup.xhtml
rename : toolkit/components/printing/content/printPreviewProgress.xul => toolkit/components/printing/content/printPreviewProgress.xhtml
rename : toolkit/components/printing/content/printProgress.xul => toolkit/components/printing/content/printProgress.xhtml
rename : toolkit/components/prompts/content/commonDialog.xul => toolkit/components/prompts/content/commonDialog.xhtml
rename : toolkit/components/prompts/content/selectDialog.xul => toolkit/components/prompts/content/selectDialog.xhtml
rename : toolkit/components/viewconfig/content/config.xul => toolkit/components/viewconfig/content/config.xhtml
rename : toolkit/content/editMenuKeys.inc.xul => toolkit/content/editMenuKeys.inc.xhtml
rename : toolkit/content/resetProfile.xul => toolkit/content/resetProfile.xhtml
rename : toolkit/content/resetProfileProgress.xul => toolkit/content/resetProfileProgress.xhtml
rename : toolkit/modules/win.xul => toolkit/modules/win.xhtml
rename : toolkit/profile/content/createProfileWizard.xul => toolkit/profile/content/createProfileWizard.xhtml
rename : toolkit/profile/content/profileDowngrade.xul => toolkit/profile/content/profileDowngrade.xhtml
rename : toolkit/profile/content/profileSelection.xul => toolkit/profile/content/profileSelection.xhtml
extra : moz-landing-system : lando
2019-12-11 17:02:20 +00:00
Kirk Steuber 589b7532ea Bug 1585482 - Restructure all <xul:dialog> usages such that they are not the top level element r=bgrins
This patch also includes necessary JS changes to support this. Most commonly, the dialog was accessed with document.documentElement, which needed to be changed now that the dialog is not the top level element.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 18:25:59 +00:00
Kirk Steuber a3ec866dd5 Bug 1589134 - Move <script> tags out of <wizard>s r=bgrins
Moving these script tags has caused some code to be called in a different order. This patch enforces the necessary ordering by explicitly initializing MozWizardButtons from MozWizard's connectedCallback.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 21:08:50 +00:00
Kirk Steuber 047d40ee73 Bug 1584283 - Stop using xul:wizard as a root element and migrate consumers to xul:window[role=dialog] with the wizard as the only child r=surkov. On a CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D48922

--HG--
extra : source : 01007f3333ea182c83bced4ff750c96b22925e80
extra : amend_source : 3b06af7be6009d6bd94798e14f30a2550f1c4c4f
extra : histedit_source : be50ba403a84dda5af1c902438c918c17a971578
2019-10-17 21:25:53 +00:00
Dorel Luca 659e2d2335 Backed out changeset 01007f3333ea (bug 1584283) for Browser-chrome failures in widget/tests/browser/browser_test_procinfo.js 2019-10-23 03:23:24 +03:00
Kirk Steuber e937081418 Bug 1584283 - Stop using xul:wizard as a root element and migrate consumers to xul:window[role=dialog] with the wizard as the only child r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D48922

--HG--
extra : moz-landing-system : lando
2019-10-17 21:25:53 +00:00
Kris Maglione 53c2adf481 Bug 1586671: Pass callbacks as openDialog argument to profile creation wizard rather than using window.opener. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D48717

--HG--
extra : moz-landing-system : lando
2019-10-09 16:59:13 +00:00
Jared Wein 119b3dc08a Bug 1571567 - Fix no-fallthrough errors in /toolkit. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D40746

--HG--
extra : moz-landing-system : lando
2019-08-08 16:18:24 +00:00
Bogdan Tara 844afcfb06 Backed out 10 changesets (bug 1571567) complementary backout after es lint failure on the patch CLOSED TREE
Backed out changeset ce83fa75ae32 (bug 1571567)
Backed out changeset 7aa97ba7cce9 (bug 1571567)
Backed out changeset 777d79076e99 (bug 1571567)
Backed out changeset fbdf6b75a484 (bug 1571567)
Backed out changeset e2ed4620f232 (bug 1571567)
Backed out changeset 2c67015f12c6 (bug 1571567)
Backed out changeset 7ec086bb5bd5 (bug 1571567)
Backed out changeset 42df735c8556 (bug 1571567)
Backed out changeset 7d5fc57b2809 (bug 1571567)
Backed out changeset 606bafb8211c (bug 1571567)
2019-08-08 18:13:54 +03:00
Jared Wein 30f7f34419 Bug 1571567 - Fix no-fallthrough errors in /toolkit. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D40746

--HG--
extra : moz-landing-system : lando
2019-08-08 01:38:50 +00:00
Tim Nguyen f9b01dd5b0 Bug 1565921 - Load editMenuOverlay.js and globalOverlay.js on documents with HTML inputs. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D38018

--HG--
extra : moz-landing-system : lando
2019-07-15 11:14:44 +00:00
Victor Porof 463c2994cb Bug 1561435 - Format toolkit/profile/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : fbfc0ec0d915eb554382401ed6b6f28f1d001f92
2019-07-05 11:17:27 +02:00
Tim Nguyen 0afde289d9 Bug 1562240 - Remove XUL textbox from toolkit/profile/content/createProfileWizard.xul. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D36339

--HG--
extra : moz-landing-system : lando
2019-07-01 15:27:52 +00:00
Alexander Surkov 61cc7103cf Bug 1544916 - migrate dialog binding to Custom Element r=bgrins,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D30289

--HG--
rename : toolkit/content/widgets/dialog.xml => toolkit/content/widgets/dialog.js
extra : moz-landing-system : lando
2019-06-04 17:28:16 +00:00
Andrew Swan ade3cfe17e Bug 1547463 Explicit load customElements.js where necessary r=bgrins
commonDialog.xul and profileDowngrade.xul both may load early enough
during startup that they don't automatically get customElements.js.
The quick workaround here is just to load it explicitly in those documents.

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

--HG--
extra : moz-landing-system : lando
2019-04-29 18:14:17 +00:00
Brian Grinstead 08992fb8e8 Bug 1546501 - Remove unnecessary type attributes (i.e. [type="application/javascript"]) on non-test script tags r=mossop
This is an autogenerated commit, generated with https://bug1546501.bmoattachments.org/attachment.cgi?id=9060222

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

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

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

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

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

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

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

--HG--
extra : rebase_source : b9fb01c5f2faaf7d534800b700bb02b8c88af023
extra : source : ad5ac4d5c8f7240809a205be2960924813f1e705
2019-03-05 12:51:44 -08:00
Jonas Allmann df684f89db Bug 1498569, Replace wizard.xml attributes with event listeners, r=Gijs
* Removed all occurences of custom onwizard* attributes.
* Removed custom handler code from wizard.xml.
* Updated eval()-usage whitelist.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 08:56:25 +00:00
Jonas Allmann 1db9db7604 Bug 1529231, Remove all occurences of ondialogaccept and ondialogcancel, r=Gijs
Removed all occurences of ondialogaccept.
Removed all occurences of ondialogcancel.
Replaced all removed attributes with event handlers.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 18:34:02 +00:00
Dave Townsend c5f24f32dc Backed out changeset 455e57b39067 from bug 1530615 for causing bug 1534186. r=backout 2019-03-11 08:43:20 -07:00
Dave Townsend 1b23785c0c Bug 1533677: Don't lock the profile when selecting one from the profile manager until we've attempted to remote our arguments to an existing instance. r=Gijs
If the user selects a profile we will either remote the current arguments to it
or we'll restart into it. Either way we don't need to check if the profile is
locked at this point.

We also don't need to double check if the profile is missing since bug 1530615
landed.

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

--HG--
extra : moz-landing-system : lando
2019-03-08 20:43:42 +00:00
Dave Townsend c1a0af0769 Bug 1530615: Remove missing profiles from the profile service when showing the profile manager or about:profiles. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D22146

--HG--
extra : moz-landing-system : lando
2019-03-07 18:22:29 +00:00
Jonas Allmann 9e8cf63b9b Bug 1525636, Replace ondialogextra1 and ondialogextra2 attributes with event handlers, r=Gijs
Remove all occurences of the above mentioned attributes and replace them by event handlers.
Minor changes to consuming functions to preserve functionality.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 11:11:31 +00:00
Magnus Melin 1584297cc4 Bug 1525889 - make sure profileDowngrade doesn't break when sync is not enabled for an application. r=mossop 2019-02-11 23:04:09 +02:00
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 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 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 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
Kris Maglione e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

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

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Dave Townsend 9136559bb3 Bug 1493202: Don't store offline startup state in nsIToolkitProfileService. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D6503

--HG--
extra : moz-landing-system : lando
2018-09-21 16:50:02 +00:00
Kris Maglione 6adf9223ce Bug 1484496: Part 5b - Convert toolkit/ nsISimpleEnumerator users to use JS iteration. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D3730

--HG--
extra : rebase_source : 935f166ec2c6581ba6f3fffe912404e81c8dc3d6
extra : histedit_source : ba701801de5205dcce6cfdccabe7b26aa7c7859c
2018-08-18 19:27:50 -07:00
Paolo Amadini c22cacbe2c Bug 1480158 - The profile manager no longer updates the profile name after a rename. r=mak
--HG--
extra : rebase_source : 5cfaf584771bd7b1c2fc972d9b6873f4ebf818f1
extra : amend_source : 9657c1a290fdb43965053e71519d39fb6d64733f
2018-08-06 13:17:38 +01:00
Paolo Amadini 8adbeb4164 Bug 1475916 - Use em instead of px for list heights to keep font scaling into account. r=bgrins
MozReview-Commit-ID: FDMwrHg27ad

--HG--
extra : rebase_source : 66c957f2516e4cded7c6e73da5ea30080ab2d37b
2018-07-23 10:07:38 +01:00
Paolo Amadini 8891a2360e Bug 1475202 - Fix double-click handler to work with non-anonymous content in the "richlistitem" element. r=bgrins
MozReview-Commit-ID: 422kMknrUUH

--HG--
extra : rebase_source : f56f7bdf1a6aaf8b71c07edd2d671f0d12970a3e
2018-07-20 13:23:12 +01:00
Paolo Amadini 6e680744e4 Bug 1472750 - Convert simple "listbox" instances to "richlistbox". r=bgrins
These simple lists are converted to normal layout by setting a fixed height that isn't a multiple of the row height, which is already the case for most other lists in the user interface.

MozReview-Commit-ID: 1tV4MIoRp0d

--HG--
rename : toolkit/themes/windows/global/richlistbox.css => toolkit/themes/linux/global/richlistbox.css
extra : rebase_source : d6c53aa341bc5711f6ecf16485b5bd03d4f9caf2
extra : intermediate-source : 1355778929be17234ca3ced4f9930f05fb2cf20a
extra : source : 2e4527da76bba52492353aa5a40c128b09f389f1
2018-07-09 10:38:42 +01:00
Paolo Amadini 437b57300f Bug 1435688 - Part 3 - Remove "listitem-iconic" from the profile selection dialog. r=bgrins
MozReview-Commit-ID: 8IWXdyP83rM

--HG--
extra : rebase_source : d646ac7fb282b470d7179722be2c56887b6e573f
2018-06-23 21:18:16 +01:00
Brian Grinstead 5fa9aadc74 Bug 1462798 - Create a base custom element class that shares the parseXULToFragment helper;r=Paolo
MozReview-Commit-ID: IG84xKxO9Wc

--HG--
extra : rebase_source : bc46d1f4dcfee66523a2ede8ec32ef9014cf170c
2018-05-19 13:56:06 -07:00
Brian Grinstead 9cb018a075 Bug 1459985 - Include stringbundle Custom Element registration inside profile manager;r=mossop
Currently stringbundle.js is loaded in response to the document-element-inserted message
in MainProcessSingleton. But since the profile manager loads before that script is run,
we don't register the Custom Element. This fixes that by explicitly including the script.

MozReview-Commit-ID: GqQk1VUv0Df

--HG--
extra : rebase_source : 1d958661865591b3e4260d566f83c5eb16bfa1b5
2018-05-08 09:52:06 -07:00
Florian Quèze f3ee8dd20b Bug 1433175 - more aggressive scripted patch to replace remaining Components.classes, Components.interfaces, Components.utils and Components.results uses with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:35 +01:00
Dave Townsend 78df2ae267 Bug 1438620: Don't offer to delete profiles that are currently in use. r=florian
MozReview-Commit-ID: UKBCUeOdnZ

--HG--
extra : rebase_source : ce983345016c69e9e80d6c3552e975ad32349197
extra : source : 0e4ca536c7bc59511d480e362594e38f6c121c98
2017-11-30 14:39:34 -08:00
Kris Maglione 918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou 9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00