Commit Graph

23472 Commits

Author SHA1 Message Date
Gijs Kruitbosch
b58a9a8eca Bug 1652641 - use consistent access key for tab context menu's items to close 1 tab or selected tabs, r=dao,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D83628
2020-07-20 16:30:47 +00:00
Kris Taeleman
5dff16d2f3 Bug 1652877 - Make ctrl-shift-minus zoom out like ctrl-shift-plus zooms in. r=botond,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D83570
2020-07-18 06:14:19 +00:00
Narcis Beleuzu
09c4f9d7e8 Backed out changeset 703fa1371dd4 (bug 1652641) for bc failures on browser_multiselect_tabs_close.js . CLOSED TREE 2020-07-20 17:22:20 +03:00
Gijs Kruitbosch
e21c0bc560 Bug 1652641 - use consistent access key for tab context menu's items to close 1 tab or selected tabs, r=dao,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D83628
2020-07-20 13:18:28 +00:00
Jared Wein
648690d7a5 Bug 1649250 - Add experimental features that were introduced in Firefox Nightly 70 and higher. r=jbauman,kvark,jwatt,mayhemer,emilio,masayuki,baku,gl,preferences-reviewers,jdescottes,Pike
Differential Revision: https://phabricator.services.mozilla.com/D81623
2020-07-20 10:05:58 +00:00
Andreea Pavel
e9ae535d2c Bug 1615477 - re-enable browser_fullscreen_enterInUrlbar.js on fission r=cpeterson
Differential Revision: https://phabricator.services.mozilla.com/D83862
2020-07-17 16:31:57 +00:00
Emma Malysz
fbe0b5e6ba Bug 1648637, remove fxa panel from main view and place in template r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D81637
2020-07-17 20:17:32 +00:00
Mike Conley
98b640b8d9 Bug 1649032 - Add a test that ensures that we stop all streams if the WebRTC indicator is closed. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D82990
2020-07-17 01:22:23 +00:00
Mike Conley
be5766d15a Bug 1649032 - If the user manages to close the WebRTC indicator, close all of the active streams. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D82989
2020-07-17 01:22:10 +00:00
Mark Striemer
2027ee64c6 Bug 1652627 - Setup a pref for tab modal print UI r=Gijs,sfoster
This creates the print.modal_print_preview.enabled pref to manage
whether the tab modal print UI should be used and creates some
files we'll need for the UI to use.

Differential Revision: https://phabricator.services.mozilla.com/D83445
2020-07-16 22:16:22 +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
45c61eb36b Bug 1652614 - update the initial 'Tracking Content' state correctly when the protection panel shows, r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D83675
2020-07-16 14:32:05 +00:00
Dão Gottwald
4dae718035 Bug 1652473 - Create "Show All x Tabs" button without going through ctrlTab.makePreview. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D83620
2020-07-16 11:44:23 +00:00
Christoph Kerschbaumer
3d7ee5e969 Bug 1652997: Package all devtools css files and load them using the internal chrome: protocol. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D83656
2020-07-15 16:02:28 +00:00
Kashav Madan
46c04e90f2 Bug 1596738 - Don't focus the tab's content area for restores triggered by DocumentChannel process switches, r=dao,nika,mixedpuppy
This causes the browser to steal focus from any element that was focused prior
to the completion of the remoteness flip. This is particularly a problem for
fission because every cross-origin navigation requires a process switch.

This code is still necessary for "normal" session restores (see bug 1410591),
but focus is handled elsewhere for remote navigations.

Differential Revision: https://phabricator.services.mozilla.com/D82783
2020-07-15 23:09:09 +00:00
Bogdan Tara
d115b9a6ea Backed out 2 changesets (bug 1649032) for leakcheck failures CLOSED TREE
Backed out changeset ef80a597db37 (bug 1649032)
Backed out changeset a8462c37bef1 (bug 1649032)
2020-07-16 00:37:06 +03:00
Mike Conley
944cd78509 Bug 1652466 - Add an about:config preference to hide the new global sharing indicator. r=pbz
This works by hiding the window instead of skipping opening it. This seems safer, since
there are parts of webrtcUI that expect to call functions on the window.

