Commit Graph

2864 Commits

Author SHA1 Message Date
Shane Caraveo
7df3401a58 Bug 1532165 use prefs to support extension newtab and homepage on startup. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D25808

--HG--
extra : moz-landing-system : lando
2019-04-08 22:36:26 +00:00
Trushita
89435f2ad4 Bug 1494948: Removed FX_PREFERENCES_OPENED_VIA probe and origin parameter for openPreferences r=jaws,chutten
Removed FX_PREFERENCES_OPENED_VIA probe as it expired in 63.Origin parameter for openPreferences has also been removed.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 20:40:26 +00:00
Paul Zuehlcke
6fdf832adc Bug 1492668 - Store temporary site permissions by base domain to mitigate permission notification spam r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D26704

--HG--
extra : rebase_source : 84cd5ee40755276ae9f6adeee9d6d06e65bb0607
extra : source : 1839a68aea956a9c69f305f1c6b493a20e72a2d7
2019-04-09 12:56:47 +00:00
Cosmin Sabou
b956e6c5d1 Backed out changeset 1839a68aea95 (bug 1492668) for assertion failures on GMPParent.cpp. CLOSED TREE 2019-04-09 17:11:28 +03:00
Paul Zuehlcke
3badc9750a Bug 1492668 - Store temporary site permissions by base domain to mitigate permission notification spam r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D26704

--HG--
extra : moz-landing-system : lando
2019-04-09 12:56:47 +00:00
Andrea Marchesini
d89d469dba Bug 1532948 - Sanitize principal on shutdown should behave like 'Manage cache and Site Data' cleanup, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D23825

--HG--
extra : moz-landing-system : lando
2019-04-05 10:35:54 +00:00
phoenixabhishek
b66ed5ba6f Bug 1521919 - SitePermissions.get should check for nsIURI. r=johannh
functions now throw an error if the uri parameter is not an nsIURI.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 05:40:23 +00:00
Johann Hofmann
9fb44dc7a9 Bug 1508961 - Show a notification icon after automatically dismissing permission prompts. r=MattN
This adds support for a "post-prompt" that appears dismissed (only the icon showing) when
the browser decides to automatically deny a permission request from a site (either based on
internal heuristics or because the user prefers not to receive permission prompts).

In order to move quickly and not overload the patch I have only implemented the post-prompting
for desktop-notification so far, however, implementing it for other permissions should be
a trivial follow-up.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 10:22:19 +00:00
Ed Lee
9eeafb725f Bug 1541502 - Add Pocket menu, triggering improvements and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D25984

--HG--
rename : browser/components/newtab/locales-src/bn-BD/strings.properties => browser/components/newtab/locales-src/bn/strings.properties
rename : browser/components/newtab/prerendered/locales/bn-BD/activity-stream-noscripts.html => browser/components/newtab/prerendered/locales/bn/activity-stream-noscripts.html
rename : browser/components/newtab/prerendered/locales/bn-BD/activity-stream-prerendered-noscripts.html => browser/components/newtab/prerendered/locales/bn/activity-stream-prerendered-noscripts.html
rename : browser/components/newtab/prerendered/locales/bn-BD/activity-stream-prerendered.html => browser/components/newtab/prerendered/locales/bn/activity-stream-prerendered.html
rename : browser/components/newtab/prerendered/locales/bn-BD/activity-stream-strings.js => browser/components/newtab/prerendered/locales/bn/activity-stream-strings.js
rename : browser/components/newtab/prerendered/locales/bn-BD/activity-stream.html => browser/components/newtab/prerendered/locales/bn/activity-stream.html
rename : browser/components/newtab/prerendered/locales/mai/activity-stream-noscripts.html => browser/components/newtab/prerendered/locales/trs/activity-stream-noscripts.html
rename : browser/components/newtab/prerendered/locales/mai/activity-stream.html => browser/components/newtab/prerendered/locales/trs/activity-stream.html
extra : moz-landing-system : lando
2019-04-04 14:32:55 +00:00
Jan-Erik Rediger
6bc73bc6a2 Bug 1529696 - Rename DATASET_RELEASE_CHANNEL_OPTOUT/OPTIN to DATASET_ALL/PRERELEASE_CHANNELS everywhere r=chutten
Depends on D25934

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

--HG--
extra : moz-landing-system : lando
2019-04-03 17:12:11 +00:00
Gijs Kruitbosch
7a09de96f9 Bug 1539757 - fix trying to initialize XBL bindings while the prompt is still hidden, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D25390

--HG--
extra : moz-landing-system : lando
2019-04-01 13:37:49 +00:00
Andrea Marchesini
61e44c6220 Bug 1524200 - Add more debugging message to Sanitizer.jsm, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D25289

--HG--
extra : moz-landing-system : lando
2019-04-01 13:46:56 +00:00
Johann Hofmann
8885eb3fe6 Bug 1540088 - Require user interaction for push notification permission prompts in Nightly. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D25418

