Commit Graph

356 Commits

Author SHA1 Message Date
Andreea Pavel
a458b6af91 Backed out changeset 177e4adb94d1 (bug 1479318) for failing android on different files on a CLOSED TREE 2018-08-02 03:10:16 +03:00
Kris Maglione
96720fbc27 Bug 1479318: Minimize the amount of content Findbar code loaded by default. r=felipe
MozReview-Commit-ID: Gu4RyWKmaAz
2018-07-29 14:38:44 -07:00
Kris Maglione
c56f2bac84 Bug 1479318: Minimize the amount of content Findbar code loaded by default. r=felipe
MozReview-Commit-ID: Gu4RyWKmaAz
2018-07-29 14:38:44 -07:00
Abdoulaye O. Ly
f15cc9cce9 Bug 1458066 - Implement ability to move a selection of tabs within the same window through drag and drop. r=jaws
MozReview-Commit-ID: A3t0CAgrI5Z
2018-07-23 19:01:17 +00:00
alwu
c96fe8806b Bug 1476701 - notify observer when audible autoplay occurred. r=cpearce,jaws
In our autoplay shield-study, we want to collect the information which could tell us how many website
contains audible autoplay media, but there is no way to get this information on current API desigin.

Therefore, I would like to send a new notification when autoplay occurred.

The extension code could get the information by following way,
```
Services.obs.addObserver((subject, topic, data) => {
    // DO SOMETHING
}, "AudibleAutoplayMediaOccurred");
```

MozReview-Commit-ID: 4bSYcxDZOGK
2018-07-25 09:08:44 -07:00
Dão Gottwald
76e4388a72 Bug 1479775 - Rename removeTabs' aParams variable. r=jaws
MozReview-Commit-ID: 3ZtCme8mCdC
2018-07-31 16:11:47 +02:00
Boris Zbarsky
df1e81934e Bug 1446940 part 2. Stop getting docshells from windows via getInterface in browser. r=gijs 2018-08-01 13:07:10 -04:00
Abdoulaye O. Ly
b97415fa0e Bug 1476844 - Clear selected tabs whenever 'TabSelect' event is fired except when switching tab from 'switchToNextMultiSelectedTab' function in /browser/base/content/tabbrowser.js. r=jaws
MozReview-Commit-ID: J2DyAbQJITo
2018-07-21 02:32:19 +00:00
Abdoulaye O. Ly
6f9a012ead Bug 1478652 - removeTabs passes '{animate: true}' instead of '{animation: true}' options object to removeTab in tabbrowser.js file. r=jaws
MozReview-Commit-ID: 1yzAITw6j1q
2018-07-28 04:49:02 +00:00
Dão Gottwald
9c99a43789 Bug 1478635 - Remove _createBrowser's 'remote' parameter. r=Gijs
MozReview-Commit-ID: 2AmpUaJVM8G
2018-07-27 18:04:24 +02:00
Dão Gottwald
7bb0eb2561 Bug 1479031 - Use destructuring assignment for optional loadTabs parameters. r=jaws
MozReview-Commit-ID: FMRObafFcS9
2018-07-27 19:00:40 +02:00
Dão Gottwald
85a631807c Bug 1478650 - Use destructuring assignment for optional removeTab parameters. r=Gijs
MozReview-Commit-ID: HVxGD44yiSy
2018-07-26 15:31:55 +02:00
Dão Gottwald
a5aed5d3ab Bug 1478606 - Use destructuring assignment for optional updateBrowserRemoteness parameters. r=Gijs
MozReview-Commit-ID: JONW2RBnuLX
2018-07-26 15:08:29 +02:00
Dão Gottwald
b460cbd1f3 Bug 1478621 - Use destructuring assignment for optional _setTabLabel parameters. r=Gijs
MozReview-Commit-ID: 3fGgpxQgIma
2018-07-26 13:35:54 +02:00
Dão Gottwald
3558d85cc7 Bug 1478618 - Use destructuring assignment for optional _createBrowser parameters. r=Gijs
MozReview-Commit-ID: 6oz7YiR0sU6
2018-07-26 13:26:01 +02:00
Brian Hackett
5cd86c4278 Bug 1465477 Part 1 - Add menu items and prefs for recording/replaying tabs, r=markh. 2018-07-24 21:32:16 +00:00
Boris Zbarsky
e98236cf07 Bug 1476145 part 3. Stop using getInterface(nsIDOMWindowUtils) in browser/. r=gijs 2018-07-24 19:47:41 -04:00
Brian Grinstead
3097f96e03 Bug 1476333 - Refer to AppConstants.BROWSER_CHROME_URL to get the browser URL from the frontend;r=Gijs
Before this change, we accessed the browser URL in the following ways:

- "chrome://browser/content/browser.xul"
- "chrome://browser/content/" (which redirects to chrome://browser/content/browser.xul)
- Services.prefs.getCharPref("browser.chromeURL") which returns "chrome://browser/content/"
- getBrowserURL() from utilityOverlay.js

MozReview-Commit-ID: I5vtRke1x9t
2018-07-24 08:12:50 -07:00
Dão Gottwald
c5a5ec2eb7 Bug 1442582 - Remove the tabbrowser-tabpanels binding. r=dao
MozReview-Commit-ID: HcQgRbvcdiV
2018-03-16 22:30:01 +01:00
Abdoulaye O. Ly
965c7a315b Bug 1477724 - 'Move To New Window' moves now contextTab instead of selectedTab in single tab context. r=jaws
MozReview-Commit-ID: 2c5QFuSO6kU
2018-07-23 19:53:56 +00:00
Abdoulaye O. Ly
9bd1f9c2b2 Bug 1475427 - Refactor warnAboutClosingTabs function in tabbrowser.js so that it directly takes the number of tabs to close as param. r=jaws
MozReview-Commit-ID: Hhdanmwx7rN
2018-07-18 19:30:36 +00:00
Haik Aftandilian
169de84974 Bug 1350642 - Keep the tabCountResizable property in sync; r=dao
Differential Revision: https://phabricator.services.mozilla.com/D2197
2018-07-19 18:05:35 +00:00
Gijs Kruitbosch
a242ba95b3 Bug 1441039 - same-document changes should cause empty URL bar to fill back up for current tab, r=mak
Make URLBarSetURI more explicit about what it's looking for in `value`,
and ensure the tabbrowser's progress listeners reset the userTypeValue if it's
empty already and there's a same-site document change.

Differential Revision: https://phabricator.services.mozilla.com/D2181
2018-07-19 10:47:23 +00:00
Mark Striemer
56ddddc716 Bug 1470947 - Part 2: Call _tabAttrModified on busy and progress changes r=dao
This fixes the tab throbbers not showing sometimes and not showing
the progress state in the all tabs menu.

MozReview-Commit-ID: FintGto9e9g
2018-06-25 11:30:44 -04:00
Abdoulaye O. Ly
d14ca2e47b Bug 1458049 - Implement ability to move a selection of tabs into a new window through tab context menu. r=jaws
MozReview-Commit-ID: KrjavwyoF4s
2018-07-13 19:30:58 +00:00
Mike Conley
62c485471d Bug 1362569 - Don't flush layout when locking the tab size during tab close. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D2140
2018-07-18 09:27:49 +00:00
Dão Gottwald
fb1fe9161c Bug 1475537 - Clean up addTab parameter handling. r=mikedeboer
MozReview-Commit-ID: JF9hNLmd3bF
2018-07-17 13:54:23 +02:00
Coroiu Cristina
ce0d8732f7 Backed out changeset 1d9cd6db7f77 (bug 1475537) for devtools failures at devtools/client/netmonitor/test/browser_net_open_request_in_tab.js on a CLOSED TREE 2018-07-17 14:20:12 +03:00
Abdoulaye O. Ly
6290b52439 Bug 1458067 - Implement ability to bookmark a selection of tabs. r=Gijs
MozReview-Commit-ID: 4KE3qSf3j0y
2018-07-12 00:25:35 +00:00
Dão Gottwald
d1f5457e9a Bug 1475537 - Clean up addTab parameter handling. r=mikedeboer
MozReview-Commit-ID: FuTHVHN43XA
2018-07-13 15:24:09 +02:00
Abdoulaye O. Ly
130bffd719 Bug 1472910 - Close all unselected tabs except those pinned with gBrowser.removeAllTabsBut(aTab) when aTab is multi-selected. r=jaws
MozReview-Commit-ID: 9gqSJmiBbCs
2018-07-12 06:49:04 +00:00
Ehsan Akhgari
938cd178bb Bug 1474384 - Memoize the nsIURI object returned from the currentURI getter for lazy <xul:browser> objects; r=dao 2018-07-12 13:11:00 +03:00
Manish Kumar
5a5638eecc Bug 1473253 - Stop setting onerror attribute on tabs. r=dao 2018-07-09 20:03:57 +02:00
Dão Gottwald
1406fa5eda Bug 1473309 - Move TabContextMenu and stray usercontext-related functions from browser.js to tabbrowser.js. r=bgrins
MozReview-Commit-ID: CA3F65x08Kg
2018-07-04 16:24:37 +02:00
Abdoulaye O. Ly
c6bbc3c21d Bug 1472074 - Fix behavior for multiselection using shift key to match other popular apps such as Chrome or Windows Explorer. r=Gijs
MozReview-Commit-ID: 8vWJJcGMOwA
2018-06-30 03:11:31 +00:00
arthur.iakab
2476395d52 Merge inbound to mozilla-central a=merge 2018-07-03 11:55:46 +03:00
Abdoulaye O. Ly
975b317b22 Bug 1458061 - Implement ability to reload a selection of tabs. r=Gijs
MozReview-Commit-ID: CyJLk7pxGRr
2018-06-29 02:39:18 +00:00
Oriol Brufau
465fc7fb37 Bug 1472305 - browser.tabs.highlight() with single tab should not set multiselected=true r=Gijs,mixedpuppy
MozReview-Commit-ID: 8cvtMkHoRxD
2018-06-30 17:27:12 +02:00
Dave Townsend
e0d7c25a1e Bug 1472475: Properly clear the current favicon when navigating to a new URL. r=mak
In practice this is an easy fix, just clear the icon when the page first changes
to a new URL. In practice that breaks our hack for setting an early favicon for
certain in-content pages so we have to workaround that somewhat.

Differential Revision: https://phabricator.services.mozilla.com/D1909
2018-07-02 16:42:43 +00:00
Coroiu Cristina
72b3df5f72 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-06-30 01:00:54 +03:00
Dave Townsend
0f2c3bd648 Bug 1453751: Load favicons in the content process. r=mak, r=gijs, r=aswan, r=mixedpuppy
Summary:
This moves the load of favicons into the content process. We use the same logic
for finding favicons (based on waiting until none have shown up for a short
time) but then load the favicon and convert it to a data uri which we then
dispatch to the parent process. Along the way this fixes asssociating the load
with the tab for WebExtension and devtools, fixes CSP usage for the load, fixes
expiry detection of the favicon and stops us from loading the same resource
twice.

This change also merges the prefs browser.chrome.site_icons and
browser.chrome.favicons leaving just the former controlling favicon loading. It
adds the pref browser.chrome.guess_favicon to allow disabling guessing where
a favicon might be located for a site (at <hostname>/favicon.ico). This is
mainly to allow disabling this in tests where those additional yet automatic
requests are uninteresting for the test.

There are multiple clean-ups that can follow this but this is a first step along
that path.

MozReview-Commit-ID: E0Cs59UnxaF

Reviewers: mak

Tags: #secure-revision

Bug #: 1453751

Differential Revision: https://phabricator.services.mozilla.com/D1672
Differential Revision: https://phabricator.services.mozilla.com/D1673
Differential Revision: https://phabricator.services.mozilla.com/D1674
Differential Revision: https://phabricator.services.mozilla.com/D1850
Differential Revision: https://phabricator.services.mozilla.com/D1869
2018-06-28 16:06:09 -07:00
Abdoulaye O. Ly
7c49799423 Bug 1458060 - Implement ability to pin/unpin a selection of tabs. r=jaws
MozReview-Commit-ID: Hqt8QrqQ62V
2018-06-23 18:07:48 +00:00
Brindusan Cristian
d94fd86e60 Backed out changeset b11aa832c41a (bug 1453751) for Mochitest-15 failures in toolkit/components/extensions/test/mochitest/test_ext_webrequest_filter.html. CLOSED TREE 2018-06-28 23:15:49 +03:00
Dave Townsend
ebc2c6ff75 Bug 1453751: Load favicons in the content process. r=mak, r=gijs, r=aswan
Summary:
This moves the load of favicons into the content process. We use the same logic
for finding favicons (based on waiting until none have shown up for a short
time) but then load the favicon and convert it to a data uri which we then
dispatch to the parent process. Along the way this fixes asssociating the load
with the tab for WebExtension and devtools, fixes CSP usage for the load, fixes
expiry detection of the favicon and stops us from loading the same resource
twice.

This change also merges the prefs browser.chrome.site_icons and
browser.chrome.favicons leaving just the former controlling favicon loading. It
adds the pref browser.chrome.guess_favicon to allow disabling guessing where
a favicon might be located for a site (at <hostname>/favicon.ico). This is
mainly to allow disabling this in tests where those additional yet automatic
requests are uninteresting for the test.

There are multiple clean-ups that can follow this but this is a first step along
that path.

MozReview-Commit-ID: E0Cs59UnxaF

Reviewers: mak

Tags: #secure-revision

Bug #: 1453751

Differential Revision: https://phabricator.services.mozilla.com/D1672
Differential Revision: https://phabricator.services.mozilla.com/D1673
Differential Revision: https://phabricator.services.mozilla.com/D1674
Differential Revision: https://phabricator.services.mozilla.com/D1850
2018-06-04 12:53:55 -07:00
Oriol Brufau
498a7b8c8c Bug 1465170 - Implement support for the 'highlighted' API for multiselect tabs with tabs.query r=jaws,mixedpuppy
MozReview-Commit-ID: 6eFnxrXJXXB
2018-06-03 02:53:59 +02:00
Gijs Kruitbosch
4fc43fb0a7 Bug 1438499 - show 'close multiple tabs' warning dialog when quitting, r=jaws,whimboo
MozReview-Commit-ID: J2gi9do8HK9
2018-06-13 09:34:52 -07:00
layely
8f86b7bb1c Bug 1458039 - Implement ability to mute/unmute a selection of tabs. r=jaws
MozReview-Commit-ID: 7aw08gxOOtk
2018-05-31 03:26:25 +00:00
layely
84900bd57e Bug 1467340 - Ctrl+w and Ctrl+f4 shortcuts close all selected tabs in multi-select context. r=jaws
MozReview-Commit-ID: AfrpuOKBfas
2018-06-07 13:36:17 +00:00
Bianca Danforth
43c4ff2368 Bug 1465694 - Add tab event telemetry for Savant Shield study; r=dao
These probes will register and record (for the duration of the study only):
* When a tab opens.
* When a tab closes.
* When a tab is selected.

MozReview-Commit-ID: BvknEH0ofS0
2018-06-06 03:44:48 -07:00
layely
5578b347e9 Bug 1458018 - Add style for multiselected tabs. r=jaws
MozReview-Commit-ID: Ead7pIfHBJP
2018-06-03 05:04:48 +00:00