Commit Graph

18903 Commits

Author SHA1 Message Date
Abdoulaye O. Ly
9bf68371e3 Bug 1458061 - Implement ability to reload a selection of tabs. r=Gijs
MozReview-Commit-ID: CyJLk7pxGRr

--HG--
extra : amend_source : 97c7d53733c2996e06aa2994f57949357cef35ad
2018-06-29 02:39:18 +00:00
Dão Gottwald
f794a876e1 Bug 1468077 - Stop disabling cmd_close and cmd_closeWindow in the bookmark panel since it seems to be half-broken and is inconsistent with other panels. r=mak
MozReview-Commit-ID: AkKaq5Kon77

--HG--
extra : rebase_source : 23abeac68a167cb45e128474e322ac9283fa91ce
2018-06-29 13:33:05 +02:00
Coroiu Cristina
a4cd34df05 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-06-30 01:00:54 +03:00
Coroiu Cristina
4dfea54f1d Merge inbound to mozilla-central a=merge 2018-06-30 00:52:37 +03:00
Dorel Luca
745adab0fd Backed out changeset 4503f56bf96f (bug 1421433) for Browser chrome failures on browser/base/content/test/performance/browser_startup_flicker.js. CLOSED TREE
--HG--
extra : amend_source : 4e7ce1f236a8394a44a0b2891cdc44cbd7a042c3
2018-06-29 21:30:27 +03:00
Dorel Luca
3bdf266662 Backed out changeset 839c17021ae0 (bug 1472153) for Browser chrome failure on browser/base/content/test/performance/browser_startup_flicker.js. CLOSED TREE 2018-06-29 21:29:45 +03:00
Dão Gottwald
bea31df2b2 Bug 1459878 - Add "Show editor when saving" checkbox to the Bookmark panel. r=mak
MozReview-Commit-ID: IUji9cQmVz9

--HG--
extra : rebase_source : 67e0f9a5bd5ca0c5292fa738119b01cfec9dda7a
2018-06-29 12:39:30 +02:00
Andrew Swan
07dcc1c764 Bug 1451519 Convert specialpowers to a webextension r=kmag
This is a quick-and-dirty port.  It might be nice to replace
SpecialPowersObserver with the webextensions content script injection
system at some point, but that isn't practical right now (since WE experiments
cannot implement new APIs visible to content scripts).

MozReview-Commit-ID: GinCu3VcbWK

--HG--
rename : testing/specialpowers/bootstrap.js => testing/specialpowers/api.js
extra : rebase_source : 0faf7d21c8868c957ddc7fede0d56809f27dc161
extra : intermediate-source : ffb9ce93b92dd6396bfe038d3f6a8bcf929ec277
extra : source : cca596eadd0437dc75b75c119b6c7a405805f703
2018-06-27 13:10:51 -07:00
Paolo Amadini
1ff11c1b3d Bug 1472153 - Load the "tabbrowser.css" content stylesheet right after "browser.css". r=dao
MozReview-Commit-ID: 7IHOn7rfych

--HG--
extra : rebase_source : 1ac6acf4eb7802bd71e6079a1884f9f7b399be52
2018-06-29 13:44:44 +01:00
Dave Townsend
d8b7fb22e3 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

--HG--
rename : browser/base/content/test/general/browser_bug408415.js => browser/base/content/test/favicons/browser_bug408415.js
rename : browser/base/content/test/general/browser_bug550565.js => browser/base/content/test/favicons/browser_bug550565.js
rename : browser/base/content/test/general/browser_favicon_change.js => browser/base/content/test/favicons/browser_favicon_change.js
rename : browser/base/content/test/general/browser_favicon_change_not_in_document.js => browser/base/content/test/favicons/browser_favicon_change_not_in_document.js
rename : browser/base/content/test/general/browser_subframe_favicons_not_used.js => browser/base/content/test/favicons/browser_subframe_favicons_not_used.js
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_bug970276_favicon1.ico
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_bug970276_favicon2.ico
rename : browser/base/content/test/general/file_bug970276_popup1.html => browser/base/content/test/favicons/file_bug970276_popup1.html
rename : browser/base/content/test/general/file_bug970276_popup2.html => browser/base/content/test/favicons/file_bug970276_popup2.html
rename : browser/base/content/test/general/file_favicon_change.html => browser/base/content/test/favicons/file_favicon_change.html
rename : browser/base/content/test/general/file_favicon_change_not_in_document.html => browser/base/content/test/favicons/file_favicon_change_not_in_document.html
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_generic_favicon.ico
rename : browser/base/content/test/general/file_with_favicon.html => browser/base/content/test/favicons/file_with_favicon.html
extra : rebase_source : 6372b2681a59d267f966e9fa2ca9a54e3ff0cea0
extra : intermediate-source : b11aa832c41ac5beef9065f804d11fb7c9887990
extra : source : 638eb8a41245f6d9932861afda21edd5e0b2618a
2018-06-28 16:06:09 -07:00
Paolo Amadini
903a3c490b Bug 1421433 - Load the "global.css" and "browser.css" skin stylesheets earlier. r=dao
MozReview-Commit-ID: JbEHlM9XpFs

