Commit Graph

19615 Commits

Author SHA1 Message Date
Gijs Kruitbosch
ae7f88b657 Bug 1492782 - modernize a few tests and reduce CPOW usage in browser/base/content/test/general/, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D6375

--HG--
extra : moz-landing-system : lando
2018-09-20 14:17:32 +00:00
Gijs Kruitbosch
38496797c8 Bug 1492186 - make browser_pageinfo_images.js more reliable, r=florian
Differential Revision: https://phabricator.services.mozilla.com/D6323

--HG--
extra : moz-landing-system : lando
2018-09-20 13:51:56 +00:00
Mark Banner
b890fde6ec Bug 1491253 - Link the UrlbarController with the input and the view. r=dao
This links together the controller with the input and view. It moves the fake results generation to the controller. As a result, there is now an input -> controller -> view round-trip in place.

Also hooks up the input with determining if we're in private browsing mode or not.

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

--HG--
extra : moz-landing-system : lando
2018-09-20 13:07:18 +00:00
Coroiu Cristina
2e3f6d7d15 Backed out changeset 261d22d6d396 (bug 1491253) for browser-chrome failures at browser/base/content/test/static/browser_all_files_referenced.js on a CLOSED TREE 2018-09-20 14:22:58 +03:00
Mark Banner
c562a56e7d Bug 1491253 - Link the UrlbarController with the input and the view. r=dao
This links together the controller with the input and view. It moves the fake results generation to the controller. As a result, there is now an input -> controller -> view round-trip in place.

Also hooks up the input with determining if we're in private browsing mode or not.

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

--HG--
extra : moz-landing-system : lando
2018-09-20 10:11:47 +00:00
Luca Greco
e834e90cb2 Bug 1433335 - Send telemetry events for each AddonManager action on an extension. r=aswan
- Added definitions for the new telemetry events
- Send telemetry events for each AddonManager action on an extension.
- Ensure that telemetry events are sent also for the extension prompts.

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

--HG--
extra : moz-landing-system : lando
2018-09-19 16:43:11 +00:00
Markus Staab
4f43e01fbb Bug 1491786 - Access selectedItem only once in _notifyBackgroundTab. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D6321

--HG--
extra : moz-landing-system : lando
2018-09-20 08:39:48 +00:00
Johann Hofmann
b74353b1a7 Bug 1492175 - Add a pref for hiding the global content blocking toggle. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D6157

--HG--
extra : moz-landing-system : lando
2018-09-20 05:54:39 +00:00
Bogdan Tara
86023d88c4 Merge inbound to mozilla-central. a=merge 2018-09-20 07:13:05 +03:00
Bogdan Tara
9f17cab93a Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-20 01:03:35 +03:00
Bogdan Tara
e7c653959c Merge inbound to mozilla-central. a=merge 2018-09-20 00:58:18 +03:00
Markus Staab
974dcd94f6 Bug 1491784 - Access selectedItem only once in _handleTabSelect. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D6287

--HG--
extra : moz-landing-system : lando
2018-09-19 18:19:33 +00:00
Dão Gottwald
7f4690bc57 Bug 1492417 - Remove Browser:Home command. r=paolo 2018-09-19 12:47:29 +02:00
Dana Keeler
d13840ed4c bug 1490982 - filter out OnLocationChange events that aren't top-level in nsSecureBrowserUIImpl r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D5920

--HG--
extra : moz-landing-system : lando
2018-09-19 19:57:37 +00:00
Jonathan Kingston
555f89c8d7 Bug 1485305 - browser/ tests Ensure loadURI always passes a triggeringPrincipal() r=Mossop
Differential Revision: https://phabricator.services.mozilla.com/D4552

--HG--
extra : source : 2cf17e4974823d09d0fdd1aef64e69e840b288a1
extra : intermediate-source : 4771e6948a78507aa95a56e5b324d87dc82e9009
2018-08-29 15:44:56 +01:00
Jonathan Kingston
82cf4833c8 Bug 1485305 - browser/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
Differential Revision: https://phabricator.services.mozilla.com/D4551

