Commit Graph

4567 Commits

Author SHA1 Message Date
Tim Nguyen
c499a486c2 Bug 1241885 - Implement support for -moz-window-dragging in GTK and remove toolkit toolbar-drag binding. r=dao,bzbarsky,stransky
The restriction preventing fullscreen windows from being dragged is removed.

Differential Revision: https://phabricator.services.mozilla.com/D15075
2019-01-18 22:42:24 +00:00
Andreea Pavel
cdf494d836 Backed out 1 changesets (bug 1241885) for build bustages on a CLOSED TREE
Backed out changeset 176be7000d33 (bug 1241885)
2019-01-18 23:49:55 +02:00
Tim Nguyen
443d70bc2e Bug 1241885 - Implement support for -moz-window-dragging in GTK and remove toolkit toolbar-drag binding. r=dao,bzbarsky,stransky
The restriction preventing fullscreen windows from being dragged is removed.

Differential Revision: https://phabricator.services.mozilla.com/D15075
2019-01-18 16:51:08 +00:00
Drew Willcoxon
12ac8d5240 Bug 1518031 - Update "Add Search Engine" page action image when search engine icon becomes available. r=mossop
We can just add `onLinkIconAvailable` to `TabsProgressListener` in browser.js and update the search badge.

Differential Revision: https://phabricator.services.mozilla.com/D16590
2019-01-17 17:29:18 +00:00
Mark Banner
f65efe92bb Bug 1520336 - Removed unused 'where' parameter from BrowserSearch.recordOneoffSearchInTelemetry. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D16617
2019-01-16 01:21:24 +00:00
Christoph Kerschbaumer
82d1e43b93 Bug 1513241: Update frontend consumers of loadURI and pass loadURIOptions dictionary. r=gijs 2019-01-11 12:44:20 +01:00
Gijs Kruitbosch
1f1c77266a Bug 1502179 - don't treat closing last non-popup window as quitting when a popup window is still open (on Windows/Linux), r=jaws,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D15408
2019-01-07 19:26:17 +00:00
Rob Wu
b6bf81f235 Bug 1501244 - Preserve privateBrowsingId OA when userContextId is set r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D9535
2018-10-24 21:23:17 +00:00
Timothy Guan-tin Chien
c7843797af Bug 1512048 - Convert tabmodalprompt binding to JSM module r=Gijs
This converts the tabmodalprompt binding to a class, to be constructed along side with the element
by TabModalPromptBox.

TabModalPromptBox will keep the instances in a map and pass it to the callers, instead of the element.
The tests and callers can access the class instance by passing the element reference to the map.

Differential Revision: https://phabricator.services.mozilla.com/D15505
2019-01-04 19:29:34 +00:00
Gijs Kruitbosch
8dd0ae79ef Bug 1514724 - define script getters in the browser instead of via a module and iterating over windows, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D14805
2018-12-28 11:27:59 +00:00
Razvan Maries
53849d42b3 Merge mozilla-inbound to mozilla-central a=merge 2018-12-24 23:50:58 +02:00
Paolo Amadini
e30a6b76de Bug 1466817 - The "Edit Pop-up Blocker Options/Preferences" command should open the in-content preferences. r=jaws
Instead of opening the pop-up permissions dialog with the origin already populated, this command now highlights the pop-up permission row in the preferences. This doesn't remove any functionality because the only action that would be available for the origin in the permissions dialog is "Allow", which is equivalent to the "Allow pop-ups for" command in the notification bar menu.

Differential Revision: https://phabricator.services.mozilla.com/D15066
2018-12-23 20:52:15 +00:00
James Teh
470fb04c63 Bug 1509767: Support keyboard activation (space/enter) of the Back/Forward buttons when focused. r=Gijs
When focused, the Back and Forward buttons previously couldn't be activated by pressing space or enter.
Although they do have a command event handler, they have type="menu", which means the command event is not fired for key presses by default.
Since these buttons are special (in that they have type="menu" and a command event), this change implements specific keyboard behavior for these buttons.