--HG--
extra : moz-landing-system : lando
2019-03-29 18:08:20 +00:00
Ciure Andrei
73e7b60fc2 Backed out changeset de24b08ddc37 (bug 1539757) for causing browser_hidden_document_autofill.js, browser_httpauth.js, test_bug_627616.html to permafail CLOSED TREE
--HG--
extra : histedit_source : 12f30c6ab7c094c787618b62090e221815ff8439
2019-03-30 03:13:58 +02:00
Gijs Kruitbosch
4ffc2ff028 Bug 1539757 - fix trying to initialize XBL bindings while the prompt is still hidden, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D25390

--HG--
extra : moz-landing-system : lando
2019-03-29 23:11:37 +00:00
Erica Wright
fccf274cc5 Bug 1524883 - Clear storageAccessAPI permissions when history is cleared. r=johannh,Ehsan
When history is cleared, clear the flag that indicates a user has visited the domain.

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

--HG--
extra : moz-landing-system : lando
2019-03-28 18:44:08 +00:00
Mark Banner
dba6983e75 Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D23850

--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:14 +00:00
Luca Greco
f427f53ee6 Bug 1538546 - Check AddonManager PERM_CAN_CHANGE_PRIVATEBROWSING_ACCESS permission instead of the incognito manifest property. r=kmag,mixedpuppy
Depends on D24719

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

--HG--
extra : moz-landing-system : lando
2019-03-26 19:04:01 +00:00
Luca Greco
6ae82211f6 Bug 1538546 - Hide incognito checkbox in addon-installed notification for not_allowed extensions. r=mixedpuppy,kmag
Differential Revision: https://phabricator.services.mozilla.com/D24719

--HG--
extra : moz-landing-system : lando
2019-03-26 18:31:57 +00:00
Felipe Gomes
d96900349d Bug 1539311 - Fix incorrect parameter in the Windows Taskbar Previews code. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D25013

--HG--
extra : moz-landing-system : lando
2019-03-27 10:26:53 +00:00
Andrei Oprea
8975211e35 Bug 1505535 - Add tab usage probes for pinned tabs r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D24031

--HG--
extra : moz-landing-system : lando
2019-03-26 09:12:10 +00:00
Dale Harvey
dcb0f70ac2 Bug 1534219 - Only clear globally blocked permission on navigation. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D23844

--HG--
extra : moz-landing-system : lando
2019-03-22 10:57:16 +00:00
akshitha
3f1d5459d1 Bug 1511416 -Screen sharing preview pops up in Camera permission prompt . r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D21976

--HG--
extra : moz-landing-system : lando
2019-03-18 12:12:29 +00:00
Luca Greco
ab09637b22 Bug 1533172 - Show post install notification when enabling sideload extensions. r=mixedpuppy,kmag
Differential Revision: https://phabricator.services.mozilla.com/D22700

--HG--
extra : moz-landing-system : lando
2019-03-22 19:19:35 +00:00
Ciure Andrei
559632b9f9 Backed out changeset 01cdf8342a49 (bug 1521919) for test_SitePermissions.js perma failures CLOSED TREE 2019-03-22 18:01:27 +02:00
phoenixabhishek
54f5273656 Bug 1521919 - SitePermissions.get should check for nsIURI. r=johannh
functions now throw an error if the uri parameter is not an nsIURI.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 10:32:30 +00:00
Tom Tung
75324d92e3 Bug 1529301 - P3 - Use the listInitializedOrigins on Sanitizer.jsm; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D21725

--HG--
extra : moz-landing-system : lando
2019-03-22 06:04:50 +00:00
Coroiu Cristina
60be40b053 Merge inbound to mozilla-central a=merge 2019-03-21 23:59:53 +02:00
Ian Moody
67fb55f3b9 Bug 1536653 - browser/ automated ESLint no-throw-literal fixes. r=Gijs
Result of running:
$ mach eslint -funix browser/ | sed -Ee 's/:.+//' - | xargs sed -E \
    -e 's/throw ((["`])[^"]+\2);/throw new Error(\1);/g' \
    -e 's/throw ((["`])[^"]+\2 \+ [^ ";]+);/throw new Error(\1);/g' \
    -e 's/throw \(/throw new Error(/g' -i

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

--HG--
extra : moz-landing-system : lando
2019-03-20 10:17:42 +00:00
Gijs Kruitbosch
1e96300cf3 Bug 1353013 - create preloaded newtab browser from an idle task, only in top window(s), r=dthayer
This limits us to 1 preloaded browser per window, in the top 3 normal windows + top 3 private windows.
If we try to create additional browsers beyond that, we instead move a pre-existing browser across.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 17:29:48 +00:00
Gijs Kruitbosch
5e05f6c9c9 Bug 1353013 - move new tab preload browser tracking into a separate module, r=dthayer
Differential Revision: https://phabricator.services.mozilla.com/D21126

