Commit Graph

61483 Commits

Author SHA1 Message Date
Vijay Budhram
631f8208ac Bug 1537647 - fix focus on FxA menu when activated via keyboard r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D24381

--HG--
extra : moz-landing-system : lando
2019-03-21 18:22:49 +00:00
Nicholas Nethercote
a955ca9592 Bug 1535226 - Remove uses of XP_WIN32 in Gecko. r=glandium
The definitions can't be entirely removed yet because NSS still needs them.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 01:28:50 +00:00
Oana Pop Rus
cacc0b68c1 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-22 00:58:41 +02:00
Coroiu Cristina
60be40b053 Merge inbound to mozilla-central a=merge 2019-03-21 23:59:53 +02:00
Erica Wright
6a5a45ab7e Bug 1518807 - Icons and images are visible on high contrast mode. r=jaws
High contrast mode does not render background images, set as list-style image instead. Fix fill colors for other icons.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 17:51:52 +00:00
Syeda Asra Arshia Qadri
b4d493a5e8 Bug 1537728: Simplify shouldCheck variable declaration in BrowserGlue._checkForDefaultBrowser r=dao
Differential Revision: https://phabricator.services.mozilla.com/D24358

--HG--
extra : moz-landing-system : lando
2019-03-21 14:25:48 +00:00
Brian Grinstead
a797a66d25 Bug 1531119 - Remove editMenuCommands.inc.xul and make editMenuOverlay.js in charge of constructing the relevant commandset DOM r=bdahl,NeilDeakin
This allows us to drop preprocessing and makes it simpler to add edit menu functionality to any type of document.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 14:18:48 +00:00
Dão Gottwald
92ef5c0898 Bug 1536788 - Reduce width of border between tabs and nav bar from 1 CSS pixel to 1 device pixel. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D24173

--HG--
extra : moz-landing-system : lando
2019-03-21 14:01:58 +00:00
Mike Conley
2c8a12e078 Bug 1535748 - Remove NIGHTLY_BUILD build-time switches for Picture-in-Picture. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D23948

--HG--
extra : moz-landing-system : lando
2019-03-21 13:58:17 +00:00
Mike Conley
c218b68adf Bug 1535760 - Update strings and controls for toggling Picture-in-Picture from the context menu. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D23947

--HG--
extra : moz-landing-system : lando
2019-03-21 13:58:05 +00:00
Ian Moody
7f284be66e Bug 1536653 - browser/ manual ESLint no-throw-literal fixes. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D24111

--HG--
extra : moz-landing-system : lando
2019-03-20 10:15:03 +00: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
Nicholas Cowles
81ddec3340 Bug 1517528 - Capstone: convert about:privatebrowsing using gandalf's conversion script, r=Gijs,jaws,zbraniecki,flod
Differential Revision: https://phabricator.services.mozilla.com/D19250

--HG--
extra : moz-landing-system : lando
2019-03-18 18:05:13 +00:00
paarmita
cc8f215561 Bug 1483364 - Tooltip for Tracking Protection item in the Firefox menu uses a capitalized Preferences; r=johannh
Tooltip for Tracking Protection item in the Firefox menu uses a capitalized Preferences (and should use 'options' on Windows)

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

--HG--
extra : moz-landing-system : lando
2019-03-21 13:40:54 +00:00
Mark Banner
c9241477a7 Bug 1534735 - Force the URL to be displayed in LTR mode on QuantumBar results. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D24162

--HG--
extra : moz-landing-system : lando
2019-03-21 15:51:30 +00:00
ffxbld
ead4572bc7 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D24335

--HG--
extra : moz-landing-system : lando
2019-03-21 12:29:05 +00:00
nidhi
97b4e96be8 Bug 1534329 - Filter <script> <stringbundle> in the prefs' findInPage code. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D23787

--HG--
extra : moz-landing-system : lando
2019-03-21 12:07:35 +00:00
Dão Gottwald
613a14f509 Bug 1537726 - Further clean up the regex for legacy homepage reset. r=r1cky
Differential Revision: https://phabricator.services.mozilla.com/D24333

--HG--
extra : moz-landing-system : lando
2019-03-21 11:59:32 +00:00
Mark Banner
da3d75151a Bug 1530675 - Enable WebNavigation transistion notifications for WebExtensions with QuantumBar. r=mak,rpl
Differential Revision: https://phabricator.services.mozilla.com/D21218

--HG--
extra : moz-landing-system : lando
2019-03-20 20:22:35 +00:00
Mark Banner
45e4b14a1a Bug 1528683 - Update and annotate existing QuantumBar TODO comments with bug numbers. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D24199

