Commit graph

20552 commits

Author SHA1 Message Date
Johann Hofmann
f5a47eaeb4 Bug 1540416 - Correctly test cookie restrictions in browser_trackingUI_report_breakage. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D27255

--HG--
extra : moz-landing-system : lando
2019-04-15 18:53:22 +00:00
Johann Hofmann
84629fe030 Bug 1540416 - Move toggling the report breakage button out of onContentBlockingEvent. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D27254

--HG--
extra : moz-landing-system : lando
2019-04-15 20:34:12 +00:00
Christian Frey
db813346c4 Bug 1523757 - Convert panelUI.inc.xul to Fluent r=flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D26447

--HG--
extra : moz-landing-system : lando
2019-04-15 18:10:46 +00:00
Kirk Steuber
d1a3741601 Bug 1520321 - Use BITS in nsUpdateService r=rstrong
nsUpdateService should use BITS for download. If the BITS download fails, it will fallback to the existing download mechanism (nsIIncrementalDownload).

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

--HG--
extra : moz-landing-system : lando
2019-04-15 19:44:45 +00:00
Drew Willcoxon
c1f323bbe7 Bug 1541929 - Don't autofill the first result in some cases. r=mak
We need to handle autofilling the first result separately from autofilling results in general (which happens in UrlbarInput.setValueFromResult), so add a new UrlbarInput.autofillFirstResult method. The controller calls it instead of setValueFromResult. I ported the logic from nsAutoCompleteController, as described in the bug.

Other changes are related to the new test for this.

As part of this work, I was interested in learning how awesomebar handles browser_autoFill_typed.js, so I added it to the legacy tests, with a small tweak in the test for awesomebar.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 13:15:30 +00:00
Andrea Marchesini
6f470dae23 Bug 1515913 - Implement nsICookieService.removeCookiesFromRootDomain, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D27289

--HG--
extra : moz-landing-system : lando
2019-04-12 20:27:21 +00:00
Mike Conley
559f6fe0f2 Bug 1543128 - Get rid of most of the AnonymousContent toggle implementation, but leave some things stubbed out for a later patch. r=jaws,zbraniecki
Depends on D26804

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:09:12 +00:00
Csoregi Natalia
9e8043e236 Backed out 10 changesets (bug 1542756, bug 1543128, bug 1543122) for multiple media failures /test_setSinkId.html. CLOSED TREE
Backed out changeset ce3a15e1b737 (bug 1543128)
Backed out changeset cea8c1af70ad (bug 1543128)
Backed out changeset aeb23f8f45fb (bug 1543128)
Backed out changeset a2e73d143aba (bug 1543128)
Backed out changeset 1692fc6491a0 (bug 1543128)
Backed out changeset 9fbce4274cfd (bug 1542756)
Backed out changeset 20092bcebe6a (bug 1543122)
Backed out changeset 1645d577016c (bug 1543122)
Backed out changeset 3fce0b7586c1 (bug 1543122)
Backed out changeset aab68db4131b (bug 1543122)
2019-04-13 06:22:47 +03:00
Mike Conley
326dd681a9 Bug 1543128 - Get rid of most of the AnonymousContent toggle implementation, but leave some things stubbed out for a later patch. r=jaws,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D26805

--HG--
extra : moz-landing-system : lando
2019-04-13 01:23:48 +00:00
Marco Bonardo
f007744700 Bug 1541647 - Avoid rebinding the urlbar on startup if Quantum Bar is enabled. r=Standard8
Applying the attribute early enough allows us to avoid rebinding the urlbar,
plus a few checks to ensure "popup" windows, without a visible toolbar, work
properly.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 14:14:51 +00:00
Dale Harvey
dfa97c85c1 Bug 1538602 - Dont depend on event for icon shown condition. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D27187

--HG--
extra : moz-landing-system : lando
2019-04-12 12:32:13 +00:00
Oana Pop Rus
c54800711d Backed out 5 changesets (bug 1531838) for causing linux asan leaks. CLOSED TREE
Backed out changeset 7e886806ae98 (bug 1531838)
Backed out changeset 24d7fb7fd3af (bug 1531838)
Backed out changeset 3e538caf5af2 (bug 1531838)
Backed out changeset ae727251b802 (bug 1531838)
Backed out changeset 9b0dab8154c0 (bug 1531838)
2019-04-12 02:15:40 +03:00
nidhi
226e83369e BUG 1448932 - Added: Prefs for tracking protection intro r=johannh
replaced MAX_INTROS constant value of 20 with pref set to 5

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

--HG--
extra : moz-landing-system : lando
2019-04-11 21:58:58 +00:00
Nihanth Subramanya
d849a2f135 Bug 1531838 - Reliably wait for click-to-play popup notification in private windows. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D26700

--HG--
extra : moz-landing-system : lando
2019-04-10 22:11:39 +00:00
Dale Harvey
9bdc33dd43 Bug 1496075 - Part 3: Use webextensions in SearchServices. r=mikedeboer,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D25246

