Commit Graph

257 Commits

Author SHA1 Message Date
Emma Malysz
e1c771a81c Bug 1702144, ensure recently closed tabs button is disabled when there are none r=Gijs
Removes macos rule that overrides disabled css rules
Removes early return to ensure the menu is created correctly

Differential Revision: https://phabricator.services.mozilla.com/D111919
2021-04-14 21:01:46 +00:00
Itiel
02ceed10d8 Bug 1702220 - Fix Screenshots button hover state in the overflow panel r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D110570
2021-04-01 21:59:34 +00:00
Francesco Lodolo (:flod)
a26898ae58 Bug 1702254 - Use "Add-ons and themes" and "Settings" in customizable widgets, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D110431
2021-04-01 16:48:10 +00:00
Emma Malysz
a5a8f40979 Bug 1692176, add restore previous session to history panel r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D110178
2021-03-31 16:22:52 +00:00
Emma Malysz
433221554d Bug 1700431: take syncing state into account when setting datal10nid for sync now buttons r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D109540
2021-03-24 17:02:29 +00:00
Mike Conley
be30e09964 Bug 1697617 - Update Synced Tabs menu for Proton. r=emalysz,flod,desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D109404
2021-03-24 07:20:46 +00:00
Emma Malysz
79f4e7d2a2 Bug 1691464, remove screenshot feature from page action panel and move to dedicated widget r=fluent-reviewers,sfoster,flod
The widget is only added if screenshots are enabled (similar behavior to the fxa
toolbar button).
Button must take into account onLocationChange due to the fact that screenshots
extension is not available on about pages.
Adds a test for the disabled state, with more screenshot tests intended in the future

Differential Revision: https://phabricator.services.mozilla.com/D107727
2021-03-17 20:19:23 +00:00
Emma Malysz
0c8b7ae760 Bug 1698492, dynamically set data-l10n-id attribute for sync now buttons when panel views are showing r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D108506
2021-03-16 20:24:29 +00:00
Emma Malysz
2fe7c8fe0d Bug 1690131: create proton-specific fxa menu r=mconley,markh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D104937
2021-02-23 15:37:12 +00:00
Mike Conley
7b78f723f5 Bug 1692522 - Temporarily re-introduce keyboard shortcut display in Recently Closed Win/Tab submenu. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D105336
2021-02-16 16:48:18 +00:00
Mike Conley
7e1ba6d3c8 Bug 1691152 - Apply latest Proton stylings to AppMenu. r=ewright
Depends on D104749