Differential Revision: https://phabricator.services.mozilla.com/D83348
2020-07-15 10:40:04 +00:00
Mike Conley
99827f3d58 Bug 1649032 - Add a test that ensures that we stop all streams if the WebRTC indicator is closed. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D82990
2020-07-13 18:03:14 +00:00
Mike Conley
974f560325 Bug 1649032 - If the user manages to close the WebRTC indicator, close all of the active streams. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D82989
2020-07-15 10:22:12 +00:00
Gijs Kruitbosch
ec7baec1d8 Bug 1651636 - reset the address bar when beforeunload prompts close, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D83213
2020-07-15 19:58:34 +00:00
Bogdan Tara
d796388359 Backed out changeset 88fef29ec070 (bug 1651636) for browser_clearSiteData.js failures CLOSED TREE 2020-07-15 22:37:08 +03:00
Gijs Kruitbosch
dcdaac0f94 Bug 1651636 - reset the address bar when beforeunload prompts close, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D83213
2020-07-15 17:51:09 +00:00
Frederik Braun
a7153982e8 Bug 1366973: Rename security flags to not contain DATA anymore r=geckoview-reviewers,ckerschb,snorp
Differential Revision: https://phabricator.services.mozilla.com/D83490
2020-07-15 11:20:45 +00:00
Emma Malysz
43d4ef1907 Bug 1648636, remove remote tabs panel from main view and place in template r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D81938
2020-07-14 13:55:29 +00:00
julianwels
1e1856b4fe Bug 1647336 - Fixed incorrect icon and site-identity information on HTTPS-Only Error Page. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D83134
2020-07-14 14:07:50 +00:00
Dimi Lee
0ad0e5b18c Bug 1628305 - Fallback to use host or spec when failing to get base domain in SafeBrowsingNotificationBox r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D82492
2020-07-14 06:59:18 +00:00
Tarek Ziadé
7dfca9db55 Bug 1644778 - add a mozperftest to measure browser.xhtml DOM size, r=tarek,dhouse,sparky
Differential Revision: https://phabricator.services.mozilla.com/D79152
2020-07-13 15:44:38 +00:00
Sebastian Streich
38264715e9 Bug 1633710 - Move js uri.host to principal r=ckerschb,preferences-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D73242
2020-07-13 18:35:01 +00:00
Vlad Filippov
6da969dcd2 Bug 1652136 - Change device.name to device.id logging in send tab. r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D83188
2020-07-13 01:12:12 +00:00
Micah Tigley
ae6ce2b871 Bug 1634497 - Remove browser.outerBrowser checks used for old-RDM. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D83132
2020-07-10 16:55:35 +00:00
Emilio Cobos Álvarez
61befc8e91 Bug 1650703 - Don't double-apply text zoom for <select> popups. r=Gijs
The computed font-size already has the zoom value in that case.

Differential Revision: https://phabricator.services.mozilla.com/D83275
2020-07-13 10:36:09 +00:00
Gijs Kruitbosch
387e23f588 Bug 1634032 - use a template to wrap the protections popup while it's not needed, r=nhnt11
This also only updates per-category block information in the protections panel
while it's open or when it's about to be shown. To do this, the patch:

1. changes the `categoryItem` getter on all blockers to avoid memo'izing null when the popup is unavailable;
2. changes the `updateCategoryItem` method on all blockers to deal with `categoryItem` being null;
3. stops calling `updateCategoryItem` from the blockers' `init` method, instead delegating this responsibility
   to gProtectionsHandler doing so when the popup first becomes available. Note that we still need (2) because
   pref changes can trip us calling into `updateCategoryItem` anyway. We cannot avoid instantiating the pref
   getters because they are relied on by some of the `isDetected` and `isBlocking` implementations.
4. reorganizes `onContentBlockingEvent` so it updates the icon, reports telemetry, and updates internal state -
   but only updates the panel if it's visible, and otherwise simply memorizes the last event (which is just
   a number!);
5. ensures showing the panel updates the panel's category data based on the memorized state from (4).

Differential Revision: https://phabricator.services.mozilla.com/D81926
2020-07-10 21:32:09 +00:00
Kris Maglione
a0401cd185 Bug 1649554: Part 2 - Use static component registration for about:compat. r=twisniewski,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D81750
2020-07-10 23:58:26 +00:00
Kris Maglione
b6be72f351 Bug 1649554: Part 1 - Move deprecated component registration helpers out of XPCOMUtils. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,whimboo,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D81749
2020-07-10 23:58:30 +00:00
Kris Maglione
9d78661f88 Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D81594
2020-07-10 23:58:28 +00:00
J.C. Jones
8d808a0da4 Bug 1641356 - Unhide RSA-AES-GCM ciphersuite preferences r=kjacobs
In Bug 1638369 we added two new RSA-AES-GCM ciphersuites for web compatibility, but
did not add them to `all.js` so they weren't visible in about:config.

Since these are not mandatory ciphersuites to the TLS specification, they
should be configurable.

Differential Revision: https://phabricator.services.mozilla.com/D83192
2020-07-10 21:11:51 +00:00
Kris Maglione
4de3cc378a Bug 1651232: Unskip browser_startup_images.js in Fission now that non-QR warning has been removed. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D82978
2020-07-09 22:05:37 +00:00
Cosmin Sabou
08fb73acf9 Backed out changeset d2e762d32fb6 (bug 1596738) for mochitest failures on browser_test_textcaret.js. CLOSED TREE 2020-07-10 22:20:31 +03:00
Bogdan Tara
78b75c1196 Backed out changeset add40bc29da9 (bug 1634032) for browser_controlCenter.js failures CLOSED TREE 2020-07-10 21:10:42 +03:00
Kashav Madan
3ee25dd465 Bug 1596738 - Don't focus the tab's content area for navigation-driven restores, r=dao
This causes the browser to steal focus from any element that was focused prior
to the completion of the remoteness flip. This is particularly a problem for
fission because every cross-origin navigation requires a process switch.