Differential Revision: https://phabricator.services.mozilla.com/D12868
2018-12-20 05:33:32 +00:00
Dão Gottwald
2c975d91f0 Bug 1516130 - Accel+K shouldn't focus and modify the read-only address bar in popups. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D15260
2018-12-24 14:50:38 +00:00
Abdelrhman Ahmed
32cbb042e8 Bug 1475670: Optimizing the code inside ContentBlocking. r=johannh 2018-12-18 11:18:13 +02:00
Mike Conley
7d43605d45 Bug 1503796 - Convert XPCOM arrays and strings from nsBrowserContentHandler to JS arrays and strings earlier when opening browser windows. r=Gijs
This also makes it so that the initial browser tab setup code can handle a JS array
as the URI(s) to load during start-up. If it's an array, the first element of that
array is inspected to determine what process type the initial browser tab should
be in.

Differential Revision: https://phabricator.services.mozilla.com/D14755
2018-12-17 21:21:57 +00:00
Tim Huang
70bec97de9 Bug 1446472 - Part 1: Showing the identity block icon for canvas permission without the doorhanger when canvas extraction is auto detected. r=baku,Gijs
For a better user experience of auto-blocking canvas extraction, this
patch changes the behavior when detecting a canvas extraction without
user interaction. It will show a canvas identity block icon with a
hidden doorhanger when auto-blocking the canvas extraction. Users can
make their choice to either block or allow the canvas extraction by
clicking the identity block icon and then refresh the page to make
the canvas permission taking effect.

Differential Revision: https://phabricator.services.mozilla.com/D14259
2018-12-16 21:30:59 +00:00
Dão Gottwald
bf0b707fc6 Bug 1514151 - Consistently use arrow functions and destructuring assignments in XPCOMUtils.defineLazyGetter calls from browser.js. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D14532
2018-12-14 19:46:58 +00:00
Dão Gottwald
01ebc456af Bug 1513827 - Let toolbar context menu handle nodes without ids. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14390
2018-12-13 14:53:18 +00:00
Dão Gottwald
dd82e03e68 Bug 1513845 - Stop using XPCOMUtils.defineLazyGetter for gNavigatorBundle. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14391
2018-12-13 12:34:40 +00:00
Dão Gottwald
57fd2a0503 Bug 1513508 - Clean up Object.defineProperty calls in browser.js. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14241
2018-12-12 13:40:06 +00:00
Kris Maglione
509e210f19 Bug 1505522: Part 2 - Migrate MemoryTelemetry.jsm to C++. r=erahm,chutten
This has benefits both in terms of performance and memory usage. Aside from
the obvious savings of not loading additional JS scripts in every process,
this also allows us to move more of our expensive data collection work to a
background thread, where it doesn't risk janking both parent and content
processes.

MozReview-Commit-ID: 2A593R7bIKB

Differential Revision: https://phabricator.services.mozilla.com/D13872
2018-12-05 15:44:53 -05:00
Neil Deakin
7c17ee0c0c Bug 1492326, use Element helper methods in accessibility instead of QueryInterface to get interface implementations that might be implemented by custom elements, r=surkov 2018-12-04 11:32:15 -05:00
c760fb9c41 Bug 1501234 - Use openTrustedLinkIn in gAccessibilityServiceIndicator. r=dao 2018-12-05 19:52:35 +01:00
Gijs Kruitbosch
65f3c11999 Bug 1511903 - r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D13714
2018-12-05 10:24:56 +00:00
Bogdan Tara
a65235ee8f Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-12-03 23:53:09 +02:00
Ehsan Akhgari
61fe3c0a09 Bug 1510911 - Part 2: Backout changeset f8849239da42 (bug 1493563 - Part 5) for regressing performance 2018-12-03 14:27:53 -05:00
Gijs Kruitbosch
2033aebf61 Bug 1062128 - set tooltiptext for new tab button directly for a11y reasons, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D13406
2018-12-03 18:22:05 +00:00
Jared Wein
64c89796af Bug 1511095 - Remove SchedulePressure.jsm and the fallback loading throbber in the tabstrip. r=mconley
The APNG version is still used by the TabsList which can't support the SVG version of the throbber currently.

