Commit Graph

19838 Commits

Author SHA1 Message Date
Mike Conley
7d43605d45 Bug 1503796 - Convert XPCOM arrays and strings from nsBrowserContentHandler to JS arrays and strings earlier when opening browser windows. r=Gijs
This also makes it so that the initial browser tab setup code can handle a JS array
as the URI(s) to load during start-up. If it's an array, the first element of that
array is inspected to determine what process type the initial browser tab should
be in.

Differential Revision: https://phabricator.services.mozilla.com/D14755
2018-12-17 21:21:57 +00:00
Dão Gottwald
6947b51ead Bug 1394188 - Make tab labels not change during reload. r=bzbarsky,florian
Differential Revision: https://phabricator.services.mozilla.com/D14602
2018-12-17 12:33:29 +00:00
Tim Huang
f35c030328 Bug 1446472 - Part 2: Add a test for ensuring that the identity block icon will show without the doorhanger when canvas auto-blocking happens. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14260
2018-12-16 21:31:06 +00:00
Tim Huang
70bec97de9 Bug 1446472 - Part 1: Showing the identity block icon for canvas permission without the doorhanger when canvas extraction is auto detected. r=baku,Gijs
For a better user experience of auto-blocking canvas extraction, this
patch changes the behavior when detecting a canvas extraction without
user interaction. It will show a canvas identity block icon with a
hidden doorhanger when auto-blocking the canvas extraction. Users can
make their choice to either block or allow the canvas extraction by
clicking the identity block icon and then refresh the page to make
the canvas permission taking effect.

Differential Revision: https://phabricator.services.mozilla.com/D14259
2018-12-16 21:30:59 +00:00
Mark Banner
ae7d62129f Bug 1503674 - Remove unused PageMetadata. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14678
2018-12-17 09:33:12 +00:00
Dão Gottwald
bf0b707fc6 Bug 1514151 - Consistently use arrow functions and destructuring assignments in XPCOMUtils.defineLazyGetter calls from browser.js. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D14532
2018-12-14 19:46:58 +00:00
Razvan Maries
1b7a5706dd Merge mozilla-inbound to mozilla-central a=merge 2018-12-14 18:22:09 +02:00
Dão Gottwald
8ad99faa14 Bug 1514139 - Quantumbar: Allow moving the cursor by clicking in the address bar while the results popup is open. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D14530
2018-12-14 09:53:43 +00:00
Marco Bonardo
5c71b13214 Bug 1513469 - First entry in the urlbar dropdown is no longer highlighted by default. r=adw
We must delay setting the selected index, otherwise we may end dealing with
richlistitems without an applied binding, and the richlistbox may break them
permanently by setting a "selected" expando.

Differential Revision: https://phabricator.services.mozilla.com/D14385
2018-12-14 09:28:12 +00:00
Dale Harvey
d7c1fb6c48 Bug 1488946 - Remove about:searchreset. r=mkaply, r=flod
Tags: #secure-revision

Differential Revision: https://phabricator.services.mozilla.com/D14416
2018-12-14 10:01:51 +00:00
Bogdan Tara
1cd7664f4a Merge inbound to mozilla-central. a=merge 2018-12-14 00:42:20 +02:00
Dão Gottwald
01ebc456af Bug 1513827 - Let toolbar context menu handle nodes without ids. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14390
2018-12-13 14:53:18 +00:00
Dão Gottwald
dd82e03e68 Bug 1513845 - Stop using XPCOMUtils.defineLazyGetter for gNavigatorBundle. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14391
2018-12-13 12:34:40 +00:00
Gijs Kruitbosch
acd28ed7da Bug 1513007 - avoid permanently breaking scrolling to background tabs when promiseDocumentFlushed returns synchronously, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D14086
2018-12-13 11:31:31 +00:00
Jan de Mooij
4a5ab5372f Bug 1513277 part 2 - Use the scripted caller's global in mozJSComponentLoader::FindTargetObject. r=kmag
We have a few places where C++ calls ChromeUtils::Import directly.
I fixed these to pass the target object directly instead of an empty Optional<>.

