Gijs Kruitbosch
071fe3aace
Bug 1534256 - actually open the right help topic page, r=jaws
...
Differential Revision: https://phabricator.services.mozilla.com/D22973
--HG--
extra : moz-landing-system : lando
2019-03-11 14:11:53 +00:00
Gijs Kruitbosch
4fe5536b6a
Bug 1532685 - avoid opening help pages more than once by adding listeners to the actual dialogs instead of using utilityOverlay.js, r=jaws
...
Differential Revision: https://phabricator.services.mozilla.com/D22300
--HG--
extra : moz-landing-system : lando
2019-03-06 16:10:37 +00:00
Soeren Hentzschel
6da0e18dfe
Bug 1522856 - Add an "import" option to the file menu to make browser migration discoverable. r=MattN,felipe
...
Differential Revision: https://phabricator.services.mozilla.com/D19274
--HG--
extra : rebase_source : 7289825a0a5fa83082d6bd2908d3debb06793bb6
extra : amend_source : 1d8799059a50555a516e3949efecdac7810b05da
extra : histedit_source : 47fa2b61fc1d41cf249957762fbb0717c9ead1e1%2C63e64f6cfc61f67cc4914a8b77a6e7983bbc503c
2019-03-04 15:29:03 -08:00
Shane Caraveo
5f1ea2b9fb
Bug 1532110 handle homepage/newtab when extension settings is not initialized r=rpl
...
If no extension controls the settings, ExtensionSettings may not be initialized on startup. Fall back to the defaults in that case.
Differential Revision: https://phabricator.services.mozilla.com/D21866
--HG--
extra : moz-landing-system : lando
2019-03-03 20:20:53 +00:00
Neil Deakin
66040975f2
Bug 1519953, replace calls to retrieve boxobject position and size with getBoundingClientRect, r=gijs
...
--HG--
extra : rebase_source : 65a9e08513ada3cda6beeb09d7f8a53620c2999f
2019-03-01 12:26:45 -05:00
Shane Caraveo
8073d84e30
Bug 1529582 prevent addon-set external home pages in private browsing without permission r=rpl,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D21228
--HG--
extra : moz-landing-system : lando
2019-02-28 18:12:46 +00:00
Christoph Kerschbaumer
8124d3a763
Bug 1518454: Part 2, frontend changes, add CSP to loadURIOptions dictionary and pass CSP explicitly from frontend to docshell. r=gijs
2019-02-22 09:19:26 +01:00
Shane Caraveo
fff2e14c0b
Bug 1525125 block newtab and homepage overrides in private windows r=rpl,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D18730
--HG--
extra : moz-landing-system : lando
2019-02-19 19:19:44 +00:00
Jonas Allmann
fbe8b0661c
Bug 1523813, Remove new Function from utilityOverlay.js, r=Gijs
...
Replaced new Function() by CustomEvent carrying original click event as sourceEvent.
Adapted all oncommand listeners to use event.sourceEvent instead of event.
Differential Revision: https://phabricator.services.mozilla.com/D18847
--HG--
extra : moz-landing-system : lando
2019-02-19 16:20:02 +00:00
Razvan Maries
00ff5fa61a
Backed out changeset 10528ad0d7a1 (bug 1525125) for frequently failing bug 1528134. a=backout
2019-02-15 18:23:14 +02:00
Michael Kaply
3bca501987
Bug 1527766 - Add enterprise policy for support menu. r=Felipe,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D19722
--HG--
extra : moz-landing-system : lando
2019-02-14 23:25:08 +00:00
Shane Caraveo
75718b91a4
Bug 1525125 block newtab and homepage overrides in private windows r=rpl,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D18730
--HG--
extra : moz-landing-system : lando
2019-02-14 19:46:00 +00:00
Bogdan Tara
55264a1e43
Backed out changeset 14f7c02566c2 (bug 1525125) for browser_ext_windows_create_tabId.js failures CLOSED TREE
2019-02-14 17:29:40 +02:00
Shane Caraveo
40e0ac9225
Bug 1525125 block newtab and homepage overrides in private windows r=rpl,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D18730
--HG--
extra : moz-landing-system : lando
2019-02-14 12:44:07 +00:00
Thomas Nguyen
85ce5ab061
Bug 1517703 - Part 2 - Use ReferrerInfo in loadURIOptions from js r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D17922
--HG--
extra : moz-landing-system : lando
2019-02-12 19:35:24 +00:00
Myk Melez
25349d2601
Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D17526
--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
Kris Maglione
e930b89c34
Bug 1514594: Part 3 - Change ChromeUtils.import API.
...
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8
This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:
ChromeUtils.import("resource://gre/modules/Services.jsm");
is approximately the same as the following, in the new model:
var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs
This was done using the followng script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16750
--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
vinoth
def0e38b93
Bug 1521040 - Remove ondialoghelp attribute and add custom event handler r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D16946
--HG--
extra : moz-landing-system : lando
2019-01-21 21:29:54 +00:00
Gijs Kruitbosch
ceecd61c16
Bug 1515863, r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D15221
--HG--
extra : rebase_source : 64431f64e9af7a961ffcd47c7b8e01dbecc71b07
2018-12-21 11:56:47 +00:00
Dão Gottwald
84a61fb2d2
Bug 1513508 - Clean up Object.defineProperty calls in browser.js. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D14241
--HG--
extra : moz-landing-system : lando
2018-12-12 13:40:06 +00:00
Brian Hackett
a9c5259123
Bug 1508088 - Don't start new recording when navigating from blank tab, r=jlast.
...
--HG--
extra : rebase_source : 23363daf8e778bacda8f62d41413acc1f8db5de5
2018-11-17 11:28:50 -10:00
Brian Hackett
6f92ea6450
Bug 1489651 - Always start a new recording when reloading or using the location bar, r=jlast.
...
--HG--
extra : rebase_source : ab1352427b0b572fb695fb07ef56a209face1ed5
2018-11-08 08:32:29 -10:00
Preeti Mukherjee
ccaae1158d
Bug 1489765 - Remove getBoolPref function from utilityOverlay.js. r=dao
...
--HG--
extra : rebase_source : d2df38ebf56a4359f634da6138500869e69f7154
2018-09-12 01:18:18 +02:00
Mark Banner
691543ee89
Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
...
Automatic changes by ESLint, except for manual corrections for .xml files.
Differential Revision: https://phabricator.services.mozilla.com/D4439
--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Brendan Dahl
f6923ccc24
Bug 1485426 - Use createXULElement instead of createElement in XUL docs. r=bgrins
...
Preparing for transitioning to XHTML.
MozReview-Commit-ID: JLlmUxsvhIB
Differential Revision: https://phabricator.services.mozilla.com/D4265
--HG--
extra : moz-landing-system : lando
2018-08-25 00:16:27 +00:00
Kris Maglione
80327d3561
Bug 1484496: Part 5a - Convert browser/ nsISimpleEnumerator users to use JS iteration. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D3729
--HG--
extra : rebase_source : e187b8e9a6b6db7ebc762adda5e489b25c7a7e43
extra : histedit_source : 868cb99d09954a51d6be321fcb516475ef70eb33
2018-08-18 19:27:33 -07:00
Jonathan Kingston
3d93e94550
Bug 1364392 - Provide correct triggeringPrincipal to openLinkIn r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D3873
--HG--
extra : moz-landing-system : lando
2018-08-21 14:15:40 +00:00
Jonathan Kingston
a91f8e8108
Bug 1466801 - Flipping disallowInheritPrincipal to be allow. r=ckerschb r=gijs
...
--HG--
rename : browser/base/content/test/general/browser_utilityOverlay.js => browser/base/content/test/contextMenu/browser_utilityOverlay.js
extra : source : 5eab8f37c4bd6048057069cb0ac2ab0b4729d950
2018-07-16 10:17:51 +01:00
Bogdan Tara
89268618f4
Backed out changeset c9b0ce46ad4f (bug 1466801) for pause-remove-from-document-networkState.html failures CLOSED TREE
...
--HG--
rename : browser/base/content/test/contextMenu/browser_utilityOverlay.js => browser/base/content/test/general/browser_utilityOverlay.js
2018-08-11 03:20:30 +03:00
Jonathan Kingston
c24e0873da
Bug 1466801 - Flipping disallowInheritPrincipal to be allow. r=ckerschb r=gijs
...
--HG--
rename : browser/base/content/test/general/browser_utilityOverlay.js => browser/base/content/test/contextMenu/browser_utilityOverlay.js
extra : source : a7bdcc1e1373724effb0bec2d80eb9c63ae782a1
2018-07-16 10:17:51 +01:00
Jonathan Kingston
9b7fb2f20c
Bug 1362034 - Have addTab() provide the correct triggering principal. r=ckerschb r=Gijs
...
Reviewers: ckerschb!, Gijs!
Tags: #secure-revision
Bug #: 1362034
Differential Revision: https://phabricator.services.mozilla.com/D2046
--HG--
extra : source : 44b25dea67d2ed079e17057ab619d827e9983400
extra : amend_source : 5742820277e0269b6f5d42b1abd98fd9b228ac4a
extra : histedit_source : 790bd2490333e4d8fea7774d036eafbc2fc329b9
2018-07-06 15:14:54 +01:00
dvarga
12f19b94e9
Backed out 2 changesets (bug 1362034) for failure at browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js on a CLOSED TREE
...
Backed out changeset 1c3329958b8a (bug 1362034)
Backed out changeset f68b1b76af36 (bug 1362034)
--HG--
extra : histedit_source : 6169c5ffe856266d3bc8b2ca32f4b67054c71bbe
2018-08-08 22:11:56 +03:00
Jonathan Kingston
f389570122
Bug 1362034 - Have addTab() provide the correct triggering principal. r=ckerschb,Gijs
...
Reviewers: ckerschb, Gijs
Reviewed By: ckerschb, Gijs
Subscribers: mixedpuppy, reviewbot
Bug #: 1362034
Differential Revision: https://phabricator.services.mozilla.com/D2046
--HG--
extra : rebase_source : ea688b35744f970e74de3039da3973f1177d8577
extra : amend_source : 89efdb8ccec2c334a83155eec6b30f08fa0f7074
2018-08-08 20:03:55 +03:00
Andreea Pavel
f5c1119983
Backed out 2 changesets (bug 1362034) for failing damp | inspector/cold-open.js on a CLOSED TREE
...
Backed out changeset 8c8925b75aa2 (bug 1362034)
Backed out changeset ff6b05c96094 (bug 1362034)
2018-08-06 20:42:44 +03:00
Jonathan Kingston
9be2ebdb53
Bug 1362034 - Have addTab() provide the correct triggering principal. r=ckerschb,Gijs
...
Reviewers: ckerschb, Gijs
Reviewed By: ckerschb, Gijs
Subscribers: reviewbot
Bug #: 1362034
Differential Revision: https://phabricator.services.mozilla.com/D2046
--HG--
extra : rebase_source : 57c6bda461781ec20f0ceba8d1dd9c48778bf568
extra : amend_source : 2eebbf1e7df91697ce984d2845dbae41f9dcbcbd
2018-08-06 19:54:47 +03:00
Brian Grinstead
96dc530924
Bug 1476333 - Refer to AppConstants.BROWSER_CHROME_URL to get the browser URL from the frontend;r=Gijs
...
Before this change, we accessed the browser URL in the following ways:
- "chrome://browser/content/browser.xul"
- "chrome://browser/content/" (which redirects to chrome://browser/content/browser.xul)
- Services.prefs.getCharPref("browser.chromeURL") which returns "chrome://browser/content/"
- getBrowserURL() from utilityOverlay.js
MozReview-Commit-ID: I5vtRke1x9t
--HG--
extra : rebase_source : c525350a1954740873e85b045cbb14a8b43aa89d
2018-07-24 08:12:50 -07:00
Gijs Kruitbosch
09a107bc24
Bug 1469916, r=ckerschb,jkt
...
--HG--
extra : rebase_source : 180442deeef92f0e9202d76c5e4e46b630072d99
extra : source : be11a32900298eb6fd4d18ad21b9a699995254c3
2018-06-22 15:41:39 +01:00
Gijs Kruitbosch
9396488809
Backed out changeset be11a3290029 (bug 1469916) for test orange involving Not enough arguments [nsIWebBrowserPersist.saveURI]
2018-07-03 15:45:13 +01:00
Gijs Kruitbosch
0d0616cad1
Bug 1469916, r=ckerschb,jkt
...
--HG--
extra : rebase_source : 5c2f49af85664fdb5375f6dc4cc57d6913f1eff9
2018-06-22 15:41:39 +01:00
Nan Jiang
401acab6cf
Bug 1425494 - Make browser-open-newtab-start notify with extra info. r=dmose,mstriemer
...
MozReview-Commit-ID: EjDFjUvreEp
--HG--
extra : rebase_source : 7c75890bf7f45672623e36ade1dcdbc8dd2c85dc
2018-05-16 11:15:47 -04:00
Jonathan Kingston
ca246e6abc
Bug 1424380 - Require triggering principal passed into openUILink(). r=Gijs
...
MozReview-Commit-ID: BsQqZzfm2Ra
--HG--
extra : rebase_source : 1c9de99aad978632a55afaaf55f247d3997b3b91
2018-05-14 11:35:08 +01:00
Erica Wright
dc93192a58
Bug 1448918 - Create about:welcome page in preparation for firstrun migration. r=dmose
...
MozReview-Commit-ID: L34uRsOeziS
--HG--
extra : rebase_source : 9e783e9ba1a8473c8867aa9c2a87337005acbab2
2018-04-23 15:47:57 -04:00
Mike de Boer
ecf63670d4
Bug 1034036 - Part 2: Rename and shorten getMostRecentBrowserWindow to getTopWindow and modernize the style used in BrowserWindowTracker.jsm. r=dao
...
MozReview-Commit-ID: EvgAhq4uR3a
--HG--
extra : rebase_source : 8fd8040cd1eee94675d4e9ca0c8ccc60db9e1bf7
2018-04-11 12:05:59 +02:00
Mike de Boer
d16ee58ded
Bug 1034036 - Part 1: Merge RecentWindow.jsm and UpdateTopLevelContentWindowIDHelper.jsm into one module called 'BrowserWindowTracker.jsm'. r=dao
...
MozReview-Commit-ID: 9qzq1aGvjDu
--HG--
rename : browser/modules/UpdateTopLevelContentWindowIDHelper.jsm => browser/modules/BrowserWindowTracker.jsm
extra : rebase_source : 9c4a728e13fd691d377e7f221c5632646115daca
2018-04-11 12:05:56 +02:00
Jonathan Kingston
ff73ac0338
Bug 1374741 - Within browser/ make openUILinkIn() provide the correct triggeringPrincipal. r=gijs
...
MozReview-Commit-ID: 1NQrlWzIBja
--HG--
extra : rebase_source : 29d337e111d82e9c5729b5a59e1a16d06e67774c
2018-02-21 14:28:48 +00:00
Shane Caraveo
cfe18d0c3e
Bug 1446913 - document and fix event object usage, r=felipe
2018-03-30 12:04:40 -05:00
Tim Nguyen
e002c63fa4
Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
...
MozReview-Commit-ID: 5dsyKwvjYht
--HG--
extra : rebase_source : 881e10f2987606e84e55c267260661c0f7b3b746
2018-03-16 23:21:46 +00:00
Margareta Eliza Balazs
27703664b0
Backed out 2 changesets (bug 1444760) for ES lint failure in /builds/worker/checkouts/gecko/browser/base/content/browser.js on a CLOSED TREE
...
Backed out changeset 71f61091a716 (bug 1444760)
Backed out changeset 4956db1e9bdd (bug 1444760)
2018-03-25 15:29:54 +03:00
Tim Nguyen
e2ed0b5dfb
Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
...
MozReview-Commit-ID: 5dsyKwvjYht
--HG--
extra : rebase_source : 8e9f24d20829021db2239435c7d8d0db08e28bf9
2018-03-16 23:21:46 +00:00
Tiberius Oros
a4a2be52e8
Merge inbound to mozilla-central. a=merge
2018-03-16 11:53:43 +02:00