--HG--
extra : moz-landing-system : lando
2019-03-19 17:29:14 +00:00
shindli
a7af1edc71 Backed out 3 changesets (bug 1353013) for a11y failures in accessible/tests/mochitest/relations/test_tabbrowser.xul CLOSED TREE
Backed out changeset af8bce2330e9 (bug 1353013)
Backed out changeset a3d1302b06c0 (bug 1353013)
Backed out changeset 976afd1adf84 (bug 1353013)
2019-03-18 18:21:16 +02:00
Gijs Kruitbosch
e306931fb1 Bug 1353013 - create preloaded newtab browser from an idle task, only in top window(s), r=dthayer
This limits us to 1 preloaded browser per window, in the top 3 normal windows + top 3 private windows.
If we try to create additional browsers beyond that, we instead move a pre-existing browser across.

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

--HG--
extra : moz-landing-system : lando
2019-03-12 14:34:39 +00:00
Gijs Kruitbosch
b7a741e6cb Bug 1353013 - move new tab preload browser tracking into a separate module, r=dthayer
Differential Revision: https://phabricator.services.mozilla.com/D21126

--HG--
extra : moz-landing-system : lando
2019-03-12 14:34:04 +00:00
Shane Caraveo
c8a20292a3 Bug 1534714 handle checkbox state when appmenu refreshed across windows r=Gijs
This adds an onRefresh option for app menus so we can update custom controls
in any opened window.  In this case, we need to refresh the checkbox state in the
addon-installed panel.  We test this using the theme install test and verify both
windows do not have the checkbox.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 18:31:07 +00:00
monmanuela
1d874536ba Bug 1528108 - Drop support for PageThumbUtils.createCanvas with null window r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D22892

--HG--
extra : moz-landing-system : lando
2019-03-15 09:26:29 +00:00
Thomas Nguyen
26bd1e060c Bug 1528695 - Part 2 : Use referrerInfo in openWindow, contextmenu and openLinkIn r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D21911

--HG--
extra : moz-landing-system : lando
2019-03-15 05:10:17 +00:00
Kyle Machulis
b1414002ac Bug 1524709 - Remove aShouldBeRemote from updateBrowserRemoteness; r=nika
Just set the RemoteType in the options object argument, instead of
doubling up the information.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 00:51:30 +00:00
Oana Pop Rus
39feeaf9a5 Merge inbound to mozilla-central. a=merge 2019-03-13 12:09:03 +02:00
Andrew Swan
42db01a54d Bug 1534796 Tweak default search prompts r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D23227

--HG--
extra : rebase_source : 07c7a0c165f1067c3f970efe48b9eac4b3e32a8a
2019-03-12 14:32:24 -07:00
Edouard Oger
d391c790bc Bug 1532514 - Update sinon to v7.2.7. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D22046

--HG--
extra : moz-landing-system : lando
2019-03-12 19:32:40 +00:00
Dorel Luca
eb794cd9b8 Backed out changeset 4b280518c7b1 (bug 1532514) for Browser-chrome failures in browser/components/syncedtabs/test/browser/browser_sidebar_syncedtabslist.js. CLOSED TREE 2019-03-12 03:59:56 +02:00
Edouard Oger
565385661c Bug 1532514 - Update sinon to v7.2.7. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D22046

--HG--
extra : moz-landing-system : lando
2019-03-12 00:18:16 +00:00
Shane Caraveo
808a1d3edb Bug 1533519 hide private checkbox for non-extension addons r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D22591

--HG--
extra : moz-landing-system : lando
2019-03-08 13:51:52 +00:00
Dão Gottwald
fb03a6d522 Backed out changeset 59c8fffe9e41 (bug 1442694) 2019-03-07 11:41:29 +01:00
Luca Greco
fef8da949e Bug 1529347 - Record telemetry event on extensions enabled on private windows from the post install notification doorhanger. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D21931

--HG--
extra : moz-landing-system : lando
2019-03-06 13:59:31 +00:00
Felipe Gomes
178783f955 Bug 827976 - Make Sanitizer.jsm not use the hidden window. r=Gijs
It doesn't need a high precision performance.now() to count minutes. In addition, if there are no windows to be closed, it's not doing anything, so it doesn't need to open a new one.

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

--HG--
extra : moz-landing-system : lando
2019-03-04 18:53:07 +00:00
Shane Caraveo
5046835f49 Bug 1531974 revert automatic extension permission in permanent private browsing r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D21937

--HG--
extra : moz-landing-system : lando
2019-03-04 19:00:21 +00:00
Ed Lee
b88f62c296 Bug 1532321 - Add impression positions, React 16.8.3 and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D21944

--HG--
extra : moz-landing-system : lando
2019-03-04 19:15:21 +00:00
Doug Thayer
9790c57933 Bug 1442694 - Preopen pinned tabs before session restore r=Gijs
When we open firefox with pinned tabs, we first paint a window with
one tab open, and then that tab gets displaced after the pinned tabs
come in. This aims to ensure that our first paint contains the
pinned tab, so that we don't have tabs moving around after first
paint.

MozReview-Commit-ID: GC1y6NlgLTd

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

--HG--
extra : moz-landing-system : lando
2019-03-01 18:28:53 +00:00