Commit graph

3606 commits

Author SHA1 Message Date
Carsten "Tomcat" Book
0c24635a19 Backed out changeset fdb11fbb53cf (bug 1344706) for eslint failure 2017-04-03 11:32:38 +02:00
Christoph Kerschbaumer
a40ae7abe5 Bug 1344706 - Do not reuse originPrincipal as triggeringPrincipal within utilityOverlay.js. r=gijs 2017-04-03 09:58:17 +02:00
Gijs Kruitbosch
290c64c982 Bug 1309946 - remove all traces of add-on performance monitoring, r=Yoric
This removes all the code for add-on performance watching from the
perfmonitoring component. This should mean that for add-on
compartments, we no longer trigger jank or CPOW monitoring in the JS
engine. This should result in minor performance improvements. As a
result, about:performance no longer reports on add-on performance
(but still reports on web page performance).

It also removes the AddonWatchers.jsm module and the related Nightly-
only UI (disabled in the parent commit) and strings. This UI wasn't
ready for release, there wasn't sufficient data it was creating
value for users, and there was some evidence that it didn't always
correctly identify the cause of performance issues, thus potentially
leading to user confusion or annoyance. Removing it therefore seemed
the right thing to do.

MozReview-Commit-ID: LsRwuaUtq6L

--HG--
extra : rebase_source : 92d4b775a7a7cbb5793e74eea471be81be974dda
2017-03-29 11:03:47 +01:00
Nihanth Subramanya
612842ec96 Bug 1345687 - Allow identity popup to be shown irrespective of pageproxystate if a permission has been granted to the current site. r=johannh
MozReview-Commit-ID: 4Bjnkgf1m16

--HG--
extra : rebase_source : 222b450ffe9df611b1456a13ee766d5c5b0542a2
2017-03-29 21:04:32 +05:30
Zack Herrick
84361e7e85 Bug 1335907 - Reorganize the preferences based on feedback from user research. r=mconley
The FX_PREFERENCES_CATEGORY_OPENED probe must be extended to version 59 to support the fallback "forked" preference implementation (in-content-old).

The switchToAdvancedSubPane within utilityOverlay's openPreferences must also remain until the fallback has been removed (bug 1349689).

Patch co-authored by Zack Herrick <herrickz@msu.edu> and Ziyan Long <lzylong@gmail.com>.

MozReview-Commit-ID: 1sx0Wj15yM7