This code is still necessary for "normal" session restores (see bug 1410591),
but focus is handled elsewhere (and more robustly) for navigations.

Differential Revision: https://phabricator.services.mozilla.com/D82783
2020-07-10 15:27:22 +00:00
Gijs Kruitbosch
ff94b379c5 Bug 1634032 - use a template to wrap the protections popup while it's not needed, r=nhnt11
This also only updates per-category block information in the protections panel
while it's open or when it's about to be shown. To do this, the patch:

1. changes the `categoryItem` getter on all blockers to avoid memo'izing null when the popup is unavailable;
2. changes the `updateCategoryItem` method on all blockers to deal with `categoryItem` being null;
3. stops calling `updateCategoryItem` from the blockers' `init` method, instead delegating this responsibility
   to gProtectionsHandler doing so when the popup first becomes available. Note that we still need (2) because
   pref changes can trip us calling into `updateCategoryItem` anyway. We cannot avoid instantiating the pref
   getters because they are relied on by some of the `isDetected` and `isBlocking` implementations.
4. reorganizes `onContentBlockingEvent` so it updates the icon, reports telemetry, and updates internal state -
   but only updates the panel if it's visible, and otherwise simply memorizes the last event (which is just
   a number!);
5. ensures showing the panel updates the panel's category data based on the memorized state from (4).

Differential Revision: https://phabricator.services.mozilla.com/D81926
2020-07-10 15:28:58 +00:00
pbz
5c65d2dbca Bug 1650794 - Refactor subdialogs.js to reusable SubDialog.jsm. r=Gijs,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D82405
2020-07-10 00:01:50 +00:00
Butkovits Atila
db420f7f46 Backed out changeset 71ca1673171d (bug 1634032) for assertion failure on DOMJSProxyHandler.cpp. CLOSED TREE 2020-07-10 01:36:16 +03:00
Gijs Kruitbosch
6084fa2442 Bug 1634032 - use a template to wrap the protections popup while it's not needed, r=nhnt11
This also only updates per-category block information in the protections panel
while it's open or when it's about to be shown. To do this, the patch:

1. changes the `categoryItem` getter on all blockers to avoid memo'izing null when the popup is unavailable;
2. changes the `updateCategoryItem` method on all blockers to deal with `categoryItem` being null;
3. stops calling `updateCategoryItem` from the blockers' `init` method, instead delegating this responsibility
   to gProtectionsHandler doing so when the popup first becomes available. Note that we still need (2) because
   pref changes can trip us calling into `updateCategoryItem` anyway. We cannot avoid instantiating the pref
   getters because they are relied on by some of the `isDetected` and `isBlocking` implementations.
4. reorganizes `onContentBlockingEvent` so it updates the icon, reports telemetry, and updates internal state -
   but only updates the panel if it's visible, and otherwise simply memorizes the last event (which is just
   a number!);
5. ensures showing the panel updates the panel's category data based on the memorized state from (4).

Differential Revision: https://phabricator.services.mozilla.com/D81926
2020-07-09 20:23:14 +00:00
Jed Davis
30edd06026 Bug 1644917 - Part 2: Cache as much of the content sandbox file policy as possible. r=gcp,Gijs
Now that filesystem broker policy entries that depend on prefs can be
cached in the "common" policy object, let's do this wherever possible.

Partially fixes bug 1600189.

Differential Revision: https://phabricator.services.mozilla.com/D81424
2020-07-02 11:26:11 +00:00
Jed Davis
c3572e2dda Bug 1644917 - Part 1: Construct content sandbox "common" policy lazily. r=gcp,Gijs
When the SandboxBrokerPolicyFactory is constructed, prefs aren't
available, which constrains the cached subset of the content process
policy to entries that don't depend on prefs.  Delaying the computation
until a content process is started removes that restriction.

(This also delays the reading of dynamic linker configuration to discover
library directories, so a test needs to be adjusted.)

Differential Revision: https://phabricator.services.mozilla.com/D81423
2020-07-02 11:27:21 +00:00
Dão Gottwald
c39cc46923 Bug 1651310 - Increase Ctrl-Tab preview limit from 6 to 7. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D82665
2020-07-08 23:10:56 +00:00
Mark Banner
e70637b6d9 Bug 1632448 - Remove now unused confirm and extensionID parameters for nsISearchService.addEngine, and rename it. r=daleharvey
Renaming to addOpenSearchEngine to make it more explicit about what it is actually doing.

Depends on D82524

Differential Revision: https://phabricator.services.mozilla.com/D82525
2020-07-09 09:56:25 +00:00
Emma Malysz
cb57528ee2 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
Matt Woodrow
6dade78e50 Bug 1649879 - Use webprogress events instead of waitForDocLoadAndStopIt in browser_progress_keyword_search_handling.js. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D82803
2020-07-08 23:38:35 +00:00