Commit graph

4469 commits

Author SHA1 Message Date
Harry Twyford
70df5bbf20 Bug 1313429 - Add Touch Bar functionality to Firefox r=spohl,mikedeboer,flod
Adds Touch Bar functionality to Firefox across eight commits.

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

--HG--
extra : moz-landing-system : lando
2019-01-22 17:13:33 +00:00
Ehsan Akhgari
4137a92662 Bug 1514340 - Part 2: Break out the content blocking related notifications into nsIWebProgressListener.onContentBlockingEvent(); r=baku,johannh
Differential Revision: https://phabricator.services.mozilla.com/D16052
2019-01-21 09:58:50 -05:00
Tim Nguyen
60a5143df0 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

--HG--
extra : moz-landing-system : lando
2019-01-18 22:42:24 +00:00
Andreea Pavel
95431afe85 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
495df7ddea 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

--HG--
extra : moz-landing-system : lando
2019-01-18 16:51:08 +00:00
Drew Willcoxon
7efd7f75c9 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

--HG--
extra : moz-landing-system : lando
2019-01-17 17:29:18 +00:00
Mark Banner
1619ba50da Bug 1520336 - Removed unused 'where' parameter from BrowserSearch.recordOneoffSearchInTelemetry. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D16617

--HG--
extra : moz-landing-system : lando
2019-01-16 01:21:24 +00:00
Christoph Kerschbaumer
6756032512 Bug 1513241: Update frontend consumers of loadURI and pass loadURIOptions dictionary. r=gijs 2019-01-11 12:44:20 +01:00
Gijs Kruitbosch
3da0062d36 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

--HG--
extra : moz-landing-system : lando
2019-01-07 19:26:17 +00:00
Rob Wu
d501cbec73 Bug 1501244 - Preserve privateBrowsingId OA when userContextId is set r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D9535

--HG--
extra : moz-landing-system : lando
2018-10-24 21:23:17 +00:00
Timothy Guan-tin Chien
bd38b39f8a 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

--HG--
rename : toolkit/components/prompts/content/tabprompts.xml => toolkit/components/prompts/content/tabprompts.jsm
extra : moz-landing-system : lando
2019-01-04 19:29:34 +00:00
Gijs Kruitbosch
ccfd35873f 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

--HG--
extra : rebase_source : e146dfb7df7626abcd38cd6d44c6fed1523cb111
2018-12-28 11:27:59 +00:00
Razvan Maries
e048f91e8e Merge mozilla-inbound to mozilla-central a=merge 2018-12-24 23:50:58 +02:00
Paolo Amadini
24c49f1473 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

--HG--
extra : rebase_source : 064b3d39dc2a8c4d6a3c0949a51ab361ed6e71dd
2018-12-23 20:52:15 +00:00
James Teh
3ce66961cd 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

--HG--
extra : moz-landing-system : lando
2018-12-20 05:33:32 +00:00
Dão Gottwald
b77881e30c 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

--HG--
extra : moz-landing-system : lando
2018-12-24 14:50:38 +00:00
Abdelrhman Ahmed
3823488bec Bug 1475670: Optimizing the code inside ContentBlocking. r=johannh 2018-12-18 11:18:13 +02:00
Mike Conley
351f5497f6 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

--HG--
extra : moz-landing-system : lando
2018-12-17 21:21:57 +00:00
Tim Huang
1e2c28f939 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

--HG--
extra : moz-landing-system : lando
2018-12-16 21:30:59 +00:00
Dão Gottwald
a2bda7b56d 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

--HG--
extra : moz-landing-system : lando
2018-12-14 19:46:58 +00:00
Dão Gottwald
0afe87a2cf Bug 1513827 - Let toolbar context menu handle nodes without ids. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14390

--HG--
extra : moz-landing-system : lando
2018-12-13 14:53:18 +00:00
Dão Gottwald
d0b805fc67 Bug 1513845 - Stop using XPCOMUtils.defineLazyGetter for gNavigatorBundle. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14391

--HG--
extra : moz-landing-system : lando
2018-12-13 12:34:40 +00:00
Dão Gottwald
84a61fb2d2 Bug 1513508 - Clean up Object.defineProperty calls in browser.js. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14241

--HG--
extra : moz-landing-system : lando
2018-12-12 13:40:06 +00:00
Kris Maglione
d79b3fbaf4 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

--HG--
extra : rebase_source : ec634ee3a3b975809f542aa8077ad32236781452
2018-12-05 15:44:53 -05:00
Neil Deakin
9397165b4e 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
hereissophie@gmail.com
336637a18d Bug 1501234 - Use openTrustedLinkIn in gAccessibilityServiceIndicator. r=dao 2018-12-05 19:52:35 +01:00
Gijs Kruitbosch
2efc57c842 Bug 1511903 - r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D13714