--HG--
rename : browser/components/search/searchplugins/list.json => browser/components/search/extensions/list.json
rename : browser/components/search/searchplugins/images/wikipedia.ico => toolkit/components/search/tests/xpcshell/data/test-extensions/multilocale/favicon.ico
rename : browser/components/search/searchplugins/images/google.ico => toolkit/components/search/tests/xpcshell/data/test-extensions/special-engine/favicon.ico
extra : moz-landing-system : lando
2019-04-11 20:49:31 +00:00
Dale Harvey
7ebe97c465 Bug 1496075 - Part 1: Extensions changes to support search extensions. r=mixedpuppy,robwu
Differential Revision: https://phabricator.services.mozilla.com/D25244

--HG--
extra : moz-landing-system : lando
2019-04-11 21:30:47 +00:00
Shane Caraveo
a401892884 Bug 628041 refresh the install blocked panel text r=flod,aswan
Differential Revision: https://phabricator.services.mozilla.com/D25881

--HG--
extra : moz-landing-system : lando
2019-04-11 18:56:47 +00:00
Syeda Asra Arshia Qadri
be84237367 Bug 1541432: Move browser_keyword* tests from browser/base/content/test/general to browser/components/urlbar. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D26895

--HG--
rename : browser/base/content/test/general/POSTSearchEngine.xml => browser/components/urlbar/tests/browser/POSTSearchEngine.xml
rename : browser/base/content/test/general/browser_keywordBookmarklets.js => browser/components/urlbar/tests/browser/browser_keywordBookmarklets.js
rename : browser/base/content/test/general/browser_keywordSearch.js => browser/components/urlbar/tests/browser/browser_keywordSearch.js
rename : browser/base/content/test/general/browser_keywordSearch_postData.js => browser/components/urlbar/tests/browser/browser_keywordSearch_postData.js
extra : moz-landing-system : lando
2019-04-11 13:37:48 +00:00
Tim Nguyen
a98fbc3898 Bug 1543626 - Make browser_all_files_referenced.js parse theme_experiment manifest field. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D27047

--HG--
extra : moz-landing-system : lando
2019-04-11 10:36:24 +00:00
Tim Nguyen
a439aefa4d Bug 1543474 - Stop using netError.css in about:robots. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D26999

--HG--
extra : moz-landing-system : lando
2019-04-11 09:03:53 +00:00
Tim Nguyen
efdcf0a31e Bug 1540387 - Replace browser-compacttheme.js with theme experiments. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D25536

--HG--
extra : moz-landing-system : lando
2019-04-11 00:16:05 +00:00
Dorel Luca
4ae4fa0651 Backed out changeset 539ae4c2bd53 (bug 628041) for Browser-chrome failures in toolkit/mozapps/extensions/test/xpinstall/browser_doorhanger_installs.js. CLOSED TREE 2019-04-11 03:53:58 +03:00
Shane Caraveo
4f56dd2049 Bug 628041 refresh the install blocked panel text r=flod,aswan
Differential Revision: https://phabricator.services.mozilla.com/D25881

--HG--
extra : moz-landing-system : lando
2019-04-10 20:50:13 +00:00
Coroiu Cristina
4a56b6ca02 Backed out 4 changesets (bug 1540387) for xpcshell failures at toolkit/mozapps/extensions/test/xpcshell/test_shutdown.js on a CLOSED TREE
Backed out changeset 0f940b496e58 (bug 1540387)
Backed out changeset f8e11c0bb2a4 (bug 1540387)
Backed out changeset e3ca91d64e82 (bug 1540387)
Backed out changeset ee2913c76f4a (bug 1540387)
2019-04-11 02:57:19 +03:00
Tim Nguyen
01184cf789 Bug 1540387 - Remove now obsolete browser_compacttheme.js test. r=me on a CLOSED TREE
--HG--
extra : histedit_source : 587b3d84e65f0a213bca79df0f98c7d3addb7a1f
2019-04-10 23:10:46 +02:00
Tim Nguyen
5429683dc7 Bug 1540387 - Replace browser-compacttheme.js with theme experiments. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D25536

--HG--
extra : moz-landing-system : lando
2019-04-03 08:28:18 +00:00
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
Nicholas Cowles
a759e8ba70 Bug 1523747 - Move customize mode strings over to fluent, r=Gijs,jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D26418

--HG--
extra : moz-landing-system : lando
2019-04-10 15:46:31 +00:00
Jonathan Kingston
2b27f3c10d Bug 1479433 - Changing icons and colors for containers to be class based. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D24918

--HG--
extra : moz-landing-system : lando
2019-04-10 11:19:00 +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
Narcis Beleuzu
065ab21012 Merge inbound to mozilla-central. a=merge 2019-04-10 01:09:36 +03:00
Gijs Kruitbosch
683b585bc6 Bug 1381951 - reserve preferences shortcut on mac, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D26721