--HG--
extra : moz-landing-system : lando
2019-03-20 16:12:35 +00:00
Brindusan Cristian
327ca02963 Backed out 2 changesets (bug 1535760, bug 1535748) for ESlint failure at browser_contextMenu.js:66:11. CLOSED TREE
Backed out changeset 8ab3c856b9c2 (bug 1535748)
Backed out changeset a9a01b1c9e3a (bug 1535760)
2019-03-21 04:35:52 +02:00
Edwin Gao
dc7a7ccbb7 Bug 1533819, 1533814, 1532775 - disable additional tests in mochitest-chrome suite that fails for windows10-aarch64 r=jmaher
- test_bug1163447_selectItems_through_shortcut.xul
- test_bug301397.xul
- test_bug364461.xul

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

--HG--
extra : moz-landing-system : lando
2019-03-21 15:34:04 +00:00
Mike Conley
47e70b9c38 Bug 1535748 - Remove NIGHTLY_BUILD build-time switches for Picture-in-Picture. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D23948

--HG--
extra : moz-landing-system : lando
2019-03-20 21:24:15 +00:00
Mike Conley
50371e1fee Bug 1535760 - Update strings and controls for toggling Picture-in-Picture from the context menu. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D23947

--HG--
extra : moz-landing-system : lando
2019-03-20 21:24:37 +00:00
Drew Willcoxon
66b8f1c131 Bug 1529931 - Avoid autofill flicker: Fix reflow performance tests. r=mconley
Replace a couple of popup methods so that they call dirtyFrame(), so that reflows happen deterministically.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 16:08:21 +00:00
Drew Willcoxon
674a2ade96 Bug 1529931 - Prevent autofill flicker and fix cases where we're not autofilling but should be. r=mak
* In nsAutoCompleteController, the logic that determines whether the new search is a prefix of the old search is only done in HandleText, i.e., on input, not when the value is set programmatically.

* That logic is a lot more complex in nsAutoCompleteController.

* nsAutoCompleteController autofills in one case where quantumbar doesn't: when completing the "placeholder" string before starting a new search and waiting for the async results (thereby preventing flicker).