--HG--
extra : rebase_source : db33416292bd218e8d8c17f897e9a7ab8dcc6236
2018-06-28 19:10:36 +01:00
Abdoulaye O. Ly
d59d524fbe Bug 1458060 - Implement ability to pin/unpin a selection of tabs. r=jaws
MozReview-Commit-ID: Hqt8QrqQ62V

--HG--
extra : rebase_source : d7edcc85fbe7dd217b4a129f9c7d87457eca3284
2018-06-23 18:07:48 +00:00
Gijs Kruitbosch
4758d21e57 Bug 1472230 - warm up tab we'd switch to on-middle-mouse-button-down on tabs, r=mconley
Warm up tabs when users mouse down with the middle mouse button.

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

--HG--
extra : moz-landing-system : lando
2018-06-29 16:21:05 +00:00
shindli
c57ab475c6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-29 01:51:06 +03:00
shindli
d288e9cae7 Merge inbound to mozilla-central. a=merge 2018-06-29 00:53:32 +03:00
Dão Gottwald
50b93853b4 Bug 1471585 - Stop assuming that BookmarkingUI.anchor can be null. r=standard8
MozReview-Commit-ID: JpObSnChEU0

--HG--
extra : rebase_source : 0b96b14c94a5823073cafe65e327b7294f5574bf
2018-06-27 15:14:27 +02:00
J. Ryan Stinnett
84c4eba82e Bug 1365626 - Remove View MathML Source feature. r=mconley
The in-tree version of View MathML Source appears to have low usage, so it seems
reasonable to remove.  A similar feature is available as an add-on.

In recent months, the in-tree version has actually been broken, which wasn't
noticed for quite a while.  This adds further evidence for removal given the
lack of maintenance and interest in this feature.

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

--HG--
extra : moz-landing-system : lando
2018-06-28 20:45:31 +00:00
Cosmin Sabou
a612a6fdf5 Merge mozilla-central to mozilla-inbound. a=merge 2018-06-28 13:13:46 +03:00
Cosmin Sabou
f4b3baf021 Merge mozilla-inbound to mozilla-central. a=merge 2018-06-28 13:04:23 +03:00
Andreea Pavel
7aa70eced0 Backed out changeset c0ebdd0be6ba (bug 1467695) for failing browser chrome at browser/components/customizableui/test/browser_1007336_lwthemes_in_customize_mode.js on a CLOSED TREE 2018-06-28 05:41:36 +03:00
Tiberius Oros
945c24abe5 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-28 01:12:18 +03:00
Emilio Cobos Álvarez
e0ca8be691 Bug 1464782: Update references to offset-* properties in the rest of the tree. r=xidorn
MozReview-Commit-ID: AOMoLSJKySy
2018-06-27 16:12:02 +02:00
imjching
4867775c4c Bug 1469072 - Add infrastructure to move Activity Stream into its own content process. r=kmag,mconley
Summary:
This patch adds the infrastructure to move Activity Stream (about:newtab, about:home,
and about:welcome) into its own special content process - the privileged content
process. This feature of running Activity Stream in the privileged content process
is disabled by default. (See "browser.tabs.remote.separatePrivilegedContentProcess"
preference.) We can deal with other about: pages in a follow-up.

Reviewers: mconley

Tags: #secure-revision

Bug #: 1469072

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

MozReview-Commit-ID: 5gIrP4LxcIt

--HG--
extra : rebase_source : d43c411ae60aad3d5a3a496e6729de0b547b4acd
2018-06-20 14:04:51 -04:00
Christoph Kerschbaumer
25caec9ca2 Bug 1463663 - Prefix exported functions of the RemotePageManager with RPM. r=mossop 2018-06-27 09:08:32 +02:00
Kris Maglione
968b352951 Bug 1467695: Wait for async disable operations to finish when calling addonChanged listeners. r=aswan
MozReview-Commit-ID: 1vsevE8IgYU

--HG--
extra : source : 46e5404ad50cf39cfe8b10bbd9c45b4325d95d6e
extra : amend_source : 0895acc0eefd568035af4cac522dd64c86ee98fe
2018-06-08 13:02:43 -07:00
Kris Maglione
c1c1de7ce8 Bug 1467695: Wait for async disable operations to finish when calling addonChanged listeners. r=aswan
MozReview-Commit-ID: 1vsevE8IgYU