Differential Revision: https://phabricator.services.mozilla.com/D105027
2021-02-12 17:59:50 +00:00
Emma Malysz
a5a39f1ac6 Bug 1689378: update recently closed windows and tabs panels r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D103962
2021-02-09 01:08:38 +00:00
Emma Malysz
9b9a274040 Bug 1689372, simplify history panel r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D103535
2021-02-05 22:29:30 +00:00
Mihai Alexandru Michis
ca51b2e40a Backed out changeset dfbbd3864b2f (bug 1689372) for causing bc failures in browser_history_recently_closed.js
CLOSED TREE
2021-02-05 22:15:25 +02:00
Emma Malysz
f093eaf48b Bug 1689372, simplify history panel r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D103535
2021-02-05 18:01:55 +00:00
Noemi Erli
cc16aca188 Backed out changeset 14a7af25b9f4 (bug 1689372) for causing failures in browser_history_recently_closed.js 2021-02-05 02:36:20 +02:00
Emma Malysz
fcad90f633 Bug 1689372, simplify history panel r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D103535
2021-02-04 23:19:28 +00:00
Csoregi Natalia
99dc2b7d0d Backed out changeset a6d2e03d3069 (bug 1689372) for failures on browser_history_recently_closed.js. CLOSED TREE 2021-02-04 21:08:03 +02:00
Emma Malysz
9f887e0335 Bug 1689372, simplify history panel r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D103535
2021-02-04 17:40:18 +00:00
Emma Malysz
94353eb932 Bug 1648640, remove character encoding panel view, panic view, SSB view, more view, and what's new panel view from main panel and place in template r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D81621
2020-07-09 00:35:30 +00:00
Emma Malysz
12377eed55 Bug 1648198: Remove recently closed tabs and windows panels from main view and place in template r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D80717
2020-06-30 03:44:56 +00:00
Henri Sivonen
0dc7ead757 Bug 1603712 - Remove intl.charset.detector.ng.enabled pref and resulting dead code. r=Gijs,fluent-reviewers,valentin,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D79101
2020-06-15 15:32:21 +00:00
Emma Malysz
1697ed60aa Bug 1590573 - Followup: Revert changes on elements that don't use MozXULElement. CLOSED TREE
CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D70261
2020-04-08 21:38:56 +00:00
Emma Malysz
e4397c159d Bug 1590573, create a unified approach for caching fragments in our Custom Elements r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D58866
2020-04-08 16:17:50 +00:00
Razvan Maries
155eb99120 Backed out changeset 6b7c81561ecc (bug 1590573) for marionette perma failures on test_refresh_firefox.py. CLOSED TREE 2020-04-08 07:43:49 +03:00
Emma Malysz
5944c8268e Bug 1590573, create a unified approach for caching fragments in our Custom Elements r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D58866
2020-04-07 23:56:45 +00:00
Henri Sivonen
b08d4fd730 Bug 1604158 - Hide the encoding detector submenu in hamburger/toolbar cases when chardetng is enabled. r=emk
Differential Revision: https://phabricator.services.mozilla.com/D57305
2019-12-16 13:43:15 +00:00
Mark Hammond
b2217d6f85 Bug 1598979 - make the device name in the sync-tabs menu visible to screen readers. r=Gijs,Jamie
Differential Revision: https://phabricator.services.mozilla.com/D56677
2019-12-11 23:45:55 +00:00
Edouard Oger
baf6a2d43c Bug 1593065 - Remove XBL workaround for setting deck index. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D51319
2019-10-31 22:10:51 +00:00
monikamaheshwari
edb30ffaec Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D45629
2019-09-14 09:39:26 +00:00
Victor Porof
8eb72fd3fc Bug 1561435 - Format browser/components/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36042
2019-07-05 09:53:32 +02:00
Henri Sivonen
22be3f1c4f Bug 1543077 part 4 - Have only one item for Japanese in the Text Encoding menu. r=Gijs,emk.
Differential Revision: https://phabricator.services.mozilla.com/D28634
2019-06-03 15:30:41 +03:00
Mihai Alexandru Michis
c1c0700d91 Backed out 6 changesets (bug 1543077) for causing bc failures at docshell/test/browser/browser_bug1543077.js
Backed out changeset f593045cc48f (bug 1543077)
Backed out changeset 25449ba8aceb (bug 1543077)
Backed out changeset ccc438262e29 (bug 1543077)
Backed out changeset 4573c25b1ce0 (bug 1543077)
Backed out changeset 1cbaafb9373a (bug 1543077)
Backed out changeset 1a0e7ced8e47 (bug 1543077)
2019-05-27 12:00:21 +03:00
Henri Sivonen
74b9548f55 Bug 1543077 part 4 - Have only one item for Japanese in the Text Encoding menu. r=emk,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D28634
2019-05-27 07:55:27 +00:00
Trushita
19b14883c7 Bug 1494948: Removed FX_PREFERENCES_OPENED_VIA probe and origin parameter for openPreferences r=jaws,chutten
Removed FX_PREFERENCES_OPENED_VIA probe as it expired in 63.Origin parameter for openPreferences has also been removed.

Differential Revision: https://phabricator.services.mozilla.com/D26795
2019-04-09 20:40:26 +00:00
Brian Grinstead
4323ff9bed Bug 1495861 - Lazify panic panel and convert it to use FTL r=flod,Gijs
This is the only <radiogroup> and <radio> consumer in browser.xul.
By making the DOM get constructed on demand, we can avoid connecting
radios at startup, and it also gives us a chance to migrate the
strings to Fluent.