Differential Revision: https://phabricator.services.mozilla.com/D13461
2018-11-29 22:25:33 +00:00
Dão Gottwald
61d822270c Bug 1510572 - Stop overriding WebExtensionPolicy in browser.js. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D13233
2018-11-28 23:02:39 +00:00
Dão Gottwald
9d6a88221d Bug 1510412 - Set RTL_UI based on Services.locale.isAppLocaleRTL. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D13121
2018-11-28 15:59:28 +00:00
Dão Gottwald
411dd34d00 Bug 1510462 - Remove redundant AddonManager definition. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D13157
2018-11-28 04:56:39 +00:00
Dão Gottwald
29b000b09b Bug 1509309 - Move most browser-*.js scripts from global-scripts.inc to browser.xul. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D13064
2018-11-27 21:55:21 +00:00
Gijs Kruitbosch
0bfbe7d639 Bug 1509906 - use the window's initial url to determine what remoteType the initial browser should have, r=dao,mconley
Differential Revision: https://phabricator.services.mozilla.com/D13016
2018-11-27 15:56:26 +00:00
Dão Gottwald
9931da215f Bug 1509651 - Stop flushing style for knowing the UI direction. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D12827
2018-11-26 11:59:04 +00:00
Dão Gottwald
a69a1376a9 Bug 1509489 - Make StatusPanel._calcMouseTargetRect not flush layout or style and revert bug 1358712. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D12747
2018-11-23 17:35:06 +00:00
Marco Bonardo
f610a71944 Bug 1315509 - Ctrl+K shortcut should add '?' to the Address Bar if search bar is removed. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D12222
2018-11-23 15:15:47 +00:00
Dão Gottwald
c080ee4c28 Bug 1508963 - Load browser-siteIdentity.js lazily. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D12521
2018-11-21 17:09:23 +00:00
Tim D. Smith
2053fddc5d Bug 1364957 - Fix about: scheme check for FX_PAGE_LOAD_MS_2 r=Gijs
We should be ignoring about: URIs for the page load time metric, since they load very quickly
and aren't representative of Web page load times.

Differential Revision: https://phabricator.services.mozilla.com/D12492
2018-11-21 08:52:10 +00:00
Dão Gottwald
f9e9f4e7b0 Bug 1508585 - Load search-one-offs.js lazily. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D12405
2018-11-20 17:04:43 +00:00
Tom Schuster
8b2f90e93c Bug 1493292 - Remove aDataLen parameters from nsITransferable.getTransferData. r=smaug
Depends on D11200

Differential Revision: https://phabricator.services.mozilla.com/D11201
2018-11-20 16:59:56 +00:00
Csoregi Natalia
5ada471f97 Backed out 6 changesets (bug 1493292) for bustage on /nsTransferable.cpp. CLOSED TREE
Backed out changeset f198bf91320b (bug 1493292)
Backed out changeset 6487aa307123 (bug 1493292)
Backed out changeset f2cabd69c568 (bug 1493292)
Backed out changeset 71430fceb4a3 (bug 1493292)
Backed out changeset 3a9b6d65d8c7 (bug 1493292)
Backed out changeset 55769869037c (bug 1493292)
2018-11-20 17:13:18 +02:00
Tom Schuster
e294f7e628 Bug 1493292 - Remove aDataLen parameters from nsITransferable.getTransferData. r=smaug
Depends on D11200

Differential Revision: https://phabricator.services.mozilla.com/D11201
2018-11-20 14:47:02 +00:00
Gijs Kruitbosch
ca88c0afe0 Bug 1506608 - default to remote for e10s windows, r=mconley,nika
Differential Revision: https://phabricator.services.mozilla.com/D11913
2018-11-19 18:56:18 +00:00
Johann Hofmann
450bec44db Bug 1501991 - Add a sub-panel for Trackers in the control center. r=Ehsan,Jamie
Differential Revision: https://phabricator.services.mozilla.com/D11611
2018-11-06 20:29:10 +01:00
Cosmin Sabou
b76f5f0925 Backed out changeset eb21007e7da0 (bug 1501991) for geckoview failures on several tests. 2018-11-17 02:18:03 +02:00
Johann Hofmann
e5d6dc6285 Bug 1501991 - Add a sub-panel for Trackers in the control center. r=Jamie,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D11611
2018-11-16 22:34:07 +00:00
Gurzau Raul
2566000e7b Backed out changeset f73e25fa0d8c (bug 1501991) for multiple failures e.g browser_storage_dynamic_windows.js on a CLOSED TREE 2018-11-16 14:14:01 +02:00
Johann Hofmann
a6d57cea82 Bug 1501991 - Add a sub-panel for Trackers in the control center. r=Jamie,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D11611
2018-11-16 10:50:31 +00:00
Jack Smith
38aa03503d Bug 1491676 - Moves out of space warning strings r=flod,Gijs,zbraniecki
Depends on D8553

Differential Revision: https://phabricator.services.mozilla.com/D8554
2018-11-14 23:09:50 +00:00