--HG--
extra : moz-landing-system : lando
2019-04-09 18:15:55 +00:00
Cosmin Sabou
0d6942ee32 Backed out 4 changesets (bug 1531838) for assertion failures on ClientLayerManager.cpp.
Backed out changeset 5c20b75a9e32 (bug 1531838)
Backed out changeset 1badfbad01fb (bug 1531838)
Backed out changeset f54fe4e4822f (bug 1531838)
Backed out changeset 712bd9022cc2 (bug 1531838)
2019-04-09 18:14:10 +03:00
Nihanth Subramanya
a050e59581 Bug 1531838 - Reliably wait for click-to-play popup notification in private windows. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D26700

--HG--
extra : moz-landing-system : lando
2019-04-09 14:14:43 +00:00
Vijay Budhram
cc01c2ca14 Bug 1535937 - Add custom telemetry for FxA toolbar menu r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25225

--HG--
extra : moz-landing-system : lando
2019-04-09 13:30:59 +00:00
Syeda Asra Arshia Qadri
4b00a87326 Bug 1540637: Don't save persistent certificate exceptions in private browsing windows. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D26539

--HG--
extra : moz-landing-system : lando
2019-04-09 10:30:01 +00:00
Dão Gottwald
0b822d6214 Bug 1542299 - Remove Array.unshift usage from tabbrowser.js. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D26685

--HG--
extra : moz-landing-system : lando
2019-04-09 10:30:39 +00:00
Dão Gottwald
8e0b6d7a6e Bug 1542298 - Remove Array.filter usage from tabbrowser.js. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D26688

--HG--
extra : moz-landing-system : lando
2019-04-09 10:48:27 +00:00
Syeda Asra Arshia Qadri
5108bf54d6 Bug 1208858: Show the page URL in the Site Identity Button's drag-image/tooltip. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D26527

--HG--
extra : moz-landing-system : lando
2019-04-09 08:20:50 +00:00
Mariah
4c4dd32808 Bug 1530285 - Remove waitForNewTabEvent from browser/base/content/test/siteIdentity/head.js r=johannh
Removed waitForNewTabEvent from browser/base/content/test/siteIdentity/head.js as it doesn't seem to be used anymore.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 10:01:43 +00:00
danielleleb
39f5e399bf Bug 1525941 - Adds ability to change permissions on network/cert error pages. r=johannh,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D24052

--HG--
extra : moz-landing-system : lando
2019-04-03 15:43:54 +00:00
Dão Gottwald
5e399367b5 Bug 1504775 - Ensure externally provided addTab index is within bounds. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D26296

--HG--
extra : moz-landing-system : lando
2019-04-05 17:23:07 +00:00
Mike Conley
c4e69ae516 Bug 1535354 - Add a toggle to trigger Picture-in-Picture that appears over top of <video> elements. Disabled by default. r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D25658

--HG--
extra : moz-landing-system : lando
2019-04-05 15:51:58 +00:00
Erica Wright
8a00925507 Bug 1529517 - Add prefs for defining expected values in each content blocking category. r=johannh,flod
Add prefs for defining expected values in each content blocking category, depend on those prefs to set expectations.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 05:36:00 +00:00
Gijs Kruitbosch
d395728ea0 Bug 1537622 - fix various minor eslint issues in XUL files, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D24297

--HG--
extra : moz-landing-system : lando
2019-04-05 12:18:24 +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
Johann Hofmann
4f767264a5 Bug 1532203 - Add a basic test for clearing network cache with ClearDataService. r=baku
This also moves SiteDataTestUtils to have it available in toolkit.

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

--HG--
rename : browser/base/content/test/sanitize/SiteDataTestUtils.jsm => toolkit/components/cleardata/SiteDataTestUtils.jsm
extra : moz-landing-system : lando
2019-04-05 09:57:00 +00:00
Nicholas Cowles
f2025f0566 Bug 1529071 - Convert printPreview.dtd to Fluent using conversion script, r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D23766

--HG--
extra : moz-landing-system : lando
2019-04-05 05:38:50 +00:00
James Teh
8810a3c233 Bug 1540918: When a panel is opened from the toolbar via the keyboard, restore focus to the toolbar button when the panel is closed. r=Gijs
Toolbar buttons are only made focusable when accessed via the keyboard.
As soon as they lose focus, their focusability is removed.
This is done so that clicking them doesn't focus them.
Previously, this meant that if a panel opened, focus couldn't be restored to the button like it should be when the panel was closed, as the button was no longer focusable.
To work around this, use the open="true" attribute set on the button when the panel opens.
If this is detected when the button loses focus, focusability is not removed.
Once focus is restored after the panel closes, things continue as normal.
That is, when the button loses focus for some other reason, its focusability is removed.

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

--HG--
extra : moz-landing-system : lando
2019-04-04 17:04:18 +00:00
Brian Grinstead
a8732856e7 Bug 1541400 - Reference the scrollButtonDown field from the arrowscrollbox and not tabbrowser-tabs;r=dao
When this handler got changed to an arrow function the reference didn't get
moved onto the scrollbox.

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

--HG--
extra : moz-landing-system : lando
2019-04-04 14:40:09 +00:00