Differential Revision: https://phabricator.services.mozilla.com/D14180
2018-12-12 21:30:04 +00:00
Daniel Stenberg
015ea7b4b4 Bug 1503393 - adjust tests for localhost proxying r=mayhemer 2018-12-03 16:28:14 +02:00
Mike Conley
70ca595f65 Bug 1315887 - Re-enable browser_locationBarExternalLoad.js by making it less race-y. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D14192
2018-12-12 12:50:00 +00:00
Dão Gottwald
57fd2a0503 Bug 1513508 - Clean up Object.defineProperty calls in browser.js. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14241
2018-12-12 13:40:06 +00:00
Coroiu Cristina
6ed41e4b93 Merge inbound to mozilla-central a=merge 2018-12-12 07:12:07 +02:00
Mark Banner
c57f4eaaf9 Bug 1415483 - Apply the new options to reject-importGlobalProperties across the codebase, remove unnecessary importGlobalProperties. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D13754
2018-12-11 21:39:40 +00:00
Coroiu Cristina
bb60ea73b7 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-12-12 00:01:36 +02:00
Csoregi Natalia
9e6c0b05b4 Backed out 2 changesets (bug 1415483) for multiple failures e.g. on test_message_manager_ipc.html. CLOSED TREE
Backed out changeset d00748de66fc (bug 1415483)
Backed out changeset 8dea94258f54 (bug 1415483)
2018-12-11 19:30:57 +02:00
Mark Banner
9e818716a8 Bug 1415483 - Apply the new options to reject-importGlobalProperties across the codebase, remove unnecessary importGlobalProperties. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D13754
2018-12-11 14:09:44 +00:00
ui.manish
7d6dfaef58 Bug 1499326 - Remove custom styling for cert error pages with browser.xul.error_pages.expert_bad_cert r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D13982
2018-12-11 14:18:51 +00:00
Dão Gottwald
97bdc40df0 Bug 1511112 - Remove remaining style flushes for getting the UI direction in browser/, except PlacesUIUtils.jsm. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D13536
2018-12-11 14:18:21 +00:00
Dão Gottwald
77aa9dfdc2 Bug 1513200 - Move pre-tabs and post-tabs spacers outside of TabsToolbar-customization-target and revert bug 1445728. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14142
2018-12-11 12:35:03 +00:00
Brindusan Cristian
7d4a5b8c45 Merge inbound to mozilla-central. a=merge 2018-12-11 00:05:18 +02:00
Toby Ward
207badbc32 Bug 1435562 - browser.tabs.warnOnOpen is now respected when opening multiple items from the library. r=Standard8
- Unified openContainerNodeInTabs and openURINodesInTabs in PlacesUIUtils into openMultipleLinksInTabs
- Users are now warned when the amount of links to be opened is equal to or exceeds browser.tabs.maxOpenBeforeWarn

Differential Revision: https://phabricator.services.mozilla.com/D12983
2018-12-10 17:04:18 +00:00
Brindusan Cristian
727afcc594 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-12-09 11:38:48 +02:00
Gurzau Raul
ed691278c2 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-12-08 23:38:27 +02:00
Gijs Kruitbosch
ef59f854b9 Bug 1483354 - use promiseDocumentFlushed to execute tabstrip scrolling after creating a background tab, r=dao
Depends on D13675

Differential Revision: https://phabricator.services.mozilla.com/D13676
2018-12-08 16:27:12 +00:00
rjairath
5ff489c2c7 Bug 1509449 - Use document.getElementById instead of document.querySelector in ContentBlocking.init r=dao
Differential Revision: https://phabricator.services.mozilla.com/D14009
2018-12-08 16:03:49 +00:00
Johann Hofmann
b023d7a6b5 Bug 1511751 - Part 3 - Put up a note when the trackers subpanel is shown but no trackers are present. r=ewright
This can happen when we annotate trackers with the strict list but block based on the
basic list, and it is confusing users.

Differential Revision: https://phabricator.services.mozilla.com/D13968
2018-12-08 00:06:04 +00:00
Johann Hofmann
0c6ddc1e01 Bug 1511751 - Part 2 - Always show all categories in the cookies subpanel and note if they are empty. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D13967
2018-12-08 00:05:57 +00:00
Johann Hofmann
459eadeaf5 Bug 1511751 - Part 1 - Remove the "Blocked" labels of content blocking categories and put them behind a pref. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D13914
2018-12-08 00:05:49 +00:00
Noemi Erli
a1cde633f5 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-12-08 00:18:17 +02:00
Emilio Cobos Álvarez
9badfad31e Bug 1511138 - Fix getComputedStyle usage of SelectChild. r=mconley
I missed the failure in browser_selectpopup_colors.js since it doesn't run on
Linux. Fix the getComputedStyle usage in that code by using
getDefaultComputedStyle, which is what it really wants.