--HG--
extra : moz-landing-system : lando
2018-12-05 10:24:56 +00:00
Bogdan Tara
dcf5ea092c Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-12-03 23:53:09 +02:00
Ehsan Akhgari
0dcf936804 Bug 1510911 - Part 2: Backout changeset f8849239da42 (bug 1493563 - Part 5) for regressing performance 2018-12-03 14:27:53 -05:00
Gijs Kruitbosch
45794c41ea Bug 1062128 - set tooltiptext for new tab button directly for a11y reasons, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D13406

--HG--
extra : moz-landing-system : lando
2018-12-03 18:22:05 +00:00
Jared Wein
98ab4d61f7 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

--HG--
extra : moz-landing-system : lando
2018-11-29 22:25:33 +00:00
Dão Gottwald
2be51b0d48 Bug 1510572 - Stop overriding WebExtensionPolicy in browser.js. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D13233

--HG--
extra : moz-landing-system : lando
2018-11-28 23:02:39 +00:00
Dão Gottwald
9914989a7a Bug 1510412 - Set RTL_UI based on Services.locale.isAppLocaleRTL. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D13121

--HG--
extra : moz-landing-system : lando
2018-11-28 15:59:28 +00:00
Dão Gottwald
328bd4a524 Bug 1510462 - Remove redundant AddonManager definition. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D13157

--HG--
extra : moz-landing-system : lando
2018-11-28 04:56:39 +00:00
Dão Gottwald
0f23fd4558 Bug 1509309 - Move most browser-*.js scripts from global-scripts.inc to browser.xul. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D13064

--HG--
extra : moz-landing-system : lando
2018-11-27 21:55:21 +00:00
Gijs Kruitbosch
ebea9ca979 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

--HG--
extra : moz-landing-system : lando
2018-11-27 15:56:26 +00:00
Dão Gottwald
9880945252 Bug 1509651 - Stop flushing style for knowing the UI direction. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D12827

--HG--
extra : moz-landing-system : lando
2018-11-26 11:59:04 +00:00
Dão Gottwald
d201595d2e Bug 1509489 - Make StatusPanel._calcMouseTargetRect not flush layout or style and revert bug 1358712. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D12747

--HG--
extra : moz-landing-system : lando
2018-11-23 17:35:06 +00:00
Marco Bonardo
6d09b83cad 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

--HG--
extra : moz-landing-system : lando
2018-11-23 15:15:47 +00:00
Dão Gottwald
12feb645b8 Bug 1508963 - Load browser-siteIdentity.js lazily. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D12521

--HG--
extra : moz-landing-system : lando
2018-11-21 17:09:23 +00:00
Tim D. Smith
f036261bf0 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

--HG--
extra : moz-landing-system : lando
2018-11-21 08:52:10 +00:00
Dão Gottwald
0b29cb4320 Bug 1508585 - Load search-one-offs.js lazily. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D12405

--HG--
extra : moz-landing-system : lando
2018-11-20 17:04:43 +00:00
Tom Schuster
5a9d2a428c Bug 1493292 - Remove aDataLen parameters from nsITransferable.getTransferData. r=smaug
Depends on D11200

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

--HG--
extra : moz-landing-system : lando
2018-11-20 16:59:56 +00:00
Csoregi Natalia
df7483024d 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
b292ec7c2c Bug 1493292 - Remove aDataLen parameters from nsITransferable.getTransferData. r=smaug
Depends on D11200

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

--HG--
extra : moz-landing-system : lando
2018-11-20 14:47:02 +00:00
Gijs Kruitbosch
a7b487d613 Bug 1506608 - default to remote for e10s windows, r=mconley,nika
Differential Revision: https://phabricator.services.mozilla.com/D11913

--HG--
extra : moz-landing-system : lando
2018-11-19 18:56:18 +00:00
Johann Hofmann
dda53de0ba Bug 1501991 - Add a sub-panel for Trackers in the control center. r=Ehsan,Jamie
Differential Revision: https://phabricator.services.mozilla.com/D11611

--HG--
extra : rebase_source : eebb084d0fed7a66b0dc5bbe7bc5e06b040a0275
extra : amend_source : f8070e363841ad3d9b2418920e0f695c906de105
2018-11-06 20:29:10 +01:00
Cosmin Sabou
d1b2c17c02 Backed out changeset eb21007e7da0 (bug 1501991) for geckoview failures on several tests. 2018-11-17 02:18:03 +02:00
Johann Hofmann
624a3d5172 Bug 1501991 - Add a sub-panel for Trackers in the control center. r=Jamie,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D11611

--HG--
extra : moz-landing-system : lando
2018-11-16 22:34:07 +00:00
Gurzau Raul
2ef5ceafdd 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