--HG--
extra : source : 2b7baed037199f16100d13e0057a5d1054fca14c
extra : intermediate-source : 091677bcef226cc780c0d60f34754e1cd8de8974
2018-08-29 15:43:27 +01:00
Brindusan Cristian
1db0587c0e Backed out 10 changesets (bug 1485305) for browser-chrome failures on docshell/test/browser/browser_loadURI.js. CLOSED TREE
Backed out changeset 50439ec01661 (bug 1485305)
Backed out changeset a05e40ef7215 (bug 1485305)
Backed out changeset c99b97b4348b (bug 1485305)
Backed out changeset 75220b2f6669 (bug 1485305)
Backed out changeset e698f2fc1c1a (bug 1485305)
Backed out changeset acce14683c13 (bug 1485305)
Backed out changeset 323773a395cc (bug 1485305)
Backed out changeset 1b74152cabc1 (bug 1485305)
Backed out changeset 4b5c9d5929fc (bug 1485305)
Backed out changeset 238d92348159 (bug 1485305)
2018-09-19 18:47:27 +03:00
Jonathan Kingston
f57a3dbfb5 Bug 1485305 - browser/ tests Ensure loadURI always passes a triggeringPrincipal() r=Mossop
Differential Revision: https://phabricator.services.mozilla.com/D4552

--HG--
extra : source : 2cf17e4974823d09d0fdd1aef64e69e840b288a1
2018-08-29 15:44:56 +01:00
Jonathan Kingston
10c02f08ca Bug 1485305 - browser/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
Differential Revision: https://phabricator.services.mozilla.com/D4551

--HG--
extra : source : 2b7baed037199f16100d13e0057a5d1054fca14c
2018-08-29 15:43:27 +01:00
Kris Maglione
1c20e8cbbb Bug 1486147: Part 2 - Update JS string enumerator callers to use JS iteration. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D4270

--HG--
extra : rebase_source : 2adadcc8e51a7bce1da02f4bee1333b77bfa9944
extra : histedit_source : 9df920fd186f8c96a5d8b9cbff53ea9529f26ee0
2018-08-24 16:22:40 -07:00
Emma Malysz
696ceb303f Bug 1465219, use XULMenuElement, a subclass of nsXULElement, instead of MenuBoxObject for menu and menulist elements, r=paolo,bz
MozReview-Commit-ID: 5253hAlxbhw

--HG--
rename : dom/webidl/MenuBoxObject.webidl => dom/chrome-webidl/XULMenuElement.webidl
rename : layout/xul/MenuBoxObject.cpp => dom/xul/XULMenuElement.cpp
rename : layout/xul/MenuBoxObject.h => dom/xul/XULMenuElement.h
2018-07-31 12:30:17 -07:00
Gijs Kruitbosch
a7981b4051 Bug 1492179 - make browser_bug767836_perwindowpb.js not use CPOWs, and use modern async test tools instead of callbacks, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D6160

--HG--
extra : moz-landing-system : lando
2018-09-18 17:29:13 +00:00
Margareta Eliza Balazs
1b004c7ba6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-18 17:37:08 +03:00
Margareta Eliza Balazs
fdb780335d Merge inbound to mozilla-central. a=merge 2018-09-18 17:33:09 +03:00
Tim Nguyen
25e0092647 Bug 1485830 - Set custom odd tree row colors in common.css on all platforms. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D5963

--HG--
extra : moz-landing-system : lando
2018-09-18 13:22:49 +00:00
Dão Gottwald
7f7823a6d9 Bug 1485629 - Disable the early blank window when using a non-default theme. r=florian 2018-09-18 10:29:37 +02:00
Gijs Kruitbosch
6b518d3722 Bug 1491243 - remove subscribe button, menu items and subscription section out of feed previews, r=florian
This removes subscribe UI and functionality from the main browser window,
the page info window, and from feed previews. It may leave some stray strings
in subscribe.properties/dtd, which will be removed in bug 1477669 when the
preview code goes away completely.

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

