Ehsan Akhgari
b3c4267b3c
Bug 1557887 - Part 6: Pass a storage principal to the rest of the call sites for createAboutBlankContentViewer(); r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D34460
--HG--
extra : moz-landing-system : lando
2019-06-12 09:07:33 +00:00
Ehsan Akhgari
fc40494b9c
Bug 1557887 - Part 5: Pass a storage principal argument through the browser loadURI()/addTab() APIs; r=baku,mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D34459
--HG--
extra : moz-landing-system : lando
2019-06-12 23:05:36 +00:00
Michael Kaply
ee4ae8a0b1
Bug 1553290 - Get support menu href direct from policy. r=jaws
...
Differential Revision: https://phabricator.services.mozilla.com/D32367
--HG--
extra : moz-landing-system : lando
2019-06-03 21:30:57 +00:00
Thomas Nguyen
23f12685bd
Bug 1532318 - Part 3 : update js code related to the change of nsIHttpChannel r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D22787
--HG--
extra : moz-landing-system : lando
2019-05-02 12:34:06 +00:00
Shane Caraveo
7df3401a58
Bug 1532165 use prefs to support extension newtab and homepage on startup. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D25808
--HG--
extra : moz-landing-system : lando
2019-04-08 22:36:26 +00:00
Jonathan Kingston
2b27f3c10d
Bug 1479433 - Changing icons and colors for containers to be class based. r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D24918
--HG--
extra : moz-landing-system : lando
2019-04-10 11:19:00 +00:00
Trushita
89435f2ad4
Bug 1494948: Removed FX_PREFERENCES_OPENED_VIA probe and origin parameter for openPreferences r=jaws,chutten
...
Removed FX_PREFERENCES_OPENED_VIA probe as it expired in 63.Origin parameter for openPreferences has also been removed.
Differential Revision: https://phabricator.services.mozilla.com/D26795
--HG--
extra : moz-landing-system : lando
2019-04-09 20:40:26 +00:00
Thomas Nguyen
3c8351815e
Bug 1539408 Pass referrerInfo to gContextMenuContentData in non-remote r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D25419
--HG--
extra : moz-landing-system : lando
2019-04-02 08:53:28 +00:00
Mark Banner
ce267bd0ae
Bug 1538771 - Move trimURL to BrowserUtils.jsm so it can be more easily accessed in non-window contexts. r=adw
...
Differential Revision: https://phabricator.services.mozilla.com/D24761
--HG--
extra : moz-landing-system : lando
2019-03-26 09:15:50 +00:00
sakshaat
d781937a67
Bug 1517483 - Get rid of nsIScriptSecurityManager::IsSystemPrincipal r=bzbarsky
...
Replaced instances of callers in both C++ and JS files to query the state from the principal directly.
Differential Revision: https://phabricator.services.mozilla.com/D22532
--HG--
extra : moz-landing-system : lando
2019-03-24 20:36:25 +00:00
Thomas Nguyen
26bd1e060c
Bug 1528695 - Part 2 : Use referrerInfo in openWindow, contextmenu and openLinkIn r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D21911
--HG--
extra : moz-landing-system : lando
2019-03-15 05:10:17 +00:00
Kyle Machulis
b1414002ac
Bug 1524709 - Remove aShouldBeRemote from updateBrowserRemoteness; r=nika
...
Just set the RemoteType in the options object argument, instead of
doubling up the information.
Differential Revision: https://phabricator.services.mozilla.com/D23250
--HG--
extra : moz-landing-system : lando
2019-03-14 00:51:30 +00:00
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