--HG--
extra : rebase_source : 0266027fb3023d4cb155533193d6809d799de1e4
2017-03-29 11:52:08 -04:00
Tim Huang
c9c5bbc22e Bug 1330882 - Part 1: Making new windows to be rounded size when fingerprinting resistance is enabled (adopt from Tor #19459). r=arthuredelstein,smaug
MozReview-Commit-ID: 1qBNQhfdIYP

--HG--
extra : rebase_source : c46b4a936960ff165f950a59c1d31c1c5849645f
2017-03-29 15:43:54 +08:00
Bianca Danforth
238bdec559 Bug 1347493 - Correctly assign a value to 'title' for phishing and malware sites r=johannh
MozReview-Commit-ID: KiEOLdLjuI5

--HG--
extra : rebase_source : 0353587f9d8e157c8a3fecf5b1bf70159b16ee00
2017-03-26 12:47:50 -07:00
Sebastian Hengst
e86c4a75af Backed out changeset 9ef667136bbe (bug 1335907) for failing browser_datachoices_notification.js. r=backout 2017-03-28 23:43:11 +02:00
Zack Herrick
18ed059dcd Bug 1335907 - Reorganize the preferences based on feedback from user research. r=mconley
The FX_PREFERENCES_CATEGORY_OPENED probe must be extended to version 59 to support the fallback "forked" preference implementation (in-content-old).

The switchToAdvancedSubPane within utilityOverlay's openPreferences must also remain until the fallback has been removed (bug 1349689).

Patch co-authored by Zack Herrick <herrickz@msu.edu> and Ziyan Long <lzylong@gmail.com>.

MozReview-Commit-ID: 1sx0Wj15yM7

--HG--
extra : rebase_source : 29359bb726a0ac8164d7304a2453ffeb8009e990
2017-03-28 14:32:54 -04:00
Gijs Kruitbosch
3b26fd9456 Bug 1325841 - fix hiding popup icon when navigating the browser, r=Felipe
MozReview-Commit-ID: AXBgxwb3Jt

--HG--
rename : browser/base/content/test/general/browser_popupUI.js => browser/base/content/test/popups/browser_popupUI.js
rename : browser/base/content/test/general/browser_popup_blocker.js => browser/base/content/test/popups/browser_popup_blocker.js
rename : browser/base/content/test/general/popup_blocker.html => browser/base/content/test/popups/popup_blocker.html
extra : rebase_source : d03d139710882beaaac9581eab6b323e7bc82a45
2017-03-21 15:57:42 +00:00
Dão Gottwald
f6623be0e7 Bug 1348264 - Expose keyboard shortcuts in tooltips for Stop, Reload and Reset Zoom buttons. r=mikedeboer
MozReview-Commit-ID: kTUc5pRdVw

--HG--
extra : rebase_source : 283bde91a2f23fcb11cd4a36b1e4e8ffb1231867
2017-03-22 11:16:48 +01:00
Jared Wein
a54eda04ca Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.

MozReview-Commit-ID: ANyg2qfo3Qx

--HG--
extra : rebase_source : 61d2aa91bf9474af3d72a5dea41b25dca442c1b7
2017-03-21 14:29:43 -04:00
Mike Conley
e7ee65a066 Bug 1256472 - Make sure checkEmptyPageOrigin checks the browser documentURI for about:blank along with the currentURI. r=Gijs
checkEmptyPageOrigin was only checking the currentURI on the passed browser for about:blank, but
sometimes the currentURI isn't the whole picture. For example, SessionStore, after restoring a
window, can cause a number of blank tabs to start to load, be cancelled, and have their history
replaced. This results in a bunch of unrestored background tabs that appear to have currentURI
set to the URI that the tab will be sent to once restored, but a null content principal, since
the original about:blank load was stopped before it could complete.

We side-step this issue by checking both the currentURI and the documentURI for about:blank
when comparing against the null principal for checkEmptyPageOrigin.

MozReview-Commit-ID: Kzm0MthLqVM

--HG--
extra : rebase_source : e6a83368dd99d458333789f9d986e4706cd4d2bf
2017-03-14 16:24:53 -04:00
Dão Gottwald
fefc17425c Bug 1348122 - Share code between the customizable zoom control and the location bar's zoom indicator. r=Gijs
MozReview-Commit-ID: 7iRRr1gF9R5

--HG--
rename : browser/modules/URLBarZoom.jsm => browser/modules/FullZoomUI.jsm
extra : rebase_source : 90a4f8f0b4a3804c3306a4f5bc70d566b288979f
2017-03-21 09:23:24 +01:00
Wes Kocher
4f5262444c Merge inbound to central, a=merge
MozReview-Commit-ID: 2omKclRg40c
2017-03-20 18:19:52 -07:00
Federico Padua
26d8b036b5 Bug 1346188 - Remove redundant AppConstants.jsm import from browser.js; r=dao
This patch removes the redundant lazy import of AppConstants.jsm from
browser/base/content/browser.js since it gets loaded previously as described
in the bug description.

MozReview-Commit-ID: EoSfSgedgNc

--HG--
extra : rebase_source : 8db27f79b9b43559ed4f94457592b092c5f75942
2017-03-19 16:12:48 +01:00
Thomas Nguyen
405f2f52de Bug 1345569 - Get blocked info from content when clicking report false deceiptive site from xul browser. r=francois
MozReview-Commit-ID: GXkbjfOrnHX

--HG--
extra : rebase_source : 7130d656b0dfd2f0cbc64227657347efdce54036
2017-03-20 14:43:08 +08:00
Timothy Guan-tin Chien
4e61315b53 Bug 1273537. r=gijs 2017-03-20 15:57:45 -04:00
Michael Layzell
ccc519e3f4 Bug 1347983 - Part 1: Make forms submitted from a large-allocation page not leave the large-allocation process, r=smaug
MozReview-Commit-ID: 7SEdTJN9Xd2
2017-03-16 14:32:26 -04:00
Florian Quèze
9c4d40bb54 Bug 1345294 - script generated patch (+ some hand cleanup) to replace {get,set}ComplexValue for nsISupportsString by {get,set}StringPref, r=Mossop. 2017-03-16 19:26:01 +01:00
Paolo Amadini
0f0a3e05bd Bug 1345449 - Suppress popup notifications explicitly when the window is minimized. r=johannh
MozReview-Commit-ID: CnMxZN7kpmj

--HG--
extra : rebase_source : 127151ac31ba0f772482c582fd16f26cc9807b70
2017-03-08 13:08:41 +00:00
Bob Owen
c5d10b21ef Bug 1345807 Part 1: When viewing source of existing browser always use its remoteType. r=Gijs 2017-03-10 10:53:43 +00:00
Florian Quèze
37bbced84d Bug 1344711 - hand cleanup of remaining useless try blocks around get*Pref calls identified by eslint, r=jaws.
--HG--
extra : rebase_source : 18c027010838faba91f0ac699f9bde07f85500e7
2017-03-07 15:29:48 +01:00
Florian Quèze
cd762cc83c Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws.
--HG--
extra : rebase_source : c6e20e6e79b0ca5de751c52712d96cbea9432d26
2017-03-07 15:29:48 +01:00
Johann Hofmann
9445b26d32 Bug 1343210 - Only move focus into identity popup when opened via keyboard. r=Gijs
MozReview-Commit-ID: FZG2DKSM5Fh

--HG--
extra : rebase_source : 144b81bf94259b4755db231989822db84a7c37f2
2017-02-28 14:29:03 +01:00
Tim Huang
fc6e097c7a Bug 1337893 - Part 4: Updating whole gecko to make all callers of DNS using correct originAttributes. r=baku
MozReview-Commit-ID: D6Vp8ANSzLI

--HG--
extra : rebase_source : f3608b09835040e4a4f8e7675aa53d003f298d32
2017-02-15 10:39:40 +08:00
Johann Hofmann
793b540f87 Bug 1335016 - Add tooltip to identity popup expander button. r=florian,MarcoZ
MozReview-Commit-ID: 7ulEwzyYFsW

--HG--
extra : rebase_source : 3b3aa1bdd1882c1f959961a9cd04f274be845981
2017-03-01 15:23:46 +01:00
Carsten "Tomcat" Book
d0bd960945 merge mozilla-inbound to mozilla-central a=merge 2017-03-06 10:53:27 +01:00
Ursula Sarracini
6b1858e254 Bug 1340181 - Hide Activity Stream URL in URLbar r=fkiefer,mconley
MozReview-Commit-ID: F0P5tn2wyG

--HG--
extra : rebase_source : a9f766913b8340e12a4f526dc741e8ed752e6acf
2017-02-22 13:18:09 -05:00
Matthew Noorenberghe
8e6dfd43c3 Bug 1342462 - UITour: Remove automatic reader view tour based on a URL regex. r=Gijs
MozReview-Commit-ID: 1GCx4tOtjXA

--HG--
extra : rebase_source : 61e0798dc9d6315da864af63a10c78e9874eb039
2017-02-28 21:52:54 -08:00
Luca Greco
706324f05b Bug 1190687 - [webext] webNavigation.onCreatedNavigationTarget on new windows/tabs from context menu and user clicks on links. r=kmag
MozReview-Commit-ID: KYVKkVUSOzR

--HG--
extra : rebase_source : 95a995a2bceac3488347a87b7363a72d76012ce8
2017-02-24 19:49:38 +01:00
Jared Wein
dcc9efeeac Bug 864562 - Fix the tests and move more logic from JS to CSS now that the values exist as CSS Variables. r=mikedeboer
MozReview-Commit-ID: BuJdjtVBnin

--HG--
extra : rebase_source : 47d244f3fa2e4f8768ce803201f238f456b22ecb
2017-02-28 12:15:04 -05:00
Dão Gottwald
233f3a1a90 Bug 1300376 - Update zoom indicator when moving a browser to another window. r=jaws
MozReview-Commit-ID: 3iWBQBM9jC3

--HG--
extra : rebase_source : 60675f06a4c68d429f8f7a9ffac6334b22f47804
2017-03-01 10:35:20 +01:00
Kevin Jones
a35d5c581b Bug 1344212 - Create lazy browser only if the addTab caller opts in. r=dao 2017-03-03 18:58:27 +01:00
Kevin Jones
4c4d2e43e2 Bug 1287330 - Insert tabs' linkedBrowser lazily into the document. r=dao 2017-02-23 17:19:28 +01:00
Matheus Longaray
d06e88eb2a Bug 1323987 - Update browser printing code accordingly. r=mconley
This patch updates browser printing code to make use of about:printpreview
when loading new tab for print preview. The same URI is used when the user
makes use of simplify page feature while print previewing.

MozReview-Commit-ID: DXHT71hpnWo

--HG--
extra : rebase_source : 9ccda6cd971931df70093177c6a9bdd16c93b7db
2017-01-05 17:38:13 +01:00
Fischer.json
3ea1b8cd85 Bug 1340618 - Don't hardcode Firefox in strings for space disk warning in Preferences r=jaws
MozReview-Commit-ID: KyEba2v30rC

--HG--
extra : rebase_source : 871a2a57614725e1157325ab8228775dd785dccf
2017-02-20 11:57:13 +08:00
Thomas Nguyen
65d9ef988a Bug 1288633 - Add more information when an URL matches Safe Browsing list. r=dragana,francois
MozReview-Commit-ID: 6u0dUOB838F

--HG--
extra : rebase_source : 8800e60e6a3b787f1ebaeafb48057e3a3d509468
2017-02-21 09:46:36 +08:00
Gijs Kruitbosch
b3c5114330 Bug 1337959 - fix BrowserOpenAddonsMgr to always resolve the promise with a window, r=aswan
MozReview-Commit-ID: 6kPkmC7mtaz

--HG--
extra : rebase_source : 0afa058dca0ab73ba3e1cdc4c3b09f6937fcda22
2017-02-10 12:44:50 +00:00
Fischer.json
3cf5350b8f Bug 1323395 - Show warning when disk space available for firefox is not enough, r=jaws
MozReview-Commit-ID: HttJ2RFCTtS

--HG--
extra : rebase_source : 0e3fc00c0f429b0fb010827de6f33bdfe197d161
2016-12-28 16:53:38 +08:00
Wes Kocher
51dac1f2e8 Merge m-c to autoland, a=merge
MozReview-Commit-ID: FqToQ9qk7dg
2017-02-15 16:33:46 -08:00
Wes Kocher
017c515285 Merge inbound to m-c a=merge
MozReview-Commit-ID: IKI0zVtF1n9
2017-02-15 16:18:13 -08:00
J. Ryan Stinnett
32d643c588 Bug 1335281 - Use frame loader for same process browsers. r=mrbkap
This changes the `relatedBrowser` property which held a <xul:browser> to the
more explicit `sameProcessAsFrameLoader` which takes an nsIFrameLoader.

This clarifies the purpose of the property and also (by switching to the frame
loader) makes it easier to set in some contexts.

MozReview-Commit-ID: LnEvSP8zkto

--HG--
extra : rebase_source : f9f4c07995ef39f1ccd5042e9ae3df37879423b6
2017-02-14 14:12:35 -06:00
Andrea Marchesini
cd3d39251f Bug 1337964 - SiteDataManager should check correctly if a cookie belongs to a private identity or not, r=aryx, r=gijs 2017-02-15 13:12:52 +01:00
Jonathan Hao
ef8f78b212 Bug 1336867 - Remove unsafeProcessHeader and isSecureHost in nsISiteSecurityService r=keeler,mgoodwin,past
--HG--
extra : rebase_source : e4a69e18154adf22e045c820ae2b3fd8a77877a6
2017-02-08 11:17:29 +08:00
Johann Hofmann
31a66750f4 Bug 1335018 - Make the side identity popup adhere to role=alertdialog for a11y. r=Gijs,MarcoZ
MozReview-Commit-ID: DpqeeN570H9

--HG--
extra : rebase_source : 932d597e9e37235259e8e1060b3eeba57995992a
2017-02-09 17:16:28 +01:00
Carsten "Tomcat" Book
cc005af04c Merge mozilla-central to mozilla-inbound 2017-02-10 14:27:13 +01:00
Paolo Amadini
4bf8de0d84 Bug 1328304 - Hide notifications when the address bar has focus and the URL is being edited. r=johannh
MozReview-Commit-ID: 5GhCsA9Gi3f

--HG--
extra : rebase_source : 17befcf3c98465dc9bf6407a812e81d83bc185bc
2017-02-10 13:16:02 +00:00
Phil Ringnalda
b5acb9b812 Backed out 2 changesets (bug 1336867) for (at least) eslint failures
CLOSED TREE

Backed out changeset 0a4f283638cb (bug 1336867)
Backed out changeset 837766805d75 (bug 1336867)

--HG--
rename : security/manager/ssl/tests/unit/test_sts_parser.js => security/manager/ssl/tests/gtest/STSParserTest.cpp
2017-02-09 19:02:32 -08:00
Jonathan Hao
e28cb314a8 Bug 1336867 - Remove unsafeProcessHeader and isSecureHost in nsISiteSecurityService r=keeler,mgoodwin,past
--HG--
extra : rebase_source : 3b14ddfcb4107eeeb15ba5498d0b516310847c58
2017-02-08 11:17:29 +08:00