--HG--
extra : moz-landing-system : lando
2018-09-18 06:06:27 +00:00
James Teh
6b89ed218b Bug 1331755: Refactor handling of accessibility focus in the URL bar so focus never moves to suggestions while the user is editing. r=Gijs,MarcoZ
When the user is editing the text in the URL bar (typing, backspace, etc.), the first suggestion is always selected.
Because accessibility clients require autocomplete items to be "focused", the code needs to differentiate between explicit selection (e.g. via down/up arrow) and auto selection (e.g. when typing).
Otherwise, the focus continually moves away from the text box while the user is typing, as was previously occurring.
This makes it very difficult for the user to edit text, particularly backspace/delete.

There was a previous attempt to handle this, but it was somewhat fragile and broke completely some time ago.
Now, rather than trying to handle this based on autocomplete events, it is handled in the input and key press events.
For input events, accessibility focus is forced back to the text box and further accessibility focus events are suppressed.
For down arrow, up arrow, etc. key presses, accessibility focus events for suggestions are enabled.
This makes it easier to understand and predict the user experience, rather than relying on underlying autocomplete implementation details.

This is tested using an accessibility browser test, which makes it easier to make assertions about accessibility focus.
This also means that if the underlying implementation details change (e.g. HTML + aria-activedescendant instead of XUL + DOMMenuItemActive events), this test should still be valid and allow us to catch regressions.

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

--HG--
extra : moz-landing-system : lando
2018-09-18 05:10:35 +00:00
Coroiu Cristina
9a2b88d99e Backed out changeset d61965849528 (bug 1491243) for en-US failures at testing\firefox-ui\tests\puppeteer\test_page_info_window.py 2018-09-17 22:23:58 +03:00
Gijs Kruitbosch
1b1f1b759d Bug 1491243 - remove subscribe button, menu items and subscription section out of feed previews, r=florian
This removes subscribe UI and functionality from the main browser window,
the page info window, and from feed previews. It may leave some stray strings
in subscribe.properties/dtd, which will be removed in bug 1477669 when the
preview code goes away completely.

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

--HG--
extra : moz-landing-system : lando
2018-09-17 18:06:05 +00:00
Robert Strong
b406194e75 Bug 1358342 - Remove the aushelper system add-on. r=florian
The aushelper add-on is being removed and this test needs the minimum number of values in extensions.getAddons.cache.enabled lowered so it passes

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

--HG--
extra : moz-landing-system : lando
2018-09-14 23:44:37 +00:00
Arshad Kazmi
79c60b26c5 Bug 1457784 - Replace warning-16.png with warning.svg. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D5973

--HG--
extra : moz-landing-system : lando
2018-09-17 09:55:12 +00:00
Tim Nguyen
cd0933861f Bug 1441837 - Remove unused --in-content-category-text-active variable. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D5966

--HG--
extra : moz-landing-system : lando
2018-09-16 05:23:03 +00:00
championshuttler
4f987e0e84 Bug 1491536 - Remove obsolete footer image CSS. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D5960

--HG--
extra : moz-landing-system : lando
2018-09-15 20:52:02 +00:00
Dorel Luca
e3d505cb98 Merge mozilla-central to autoland 2018-09-15 12:48:28 +03:00
Gijs Kruitbosch
659898b84e Bug 1488822 - propagate allowScriptsToClose via the frameloader instead of relying on frame scripts, r=mconley,kmag,nika
Differential Revision: https://phabricator.services.mozilla.com/D5775