* Some nsAutoCompleteController state gets reset each time the awesomebar is focused (see calls to attachController() in the autocomplete binding, which sets the controller's input, which calls ResetInternalState()). That state is important in regard to autofill and the placeholder string. If it's not reset, then the autofill of one search will incorrectly affect the autofill of a later search.

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

--HG--
rename : browser/components/urlbar/tests/browser/browser_UrlbarInput_autofill.js => browser/components/urlbar/tests/browser/browser_autoFill_caretNotAtEnd.js
extra : moz-landing-system : lando
2019-03-20 17:07:15 +00:00
Julian Descottes
6987dbacc5 Bug 1487581 - Remove aboutdebugging.notftl file;r=daisuke
Depends on D23878

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

--HG--
extra : moz-landing-system : lando
2019-03-20 18:08:18 +00:00
Jared Wein
9ea9a03160 Bug 1469087 - Apply the reduced font-size on the Whimsypong toolbarpaletteitem so the label will fit inside of the paddle. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D23932

--HG--
extra : moz-landing-system : lando
2019-03-20 15:35:58 +00:00
Ricky Rosario
1d10c90bb9 Bug 1491332 - Reset legacy homepages to about:home - again r=dao
MozReview-Commit-ID: 997S4oJLHiB

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

--HG--
extra : moz-landing-system : lando
2019-03-20 15:30:07 +00:00
Mihir
a24deb683c Bug 1532944 - Remove unnecessary ESLint disabling mozilla/no-cpows-in-tests comments. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D24148

--HG--
extra : moz-landing-system : lando
2019-03-20 13:58:47 +00:00
Gijs Kruitbosch
d185982673 Bug 1530500 - remove obsolete browser swapping flags, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D24114

--HG--
extra : moz-landing-system : lando
2019-03-20 08:49:04 +00:00
Edwin Gao
bd038cd9fe Bug 1536729 - disable browser_screenshots_cropping.js for windows10-aarch64 r=MattN
Disable `browser_screenshots_cropping.js` due to constant failure of this test on windows10-aarch64.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 05:16:22 +00:00
Dana Keeler
2cf1772b43 bug 1535851 - proactively check for mixed content in nsSecureBrowserUIImpl r=Ehsan
If nsSecureBrowserUIImpl::GetState is never called, it never checks for mixed
content (this can happen when loading a page from the BF cache). To ensure that
we properly set the security state (via OnLocationChange -> OnSecurityChange),
nsSecureBrowserUIImpl must check for mixed content more proactively.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 23:56:55 +00:00
Jan-Ivar Bruaroey
f30f21c430 Bug 1335740 - Update wpt & mochitests to work w/[SecureContext] navigator.mediaDevices. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D20425

--HG--
rename : testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.html.ini => testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html.ini
rename : testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.html => testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html
extra : moz-landing-system : lando
2019-03-19 14:17:53 +00:00
Ian Moody
167f623a3e Bug 1246594 - Enable ESLint rule no-throw-literal by default. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D24088

--HG--
extra : moz-landing-system : lando
2019-03-19 22:02:42 +00:00
Gijs Kruitbosch
8fd9c89716 Bug 1536633 - add ellipsis to 'connect another device' string in FXA menu, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D24100

--HG--
extra : moz-landing-system : lando
2019-03-19 22:02:49 +00:00
Carolina Jimenez Gomez
236160af79 Bug 1442179 - If the user enters something that can not be parsed as a URL, appends http:// and https:// and adds permission for both of them. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D21138

--HG--
extra : moz-landing-system : lando
2019-03-19 14:14:03 +00:00
Edwin Gao
f4c412f218 Bug 1536560 - disable browser/components/preferences/in-content/tests/browser_search_within_preferences_1.js r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D24089

--HG--
extra : moz-landing-system : lando
2019-03-19 19:18:35 +00:00
Vijay Budhram
2c33b42b2c Bug 1536467 - bind callbacks to this for Send Tab to Device subview so they work when we're waiting for the initial sync r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D24068

--HG--
extra : moz-landing-system : lando
2019-03-19 19:25:01 +00:00
Gijs Kruitbosch
98463769e5 Bug 1536514 - actually close quote of 'PanelUI-fxa' for fxa menu keypress handler, r=vbudhram
Differential Revision: https://phabricator.services.mozilla.com/D24067

--HG--
extra : moz-landing-system : lando
2019-03-19 18:06:35 +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
44dd6b4718 Bug 1353013 - allow using the preloaded new tab page in private windows, too, r=dthayer
This didn't use to work and was disabled in
https://bugzilla.mozilla.org/show_bug.cgi?id=1195981 . I expect my changes in
https://bugzilla.mozilla.org/show_bug.cgi?id=1427186 fixed the issue. It works
in my testing, anyway.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 17:29:34 +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
Jesse Schwartzentruber
3905101073 Bug 1519851 - Create --enable-fuzzing debug build job for MacOSX. r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D19862

--HG--
extra : moz-landing-system : lando
2019-03-19 17:01:38 +00:00
Sam Foster
944641d7de Bug 1534447 - Add application menu item to show Logins & Passwords. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D23737

--HG--
extra : moz-landing-system : lando
2019-03-19 16:46:44 +00:00
Sam Foster
280105bc8e Bug 1534447 - Replace login and login-detailed icon with new icon. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D23749

--HG--
extra : moz-landing-system : lando
2019-03-19 16:46:35 +00:00
Marco Bonardo
a88ef6676c Bug 1530706 - IME may be displayed along with the urlbar results panel. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D23836

--HG--
extra : moz-landing-system : lando
2019-03-19 14:06:33 +00:00
Alex Gaynor
177fb00eba Bug 1375863 - fold MOZ_CONTENT_SANDBOX and MOZ_GMP_SANDBOX into MOZ_SANDBOX; r=jld,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D22975

--HG--
extra : moz-landing-system : lando
2019-03-18 22:31:59 +00:00
Mellina Yonashiro
27590d5af5 Bug 1534629 Non-bypassable cert error pages should use Advanced instead of More information r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D23316

--HG--
extra : moz-landing-system : lando
2019-03-18 17:11:50 +00:00
Ian Moody
971debae6e Bug 1534475 - Use a responsive monitor frame in "Set As Desktop Background" preview. r=Gijs
Currently for any screen with a ratio 1.6 or above, the preview uses a 16:10
image.  However, the majority of Fx users have a screen that is 16:9[0], so for
most users the preview shows images distorted (compressed horizontally).

Originally I just added a new 16:9 version of the monitor image, but then I
realised I could save on filesize _and_ make it responsive to whatever the
user's screen actually is, rather than using arbitrary presets, by using
border-image.

The new image files are just sliced up versions of the original monitor.png
files, zopfli compressed to match (though with the power indicator dropped from
the Linux/Windows version to avoid distorting it).  The combined filesize
savings seem to be 8.5KiB on macOS and 6.5KiB on Linux/Windows.

With the removal of the use of margins on the canvas we no longer need the
platform-specific setDesktopBackground.css file.

[0] https://data.firefox.com/dashboard/hardware
As of 3rd March 2019 the top three resolutions, 1366x768, 1080p, & 1600x900,
are all 16:9 and make up 67% of the userbase.

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

--HG--
rename : browser/themes/linux/setDesktopBackground.css => browser/themes/shared/setDesktopBackground.css
extra : moz-landing-system : lando
2019-03-19 07:12:26 +00:00