Differential Revision: https://phabricator.services.mozilla.com/D24914
2019-04-05 21:16:26 +00:00
Kris Maglione
856fa07b17 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
2019-01-17 10:18:31 -08:00
Gijs Kruitbosch
5cf14463b7 Bug 1491243 - remove subscribe button, menu items and subscription section out of feed previews, r=florian
This removes subscribe UI and functionality from the main browser window,
the page info window, and from feed previews. It may leave some stray strings
in subscribe.properties/dtd, which will be removed in bug 1477669 when the
preview code goes away completely.

Differential Revision: https://phabricator.services.mozilla.com/D5982
2018-09-18 06:06:27 +00:00
Coroiu Cristina
7711c0dc3c Backed out changeset d61965849528 (bug 1491243) for en-US failures at testing\firefox-ui\tests\puppeteer\test_page_info_window.py 2018-09-17 22:23:58 +03:00
Gijs Kruitbosch
8b64dcadcd Bug 1491243 - remove subscribe button, menu items and subscription section out of feed previews, r=florian
This removes subscribe UI and functionality from the main browser window,
the page info window, and from feed previews. It may leave some stray strings
in subscribe.properties/dtd, which will be removed in bug 1477669 when the
preview code goes away completely.

Differential Revision: https://phabricator.services.mozilla.com/D5982
2018-09-17 18:06:05 +00:00
Mark Banner
462116b7f9 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

Differential Revision: https://phabricator.services.mozilla.com/D4439
2018-08-31 05:59:17 +00:00
Tim Nguyen
37a93bb3d3 Bug 1485996 - Fix library panel with MOZ_BROWSER_XHTML on. r=bgrins 2018-08-24 15:21:28 +01:00
Brian Grinstead
c8b3483e82 Bug 1479538 - Rewrite non-test callers of document.createElementNS(XUL_NS, ...) to use document.createXULElement(...);r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D3275
2018-08-14 16:22:44 +00:00
Brian Grinstead
1c86f46ecd Bug 1479125 - Migrate calls that expect an element to be returned to use element variation firstChild etc to firstElementChild etc;r=Paolo
This allows the JS to work in HTML documents, where whitespace is preserved. In XUL
documents, whitespace is ignored when parsing so text nodes are generally not returned.

The following changes were made, with manual cleanups as necessary (i.e. when firstChild actually
refers to a text node, or when firstChild is used in a loop to empty out an element):

  firstChild->firstElementChild
  lastChild->lastElementChild
  nextSibling->nextElementSibling
  previousSibling->previousElementSibling
  childNodes->children

MozReview-Commit-ID: 95NQ8syBhYw
2018-08-08 15:22:53 -07:00
Mark Banner
efb967ef3e Bug 1453667 - Remove BrowserUITelemetry from other parts of browser/ r=Gijs
MozReview-Commit-ID: FG1PiVPBY5U
2018-06-06 19:42:19 +01:00
Kris Maglione
b3990a2d91 Bug 1456686: Part 1 - Fix unused and shadowed explicit imports. r=standard8
These issues were previously ignored due to the nature of our global import
rules. They need to be fixed before that rule can be updated.

MozReview-Commit-ID: DCChktTc5TW
2018-04-24 20:18:09 -07:00
Andrea Marchesini
64b59e9bf0 Bug 1252998 - StorageActivityService - part 5 - nsIStorageActivityService::getActiveOrigins, r=asuth 2018-04-18 18:19:13 +02:00
Jonathan Kingston
ba541a6372 Bug 1453528 - Fix opening of synced tabs with correct principal. r=markh
MozReview-Commit-ID: 6MGXjsg3HmV
2018-04-12 18:06:13 +01:00
Jonathan Kingston
9b880fdc20 Bug 1374741 - Within browser/ make openUILinkIn() provide the correct triggeringPrincipal. r=gijs
MozReview-Commit-ID: 1NQrlWzIBja
2018-02-21 14:28:48 +00:00
Felipe Gomes
eada08dc14 Bug 1429161. Policy follow-up: hide instead of disabling the Forget button. r=jaws 2018-04-04 16:22:24 -03:00