--HG--
extra : source : 46e5404ad50cf39cfe8b10bbd9c45b4325d95d6e
extra : amend_source : 0bfd172b9ec37e7f169269aa37cbe547d2156c6d
extra : intermediate-source : c0ebdd0be6ba6f9748690d0ae5479977e2ea54bb
2018-06-08 13:02:43 -07:00
Stephen A Pohl
49fcbb81cb Bug 1466335: Automatically apply the dark theme on startup if the OS is in dark mode. r=dao 2018-06-27 13:59:40 -04:00
Gurzau Raul
729b75ccb4 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-27 00:55:38 +03:00
Kris Maglione
11a1974c47 Bug 1469719: Follow-up: Fix botched file save. r=stupid-fixup
--HG--
extra : amend_source : ba5e0589e39115a31186ee9c5c87ab40fe1da261
2018-06-26 14:31:41 -07:00
Kris Maglione
e0b820a4c0 Bug 1469719: Follow-up: Update test expectations. r=me,test-only 2018-06-26 14:19:12 -07:00
Kris Maglione
d407354402 Bug 1469719: Avoid loading LoginManagerContent before it's needed. r=felipe
The "pageshow" and "blur" event listeners in LoginManagerContent only matter
once the module has loaded and processed other events. Before that, they're
guaranteed to be no-ops.

This patch delays adding those listeners before LoginManagerContent is used
for a given frame script.

MozReview-Commit-ID: 1f5AOkRkAhp

--HG--
extra : source : bab121b4dd84f9715e6a9efa652556a91ea60a3c
2018-06-24 18:07:59 -07:00
Kris Maglione
33d055eb2d Bug 1470023: Lazily load PluginContent.jsm when it's first required. r=felipe
MozReview-Commit-ID: 2n9NP5mEEcG

--HG--
extra : source : 064e448df638efc4a99fdf9f400d1eac2b7505ca
extra : amend_source : 66687c347238d43c24e5cc8080b102097b43b3ac
extra : intermediate-source : 1adc0372343e6ca2248f3c16cede6a103aebcaa7
2018-06-24 17:33:55 -07:00
shindli
13098ab1ef Backed out 3 changesets (bug 1470023, bug 1469719, bug 1470965) for | toolkit/components/perfmonitoring/tests/browser/browser_compartments.js on a CLOSED TREE
Backed out changeset bab121b4dd84 (bug 1469719)
Backed out changeset d28d3a80e781 (bug 1470965)
Backed out changeset 1adc0372343e (bug 1470023)
2018-06-26 22:57:54 +03:00
Kris Maglione
b35027d743 Bug 1469719: Avoid loading LoginManagerContent before it's needed. r=felipe
The "pageshow" and "blur" event listeners in LoginManagerContent only matter
once the module has loaded and processed other events. Before that, they're
guaranteed to be no-ops.

This patch delays adding those listeners before LoginManagerContent is used
for a given frame script.

MozReview-Commit-ID: 1f5AOkRkAhp

--HG--
extra : rebase_source : 392abe8ca2743fa4fdc40e642743acef1b314683
2018-06-24 18:07:59 -07:00
Kris Maglione
d9da2cdb02 Bug 1470023: Lazily load PluginContent.jsm when it's first required. r=felipe
MozReview-Commit-ID: 2n9NP5mEEcG

--HG--
extra : rebase_source : 4357e78d02e7c3f6af6cfea1e0681e50476bddcb
extra : source : 064e448df638efc4a99fdf9f400d1eac2b7505ca
2018-06-24 17:33:55 -07:00
Oriol Brufau
050e9292da Bug 1465170 - Implement support for the 'highlighted' API for multiselect tabs with tabs.query r=jaws,mixedpuppy
MozReview-Commit-ID: 6eFnxrXJXXB

--HG--
extra : rebase_source : f0afa7ab08d32d7751c5bcbf1ed9fc65a1fba16b
2018-06-03 02:53:59 +02:00
Luca Greco
a895c895dc Bug 1459613 - Show extension name in PermissionUI / webrtcUI doorhangers and menus items. r=johannh
MozReview-Commit-ID: 2NbbsWkxDHm

--HG--
extra : rebase_source : eba0db59a07266a6d3d2f0829dd886d5375b296e
2018-05-16 19:32:42 +02:00
Felipe Gomes
be36d3cc96 Bug 1471066 - Convert browser_startup_content.js to a whitelist. r=florian
This should prevent new files from being added in the startup path for content processes

MozReview-Commit-ID: 6hCLurrVQ67