--HG--
extra : moz-landing-system : lando
2018-09-15 08:26:33 +00:00
Noemi Erli
c2716211ca Merge inbound to mozilla-central. a=merge 2018-09-14 06:31:31 +03:00
ahillier
e9c38d0ebb Bug 1490508 - Apply mask correctly to CFR recommendation on urlbar focus r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D5618

--HG--
extra : moz-landing-system : lando
2018-09-13 23:21:06 +00:00
Noemi Erli
a548d10a8c Merge inbound to mozilla-central. a=merge 2018-09-14 01:01:37 +03:00
Cosmin Sabou
bf7f51d9c9 Backed out changeset c5dc6b7928ad (bug 1476852) for browser chrome failures on browser_bug563588. CLOSED TREE 2018-09-13 22:18:33 +03:00
Jared Wein
bea9eb3553 Bug 1476852 - Implement keyboard selection for multiselect tabs. r=Gijs,Jamie
To use this (Windows/Linux instructions), press Ctrl+L to give focus to the location bar. Shift+Tab to move focus backwards to the tab.
Ctrl+Left/Ctrl+Right to change which tab is focused
Ctrl+Space to add/remove a tab from the multiselection
Moving a tab has been changed from Ctrl+Left/Ctrl+Right to Ctrl+Shift+Left/Ctrl+Shift+Right, respectively.

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

--HG--
extra : moz-landing-system : lando
2018-09-13 17:32:49 +00:00
Dão Gottwald
7dee39df6f Bug 1477985 - Implement basic UrlbarInput and UrlbarView classes and a hidden pref for using them. r=standard8 2018-09-13 18:38:07 +02:00
Marco Bonardo
751325b9aa Bug 1488296 - Race condition when setting favicons for a browser with a changed currentURI. r=mossop
There is a race condition between the time we decide to fetch an icon and the time we actually store that icon, where the original browser currentURI may have changed.

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

--HG--
extra : moz-landing-system : lando
2018-09-13 13:24:41 +00:00
Daniel Varga
8eac4fe0d9 Merge mozilla-central to mozilla-inbound 2018-09-13 05:50:34 +03:00
Daniel Varga
296d94715f Merge mozilla-inbound to mozilla-central. a=merge 2018-09-13 05:30:59 +03:00
Dorel Luca
70d09db423 Backed out changeset fddb4d2af447 (bug 1488296) for browser-chrome failures on browser/components/originattributes/test/browser/browser_favicon_userContextId.js 2018-09-13 01:51:59 +03:00
Marco Bonardo
7cdcd1eef1 Bug 1488296 - Race condition when setting favicons for a browser with a changed currentURI. r=mossop
There is a race condition between the time we decide to fetch an icon and the time we actually store that icon, where the original browser currentURI may have changed.

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

--HG--
extra : moz-landing-system : lando
2018-09-12 17:07:15 +00:00
Shane Caraveo
48619535cc Bug 1488055 fix loading ext-browser-content script in sidebar when browser_style=false, r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D5196

--HG--
extra : moz-landing-system : lando
2018-09-12 18:52:52 +00:00
Coroiu Cristina
38507750b2 Backed out 2 changesets (bug 1393570) for build bustage on linux on a CLOSED TREE
Backed out changeset 23f496cd8a42 (bug 1393570)
Backed out changeset e41e69aa9eb5 (bug 1393570)
2018-09-12 20:40:27 +03:00
Andrew Swan
eac08444e3 Bug 1488971 Move logic for disabling screenshots out of the extension r=kmag,_6a68
Differential Revision: https://phabricator.services.mozilla.com/D5310

--HG--
extra : source : a8de31323a3b52d7f4d6abd9405ba64e2227a653
extra : intermediate-source : ef0c065ebe0fc1918816718d45dc7e2a42545b06
extra : histedit_source : 56ceab6060017e3c893a17f1cd9d885f97fb7c31%2Cb574ee4b673e9c7443d8318f147982fc07774a54
2018-09-07 13:43:48 -07:00