Also, do a bit of cleanup while at it: uaBackgroundColor was unused, and uaColor
was wrong (we don't override the ua color of the <option> element, it just
inherits, so it's the same as the <select> color, and that's what we were
comparing it against anyway).

Differential Revision: https://phabricator.services.mozilla.com/D13956
2018-12-07 14:24:49 -05:00
arthur.iakab
dcacac4412 Backed out 5 changesets (bug 1511138) for causing eslint failure on SelectChild.jsm CLOSED TREE
Backed out changeset daee82295b3c (bug 1511138)
Backed out changeset d23c9c3e1566 (bug 1511138)
Backed out changeset a99600391704 (bug 1511138)
Backed out changeset 4ef293b90887 (bug 1511138)
Backed out changeset 4df286b234b3 (bug 1511138)
2018-12-07 20:55:24 +02:00
Emilio Cobos Álvarez
5050b37de5 Bug 1511138 - Fix getComputedStyle usage of SelectChild. r=jaws,mconley
I missed the failure in browser_selectpopup_colors.js since it doesn't run on
Linux. Fix the getComputedStyle usage in that code by using
getDefaultComputedStyle, which is what it really wants.

Also, do a bit of cleanup while at it: uaBackgroundColor was unused, and uaColor
was wrong (we don't override the ua color of the <option> element, it just
inherits, so it's the same as the <select> color, and that's what we were
comparing it against anyway).

Differential Revision: https://phabricator.services.mozilla.com/D13956
2018-12-07 13:01:06 -05:00
Dão Gottwald
89e48bdb68 Bug 1512159 - Fix hiding of minimize and restore buttons in tablet mode. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D13800
2018-12-07 14:37:35 +00:00
Gijs Kruitbosch
5cbc49201d Bug 1483354 - avoid flushing layout for new background tabs when the tabstrip isn't overflowing, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D13675
2018-12-05 21:31:45 +00:00
Adrian Kaczmarek
eca4ae3c76 Bug 1292878 - Use :root instead of #main-window in browser/base/content/browser.css. r=dao 2018-12-06 22:57:40 +01:00
Mark Banner
396e01ae12 Bug 1505411 - Add basic monitoring for partner search pages with ads and clicks. Depends on D11188 r=adw,Felipe,chutten
Differential Revision: https://phabricator.services.mozilla.com/D11656
2018-12-05 20:33:01 +00:00
Csoregi Natalia
3043e2663f Backed out changeset 81a6b32f2a8b (bug 1435562) for causing Bug 1512180. a=backout 2018-12-06 14:20:20 +02:00
shindli
666b9eaddf Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-12-06 06:02:52 +02:00
Johann Hofmann
5a0d9acf99 Bug 1511954 - Remove the "Allowed" label of content blocking categories and put it behind a pref. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D13723
2018-12-05 22:32:38 +00:00
Neil Deakin
7c17ee0c0c Bug 1492326, use Element helper methods in accessibility instead of QueryInterface to get interface implementations that might be implemented by custom elements, r=surkov 2018-12-04 11:32:15 -05:00
Ehsan Akhgari
57a655cbc5 Bug 1512276 - Remove the waitForSecurityChange() defined in browser_trackingUI_animation_2.js r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D13850
2018-12-05 19:48:01 +00:00
Dave Townsend
26f47b4f09 Bug 1511465: Fix race condition in browser_oversized.js. r=mak
Seems that when run as the first test in a test run there is a race for whether
the favicon for the initial tab has already been seen or not. Rarely we fail the
race and end up seeing a successful favicon load. This makes us ignore any
favicons other than the one we're interested in.

Differential Revision: https://phabricator.services.mozilla.com/D13838
2018-12-05 19:03:36 +00:00
Gijs Kruitbosch
65f3c11999 Bug 1511903 - r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D13714
2018-12-05 10:24:56 +00:00