Commit graph

180 commits

Author SHA1 Message Date
Hector Zhao
e63cfab73a Bug 1659730 - Update 360se migrator to work with v9+. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D88530
2021-12-22 10:48:49 +00:00
Butkovits Atila
ab2d98e3e9 Backed out changeset dc43e9b0ba50 (bug 1659730) for causing failures at test_360seMigrationUtils.js. CLOSED TREE 2021-12-21 15:46:44 +02:00
Hector Zhao
ddaca4da68 Bug 1659730 - Update 360se migrator to work with v9+. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D88530
2021-12-21 11:37:11 +00:00
Emilio Cobos Alvarez
efe2305b8d Bug 1742696 - Opt-in a bunch of about:pages to dark system colors / form controls. r=Gijs,preferences-reviewers,webcompat-reviewers,twisniewski
Privileged pages do this automatically via:

  https://searchfox.org/mozilla-central/rev/aa8c75b83f636948f708986173965c84cae8c25f/widget/nsXPLookAndFeel.cpp#1179-1183

So this makes everything more consistent. Known exceptions:

 * Pocket panels (as those don't seem to support dark mode)
 * about:reader (because it has its own dark mode handling)

Differential Revision: https://phabricator.services.mozilla.com/D132019
2021-11-25 21:24:43 +00:00
Jake Gealer
bda2b34587 Bug 1557835 - Allow migration from Brave r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D131731
2021-11-23 05:26:09 +00:00
Gijs Kruitbosch
5f4358c1c5 Bug 1735140 - also prompt for bookmark access permission for Safari on startup migrations, r=mak
Startup migrations pass the "ALL" constant, which unlike what you might expect is
not just an OR'd together set of all the other flags - so it needs to be checked
explicitly.

Differential Revision: https://phabricator.services.mozilla.com/D129282
2021-10-25 13:44:07 +00:00
pestanoah
185e859442 Bug 1699593 - Removed default icon styles from .title class. r=mhowell,mtigley,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D125327
2021-09-14 14:42:44 +00:00
Harry Twyford
f4b848daab Bug 1708209 - Use native checkboxes in all native windows. r=Gijs,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D113678
2021-04-28 20:21:34 +00:00
Michelle Goossens
1a08eedf0c Bug 1693815 - Remove illustrations on error pages r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D108883
2021-03-24 21:48:48 +00:00
ankur
32bf182577 Bug 1695253 - Replaced DTD/xhtml1-strict.dtd which lead to broken network loads. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D109379
2021-03-24 16:52:06 +00:00
Tim Nguyen
da94fac78a Bug 1697792 - Clean up info SVG icons in the codebase. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D108001
2021-03-12 09:53:16 +00:00
Csoregi Natalia
8308087290 Backed out changeset dcc686463127 (bug 1697792) for failures on browser_parsable_css.js- icon related. CLOSED TREE 2021-03-12 05:21:41 +02:00
Tim Nguyen
3b6042742a Bug 1697792 - Clean up info SVG icons in the codebase. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D108001
2021-03-11 20:47:37 +00:00
Itiel
810c0fb7c5 Bug 1689480 - Changes to about:welcomeback radiobuttons to accomodate for the added margin-block r=ntim
This also gets rid of the non clickable area between the radiobutton and its label.

Differential Revision: https://phabricator.services.mozilla.com/D103393
2021-02-12 17:05:26 +00:00
Gijs Kruitbosch
79cf5eb5d9 Bug 1665442 - cleanup in browser migration code while passing by, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D93617
2020-10-20 13:04:40 +00:00
Gijs Kruitbosch
772244bb90 Bug 1493103 - allow users to import bookmarks from Safari without granting full disk access, r=jaws,Mardak,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D91485
2020-10-06 15:45:46 +00:00
Cameron McCormack
dd61f595eb Bug 1620467 - Part 4: Change internal uses of -moz-appearance to appearance and -moz-default-appearance. r=emilio,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,ntim,agi,miketaylr
Uses of `-moz-appearance: none` are changed to `appearance: none`.

Uses of other values that are simply reverting the appearance back to
its default are changed to `appearance: auto`.

Uses of values in UA sheets that are defining the inherent appearance of
widgets are changed to:

  appearance: auto;
  -moz-default-appearance: <value>;

since those values are either no longer supported on (-moz-)appearance,
or are still supported but only in some limited form.

There are some uses of `-moz-appearance: textfield` on <input
type=number> elements that are renamed to `appearance: textfield`.

Differential Revision: https://phabricator.services.mozilla.com/D83430
2020-07-16 22:04:14 +00:00
Gijs Kruitbosch
d523471eac Bug 1644863 - fix trailing whitespace in browser/toolkit/devtools/mobile frontend code files, r=mossop,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D79201
2020-06-17 22:40:53 +00:00
Gijs Kruitbosch
caf43f579b Bug 1645165 - fix header labels in migration dialog, r=MattN,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D79383
2020-06-12 12:25:47 +00:00
Gijs Kruitbosch
6f1da44727 Bug 1643321 - fix missing/differently-identified fluent localization of browser profile migration data types, r=MattN,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D78412
2020-06-08 12:00:38 +00:00
Riley Byrd
ad82a96dad Bug 1518234 - Migrate migration wizard to Fluent r=flod,Gijs,fluent-reviewers
Based on a patch originally written by Ian Kirkpatrick <kirkpa47@msu.edu>

Differential Revision: https://phabricator.services.mozilla.com/D17393
2020-06-02 06:46:09 +00:00
Adam Gashlin
f66d880b9e Bug 1634115 - Send telemetry when refresh is requested from uninstaller. r=MattN,mhowell,chutten
Differential Revision: https://phabricator.services.mozilla.com/D76234
2020-05-26 21:47:58 +00:00
Ed Lee
a6fbc5aae4 Bug 1618311 - Contextually suggest importing passwords as an autocomplete entry r=MattN,fluent-reviewers,flod
Add importableLogins autocomplete items that show for a site when there's chromium-based logins, no saved logins, and appropriate experiment state. Default behavior is unchanged with default "" pref value, and new behavior can be turned on with "import" pref value.

Differential Revision: https://phabricator.services.mozilla.com/D72096
2020-04-28 21:59:34 +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
Gijs Kruitbosch
1ed2ab8ca7 Bug 1625938 - work around fluent bug in wizard code, r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D69246

--HG--
extra : moz-landing-system : lando
2020-04-01 22:21:04 +00:00
Ciure Andrei
16d71de78e Backed out changeset 9ce55318603b (bug 1625938) for causing DOMLocalization.cpp asertion failures CLOSED TREE 2020-04-01 23:24:54 +03:00
Gijs Kruitbosch
ea1d8695e4 Bug 1625938 - work around fluent bug in wizard code, r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D69246

--HG--
extra : moz-landing-system : lando
2020-04-01 18:06:12 +00:00
Tim Nguyen
80ddb04e75 Bug 1624865 - Scope wizard.css to wizard custom element. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D68205

--HG--
extra : moz-landing-system : lando
2020-03-28 05:24:10 +00:00
Arthur Iakab
c43e09d0b4 Backed out changeset 753c5e83ea11 (bug 1624865) for causing browser chrome failures and turning Bug 1594440 into perma.
CLOSED TREE
2020-03-27 00:56:05 +02:00
Tim Nguyen
048b3d297e Bug 1624865 - Scope wizard.css to wizard custom element. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D68205

--HG--
extra : moz-landing-system : lando
2020-03-26 19:38:03 +00:00
Matthew Noorenberghe
68e8a0ebd6 Bug 1608513 - Chromium Edge migrator support on Windows and macOS. r=Gijs
Microsoft supports using both old and new Edge in side-by-side (SxS) mode so both migrators should be supported if they have data.

Also rename the existing EdgeHTML Edge migrator to "Microsoft Edge Legacy" to allow disambiguation. This is the name Microsoft uses in side-by-side (SxS) mode.

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

--HG--
extra : moz-landing-system : lando
2020-01-22 18:35:11 +00:00
Matthew Noorenberghe
8412579de5 Bug 1605491 - Add Chromium Edge Beta migrator support on Windows. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D59542

--HG--
extra : moz-landing-system : lando
2020-01-11 00:05:09 +00:00
Matthew Noorenberghe
40f9dcbaa4 Bug 1605491 - Add Chromium Edge Beta migrator support on macOS. r=Gijs
Re-using all of the import logic from our Chrome/Chromium migrator.

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

--HG--
extra : moz-landing-system : lando
2020-01-10 21:40:30 +00:00
premk
4847257890 Bug 1523179 - Support Chrome Beta import on Windows. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D59541

--HG--
extra : moz-landing-system : lando
2020-01-10 20:00:10 +00:00
Matthew Noorenberghe
162a23e550 Bug 1605871 - Delete unused importBookmarks/importFromBookmarks code/string for the migration window. r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D58198

--HG--
extra : moz-landing-system : lando
2019-12-24 17:03:47 +00:00
Emma Malysz
57215abe07 Bug 1601094, rename the remaining .xul files in browser/ to .xhtml r=marionette-reviewers,whimboo,mossop
Differential Revision: https://phabricator.services.mozilla.com/D55751

--HG--
rename : browser/base/content/aboutDialog.xul => browser/base/content/aboutDialog.xhtml
rename : browser/base/content/newInstall.xul => browser/base/content/newInstall.xhtml
rename : browser/base/content/pageinfo/pageInfo.xul => browser/base/content/pageinfo/pageInfo.xhtml
rename : browser/base/content/safeMode.xul => browser/base/content/safeMode.xhtml
rename : browser/base/content/sanitize.xul => browser/base/content/sanitize.xhtml
rename : browser/base/content/titlebar-items.inc.xul => browser/base/content/titlebar-items.inc.xhtml
rename : browser/base/content/webext-panels.xul => browser/base/content/webext-panels.xhtml
rename : browser/base/content/webrtcIndicator.xul => browser/base/content/webrtcIndicator.xhtml
rename : browser/components/downloads/content/contentAreaDownloadsView.xul => browser/components/downloads/content/contentAreaDownloadsView.xhtml
rename : browser/components/migration/content/migration.xul => browser/components/migration/content/migration.xhtml
rename : browser/components/places/content/bookmarkProperties.xul => browser/components/places/content/bookmarkProperties.xhtml
rename : browser/components/places/content/bookmarksSidebar.xul => browser/components/places/content/bookmarksSidebar.xhtml
rename : browser/components/places/content/historySidebar.xul => browser/components/places/content/historySidebar.xhtml
rename : browser/components/places/content/places.xul => browser/components/places/content/places.xhtml
rename : browser/components/shell/content/setDesktopBackground.xul => browser/components/shell/content/setDesktopBackground.xhtml
extra : moz-landing-system : lando
2019-12-11 00:27:19 +00:00
Brian Grinstead
968ce5f08d Bug 1592369 - Rewrite [align="left"] to [align="start"] and [align="right"] to [align="end"] in XUL elements r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D51164

--HG--
extra : moz-landing-system : lando
2019-11-19 20:30:34 +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
Christoph Kerschbaumer
30285b4a58 Bug 1499354: Add object-src 'none' to the CSP of all about: pages. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D46950

--HG--
extra : moz-landing-system : lando
2019-09-26 16:22:41 +00:00
Christoph Kerschbaumer
110a817c1a Bug 1497209: Apply Meta CSP to about:sessionrestore and about:welcomeback. r=Gijs,vporof
Differential Revision: https://phabricator.services.mozilla.com/D38081

--HG--
extra : moz-landing-system : lando
2019-07-17 11:22:35 +00:00
Victor Porof
1f830c96da Bug 1561435 - Format browser/components/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : d3afcafdce650a6f36cebbc126ee93b17f13cf52
2019-07-05 09:53:32 +02:00
Brendan Dahl
543c10a1d2 Bug 1551320 - Replace all CreateElement calls in XUL documents with CreateXULElement. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D31295

--HG--
extra : moz-landing-system : lando
2019-05-20 16:50:28 +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
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
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
Qinghao_Jack_Song
79d49a6b70 Bug 1507301 - Migrate about:sessionrestore and about:welcomeback to use Fluent for localization r=Gijs,flod,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D11994

--HG--
extra : moz-landing-system : lando
2018-11-19 22:01:58 +00:00
Brian Grinstead
a8eabad78e Bug 1501845 - Load customElements.js inside migration.xul to fix migration UI when running with commandline;r=paolo
This is another case of a document getting loaded before MainProcessSingleton,
similar to profile manager. There's another wrinkle here, though. The migration
UI can also be loaded _after_ startup (through Bookmarks manager), which is
actually the primary way this UI is surfaced. So we need to also handle customElements.js
getting loaded twice into the same window to avoid attempting to redefine everything.

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

--HG--
extra : moz-landing-system : lando
2018-10-26 17:22:15 +00:00