Commit Graph

6530 Commits

Author SHA1 Message Date
Ciure Andrei
a55b661b04 Merge inbound to mozilla-central. a=merge 2018-07-05 12:51:41 +03:00
Kris Maglione
5a3ffd4ede Bug 1470333: Part 2 - Avoid creating ConsoleAPI instances when debug logging is not enabled. r=MattN
MozReview-Commit-ID: Edck1SgCcDA
2018-07-04 12:43:21 -07:00
Coroiu Cristina
dfd438c078 Backed out 2 changesets (bug 1470333) for xpcshell failures at browser/extensions/formautofill/test/unit/test_getFormInputDetails.js
Backed out changeset dbea1942a32f (bug 1470333)
Backed out changeset 440ee3fab72a (bug 1470333)
2018-07-05 00:24:27 +03:00
Kris Maglione
871bddafb2 Bug 1470333: Part 2 - Avoid creating ConsoleAPI instances when debug logging is not enabled. r=MattN
MozReview-Commit-ID: Edck1SgCcDA
2018-07-04 12:43:21 -07:00
Drew Willcoxon
433cf16c1b Bug 1467627 - Calculate origin frecency as the sum of all URL frecencies instead of the max. r=mak
MozReview-Commit-ID: KZi9C7olvsj
2018-07-04 14:01:28 -07:00
Dão Gottwald
a39a79d47f Bug 1473073 - Remove PlacesCommandHook.bookmarkPage's browser argument. r=mak
MozReview-Commit-ID: BH5r7Tn8KV1
2018-07-03 22:46:46 +02:00
arthur.iakab
2476395d52 Merge inbound to mozilla-central a=merge 2018-07-03 11:55:46 +03:00
Tiberius Oros
a746fb8d53 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-03 00:59:47 +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
Dave Townsend
cb21b0062f Bug 1472477: Follow redirects when loading favicons. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D1902
2018-07-02 13:44:47 +00:00
Dão Gottwald
541fa834f8 Bug 1472275 - Remove PlacesCommandHook.bookmarkPage's aShowEditUI argument. r=standard8
MozReview-Commit-ID: CGYSF1OvoVg
2018-06-29 19:45:35 +02: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
Andrew Swan
f713bd07d8 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
2018-06-27 13:10:51 -07: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
Cosmin Sabou
7fbf02dcb7 Merge mozilla-central to mozilla-inbound. a=merge 2018-06-28 13:13:46 +03:00
imjching
8eeb1463f7 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
2018-06-20 14:04:51 -04:00
Kris Maglione
cf72ffd7d1 Bug 1467695: Wait for async disable operations to finish when calling addonChanged listeners. r=aswan
MozReview-Commit-ID: 1vsevE8IgYU
2018-06-08 13:02:43 -07:00
Andreea Pavel
9c6a2a62cf 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
Kris Maglione
f32e860b92 Bug 1467695: Wait for async disable operations to finish when calling addonChanged listeners. r=aswan
MozReview-Commit-ID: 1vsevE8IgYU
2018-06-08 13:02:43 -07:00
Kris Maglione
68aac4e1be Bug 1469719: Follow-up: Fix botched file save. r=stupid-fixup 2018-06-26 14:31:41 -07:00
Kris Maglione
97262279af Bug 1469719: Follow-up: Update test expectations. r=me,test-only 2018-06-26 14:19:12 -07:00
Kris Maglione
ce4a4be2a3 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
2018-06-24 18:07:59 -07:00
shindli
6f67e8ac1d 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
0851f880c0 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
2018-06-24 18:07:59 -07:00
Luca Greco
6b913e86c8 Bug 1459613 - Show extension name in PermissionUI / webrtcUI doorhangers and menus items. r=johannh
MozReview-Commit-ID: 2NbbsWkxDHm
2018-05-16 19:32:42 +02:00
Felipe Gomes
b7b574d958 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
2018-06-27 13:55:38 -03:00
Abdoulaye O. Ly
26103bbe55 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
2018-06-27 05:21:59 +00:00
Mark Banner
b24bddc9dc Bug 1452645 - Remove load in sidebar functionality. r=lina,mak
Based on patch by mixedpuppy.