--HG--
extra : rebase_source : 82d161e536decae07cef04b35e3233e947c5b0e7
2018-06-27 13:55:38 -03:00
Abdoulaye O. Ly
24cd3a4391 Bug 1470677 - Undo duplication in browser_multiselect_tabs_mute_unmute.js test file by moving browser_audioTabIcon.js to /browser/base/content/test/tabs directory. r=jaws
MozReview-Commit-ID: 6psjZW3bdNG

--HG--
rename : browser/base/content/test/general/browser_audioTabIcon.js => browser/base/content/test/tabs/browser_audioTabIcon.js
extra : rebase_source : 0ae2be71cf087237a91198888565c74e5b8194c9
2018-06-27 05:21:59 +00:00
Dão Gottwald
bd9b790de8 Bug 1471580 - Remove unused _bookmarkPopupInitialized flag. r=standard8
MozReview-Commit-ID: LI7oXGLDyso

--HG--
extra : rebase_source : f8a4a2282b215ef4d02c91995916002af87d23b4
2018-06-27 14:57:16 +02:00
Dão Gottwald
8504e94efd Bug 1470393 - Implement workaround for squashed favicon in the bookmarking panel. r=mak
MozReview-Commit-ID: IjbeUoTgxWO

--HG--
extra : rebase_source : 82310f542afd999c2f1a6808a0517469b5a56641
2018-06-26 13:14:00 +02:00
Brian Grinstead
b5d178013e Bug 1470661 - Remove tabbrowser-newtab-popup binding;r=dao
After Bug 1446101, this binding only shows the menupopup to select a container
when long-pressing the new tab button. There is only one instance of this
binding (created by #tabbrowser-tabs), so this patch moves the event listener
alongside the element creation.

MozReview-Commit-ID: EoA3MpTkBNj

--HG--
extra : rebase_source : 97997cd6c03bc3b0b13f6ef30b18407d1e1c5545
2018-06-23 07:23:37 -07:00
Gijs Kruitbosch
006aa20e16 Bug 1438499 - show 'close multiple tabs' warning dialog when quitting, r=jaws,whimboo
MozReview-Commit-ID: J2gi9do8HK9

--HG--
extra : rebase_source : b22103b5a4d43fc6da535ef00f75ed6bc80d92fb
2018-06-13 09:34:52 -07:00
Gijs Kruitbosch
4991b73f4a Bug 1470002 - remove pageshow message passing, too, r=adw,jryans
MozReview-Commit-ID: 27v79lVOODG

--HG--
extra : rebase_source : ffa5561834b03205bf5f5b0cb3ee65b29eb82a9b
2018-06-20 22:53:40 +01:00
Gijs Kruitbosch
839706233a Bug 1470002 - remove pagehide message passing from browser code, r=mixedpuppy
MozReview-Commit-ID: 18hsSwHsWzz

--HG--
extra : rebase_source : f5d93272bd437f135a9d9f8242c3e02be1a2659a
2018-06-20 22:41:27 +01:00
Mark Banner
5b8ba7f27e Bug 1452645 - Remove load in sidebar functionality. r=lina,mak
Based on patch by mixedpuppy.

MozReview-Commit-ID: BZwOtr4VbCH

--HG--
extra : rebase_source : 2e3ad3fedaf82d0e5d3db9bcebf1c2faa46447e7
2018-06-06 21:00:45 +01:00
Dão Gottwald
cd159c76f7 Bug 1459907 - Implement new bookmark confirmation. r=mak
MozReview-Commit-ID: DsTXTKgX72y

--HG--
extra : rebase_source : 836ba1340189d22e4ee9f0fdb1c4ff339fbd266f
2018-06-23 15:28:47 +02:00
Mark Striemer
549ae82f55 Bug 1446101 - Part 4: Remove old alltabs code, rename alltabs-popup to newtab-popup r=dao
MozReview-Commit-ID: 1U0Jg9bpEGV

--HG--
extra : rebase_source : 08a4f7dc03efefe447bdff10b22bca69fce157fe
2018-06-06 16:34:49 -05:00
Mark Striemer
337dd181f0 Bug 1446101 - Part 3: Make History > Hidden Tabs deep link to Hidden Tabs menu r=mak
MozReview-Commit-ID: KgfpYbfVjUm

--HG--
extra : rebase_source : a74189c177c39a9e1c450e64aa6da57ff7635885
2018-06-04 17:11:23 -05:00
Mark Striemer
97b891af2b Bug 1446101 - Part 2: Convert the all tabs panel to photon styles r=dao
MozReview-Commit-ID: 3VzqnG6X5rw

--HG--
rename : browser/modules/TabsPopup.jsm => browser/modules/TabsList.jsm
extra : rebase_source : f31401acae04607d292972cd4ab783334d2b0242
2018-06-06 15:48:21 -05:00