MozReview-Commit-ID: BZwOtr4VbCH
2018-06-06 21:00:45 +01:00
Dão Gottwald
3e1a255f0a Bug 1459907 - Implement new bookmark confirmation. r=mak
MozReview-Commit-ID: DsTXTKgX72y
2018-06-23 15:28:47 +02:00
Abdoulaye O. Ly
bfbbeb954b Bug 1468443 - Reorder browser/base/content/tests/tabs/browser.ini in alphabetic order. r=jaws
MozReview-Commit-ID: GRnjT2cjaf4
2018-06-21 23:31:30 +00:00
Abdoulaye O. Ly
2b7e71e1ad Bug 1468443 - Consider the 'active tab'(gBrowser.selectedTab) as part of the multi-selection by default. r=jaws
MozReview-Commit-ID: DZAhZ7iQqFl
2018-06-20 19:53:51 +00:00
Johann Hofmann
044f653fb1 Bug 1470020 - Part 2 - Add specific states for when the user has added a TP exception to the TP section of the identity popup. r=florian
We used to give this all the same "tracking-loaded" state, but now we want to differentiate between:

- Tracking loaded because TP is off
- Tracking loaded because of an exception
- Tracking not loaded but the site has an exception, which we want to allow the user to remove (if TP is on)

MozReview-Commit-ID: E9j0Roq1bsH
2018-06-21 02:10:02 +02:00
Johann Hofmann
cba40dc40e Bug 1470020 - Part 1 - Don't show the "Enable Protection" button when it links to the TP preferences. r=florian
UX found this confusing and unnecessary, after all.

MozReview-Commit-ID: DSBu8Xyo3YO
2018-06-21 02:05:08 +02:00
Cosmin Sabou
e508f7bd05 Merge inbound to central. a=merge 2018-06-21 04:16:40 +03:00
Jonathan Kew
a32f03590b Bug 1469104 - Fix testcase in browser_sanitize-timespans to not fail immediately after midnight. r=mak 2018-06-20 12:34:05 +01:00
Harry Twyford
4ddbcc0716 Bug 1460097 - Autocompleted URLs are trimmed. r=mak
MozReview-Commit-ID: 6y26a9Nhm3b
2018-05-16 14:12:16 -04:00
shindli
7722bee468 Merge inbound to mozilla-central. a=merge 2018-06-19 00:40:13 +03:00
Issei Horie
f8a41f9d3e Bug 1426426 - Stop shipping communicator.css. r=gijs 2018-06-12 08:08:35 +09:00
Valentin Gosu
25e551456b Bug 1389251 - Fix browser_webconsole_context_menu_copy_entire_message.js so findMessage doesn't match on the wrong thing r=jdescottes
See Bug 1389251 comment 29 for full explanation of why we do this.
Also replaces ok(lines.length, value) with is(lines.length, value)

MozReview-Commit-ID: D4C3Aum9sfQ
2018-06-18 15:06:25 +02: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
Mark Banner
706a19ce6d Bug 1453667 - Remove BrowserUITelemetry. r=gfritzsche
MozReview-Commit-ID: Co31OPRrdpi
2018-06-06 20:29:09 +01:00
Mark Banner
8bd7ef0069 Bug 1453667 - Remove BrowserUITelemetry from search. r=adw
MozReview-Commit-ID: L0Fj2d7BGdt
2018-06-06 19:40:27 +01:00
kanika
b75efc14de Bug 1428847 - Move is_hidden and is_visible helper functions into BrowserTestUtils.jsm. r=johannh
MozReview-Commit-ID: 2xshA0CAPgY
2018-03-22 21:14:23 +05:30
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
Johann Hofmann
7e69e0da0a Bug 1462470 - Part 6 - Add tests for the updated tracking protection UI in the identity popup. r=Paolo
This adds tests and moves the browser_trackingUI_1 test to the more general
trackingUI directory. The remaining TP tests will be moved in bug 1451307.

MozReview-Commit-ID: FHP4ULX0OQG
2018-05-31 22:54:26 +02:00