Commit Graph

421 Commits

Author SHA1 Message Date
Andreea Pavel
31fb9c007c 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
ea417d37e5 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
2018-08-06 19:54:47 +03:00
Brian Grinstead
3097f96e03 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
2018-07-24 08:12:50 -07:00
Gijs Kruitbosch
567d31a745 Bug 1469916, r=ckerschb,jkt 2018-06-22 15:41:39 +01:00
Gijs Kruitbosch
435b8f162d 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
2cd42146aa Bug 1469916, r=ckerschb,jkt 2018-06-22 15:41:39 +01:00
Nan Jiang
8e8ea76383 Bug 1425494 - Make browser-open-newtab-start notify with extra info. r=dmose,mstriemer
MozReview-Commit-ID: EjDFjUvreEp
2018-05-16 11:15:47 -04:00
Jonathan Kingston
78a584887d Bug 1424380 - Require triggering principal passed into openUILink(). r=Gijs
MozReview-Commit-ID: BsQqZzfm2Ra
2018-05-14 11:35:08 +01:00
Erica Wright
d248a1d666 Bug 1448918 - Create about:welcome page in preparation for firstrun migration. r=dmose
MozReview-Commit-ID: L34uRsOeziS
2018-04-23 15:47:57 -04:00
Mike de Boer
15e60d9e71 Bug 1034036 - Part 2: Rename and shorten getMostRecentBrowserWindow to getTopWindow and modernize the style used in BrowserWindowTracker.jsm. r=dao
MozReview-Commit-ID: EvgAhq4uR3a
2018-04-11 12:05:59 +02:00
Mike de Boer
2271d50b55 Bug 1034036 - Part 1: Merge RecentWindow.jsm and UpdateTopLevelContentWindowIDHelper.jsm into one module called 'BrowserWindowTracker.jsm'. r=dao
MozReview-Commit-ID: 9qzq1aGvjDu
2018-04-11 12:05:56 +02:00
Jonathan Kingston
9b880fdc20 Bug 1374741 - Within browser/ make openUILinkIn() provide the correct triggeringPrincipal. r=gijs
MozReview-Commit-ID: 1NQrlWzIBja
2018-02-21 14:28:48 +00:00
Shane Caraveo
b51cf3df6b Bug 1446913 - document and fix event object usage, r=felipe 2018-03-30 12:04:40 -05:00
Tim Nguyen
d49de43825 Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
MozReview-Commit-ID: 5dsyKwvjYht
2018-03-16 23:21:46 +00:00
Margareta Eliza Balazs
8ad3204b44 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
76bd43b52d Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
MozReview-Commit-ID: 5dsyKwvjYht
2018-03-16 23:21:46 +00:00
Tiberius Oros
2ce14426a7 Merge inbound to mozilla-central. a=merge 2018-03-16 11:53:43 +02:00
Yuki Hiroshi
c311f2d72b Bug 1440573 - Policy: Disable safe mode. r=jimm,felipe
This policy disables the safe-mode UI entry points. In addition, only on Windows when using GPO, it also disables entering Safe Mode by holding down the Shift Key
2018-03-15 23:06:22 -03:00
Brindusan Cristian
1726442983 Backed out changeset 83dffebb1536 (bug 1440573) for bc failures on browser_policy_disable_safemode.js CLOSED TREE 2018-03-16 05:15:39 +02:00
Yuki Hiroshi
d376aa72b6 Bug 1440573 - Policy: Disable safe mode. r=jimm,felipe
This policy disables the safe-mode UI entry points. In addition, only on Windows when using GPO, it also disables entering Safe Mode by holding down the Shift Key
2018-03-15 23:06:22 -03:00
Yuki Hiroshi
db5a304800 Bug 1440574 - Policy: Disable commands to send feedback. r=felipe 2018-03-15 23:02:13 -03:00
Brendan Dahl
8a8bb26748 Bug 1442302 - Remove placesOverlay.xul. r=Gijs,mak,standard8
The overlay was responsible for script loading and defining three elements
(bhTooltip, placesCommands, placesContext). In the majority of places where
the overlay was included only part of it was used. To remove the overlay, the
elements were each split into include files and moved into where they
were used. For the scripts, a JS file was added that defines all the lazy
modules and then this script, globalOverlay.js and utilityOverlay.js were
inlined to everywhere that would have included them from the overlay.

MozReview-Commit-ID: 8T5D46oYWLn
2018-03-12 10:43:35 -07:00
Ciure Andrei
ad4bc48a6f Backed out 2 changesets (bug 1440574) for failing browser/components/enterprisepolicies/tests/browser/browser_policy_disable_feedback_commands.js on OS X a=backout on a CLOSED TREE
Backed out changeset f003e2175222 (bug 1440574)
Backed out changeset 1962477d8dc7 (bug 1440574)
2018-03-12 17:48:45 +02:00
YUKI Piro Hiroshi
d14726591e Bug 1440574 - "Policy: Disable commands to send feedback" r=Felipe 2018-03-12 05:58:00 +02:00
Florian Quèze
f6add2cafd Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Tooru Fujisawa
7e45b6b27e Bug 1435908 - Part 2: Pass the triggering principal when opening an URI from new tab button and new window button drag and drop. r=Gijs 2018-02-28 10:36:44 +09:00
Tooru Fujisawa
7b9b15de74 Bug 1435910 - Part 1: Warn when opening too many tabs by drag and drop. r=Gijs 2018-02-28 10:36:43 +09:00
Andrew McCreight
272cee1e65 Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -08:00
Brian Grinstead
0b7802bc68 Bug 1435437 - Don't append bundle_browser using an overlay;r=Gijs
- bundle_browser_region is already unused so that's just removed.
- After the previous changeset, bundle_browser is referenced only in utilityOverlay.js,
  where it's used for the context menu's "Open Link In New Container Tab" submenu.

By updating that one consumer to use Services.strings.createBundle directly we can
remove all instances of the bundle_browser node (overlay and otherwise), and chip
away at the baseMenuOverlay file.

MozReview-Commit-ID: KylUwBRNciS
2018-02-02 16:48:02 -08:00
Kris Maglione
0bb74efdf1 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Myk Melez
30f98a841a Bug 1379338 - scriptify preferences XBL; r=jaws
MozReview-Commit-ID: Egyzs2KxhzH
2018-01-04 21:37:47 -08:00
Sebastian Hengst
14608b5894 Backed out 2 changesets (bug 1379338) for failing Marionette headless' test_anonymous_content.py TestAnonymousNodes.test_find_anonymous_children. r=backout on a CLOSED TREE
Backed out changeset 232c97d7c2ea (bug 1379338)
Backed out changeset a76ff10b9bff (bug 1379338)
2018-01-04 20:15:18 +02:00
Myk Melez
5b9b2b305f Bug 1379338 - scriptify preferences XBL; r=jaws
MozReview-Commit-ID: 7NRHlSsdOtf
2018-01-04 07:34:15 -08:00
Mark Banner
5ab2bd1b7a Bug 1421376 - Change various instances of manually calling getService to use Services.jsm in browser/. r=mossop
MozReview-Commit-ID: FW3X2fkOwK2
2017-11-28 19:21:33 +00:00
Dão Gottwald
f5c05ef4cb Bug 1352497 - Remove about:healthreport. r=gfritzsche,nechen
MozReview-Commit-ID: 4FQ5aL2XrU5
2017-11-28 11:38:15 +01:00
Mark Striemer
491bc2ad0f Bug 1390158 - Notify user of extension controlling New Tab on first access r=aswan,jaws
MozReview-Commit-ID: 1g9d4UTuOgr
2017-11-22 19:00:58 -06:00
Cosmin Sabou
8fea5b9512 Backed out changeset be86ccde4f4a (bug 1352497) for bc failures on Windows 7 debug with e10s at docshell/test/browser/browser_bug1309900_crossProcessHistoryNavigation.js r=backout a=backout 2017-11-26 01:36:44 +02:00
Dão Gottwald
b0974e6bab Bug 1352497 - Remove about:healthreport. r=gfritzsche,nechen
MozReview-Commit-ID: 8aPg9oDFIlu
2017-11-22 13:51:08 +01:00
Christoph Kerschbaumer
1a5e7d3be0 Bug 1407891: Allow view-image to open a data: URI by setting a flag on the loadinfo. r=bz 2017-11-08 20:01:41 +01:00
Luke Crouch
34e4c1642e Bug 1409226 - When opening a link into a new private window, remove Referer. r=mikedeboer
Always set aNoReferrer = true in openLinkIn when where == 'window' and aIsPrivate

MozReview-Commit-ID: 7szUyO6w6d4
2017-10-17 18:07:58 -05:00
Sebastian Hengst
34062d058e Backed out changeset 1fb52bba8d5c (bug 1409226) for eslint failure at browser/base/content/utilityOverlay.js:210: Function 'openLinkIn' has a complexity of 41. r=backout 2017-10-24 18:30:24 +02:00
Luke Crouch
9321cd2ee7 Bug 1409226 - When opening a link into a new private window, remove Referer. r=mikedeboer
Always set aNoReferrer = true in openLinkIn when where == 'window'

MozReview-Commit-ID: 7szUyO6w6d4
2017-10-17 18:07:58 -05:00
Dan Banner
5af4450327 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Dão Gottwald
6b98090ccc Bug 1404583 - Make openLinkIn not steal focus from the address bar when loading the New Tab page. r=florian
MozReview-Commit-ID: IgO8FrSv2l3
2017-10-12 11:08:23 +02:00
Sebastian Hengst
23421cb200 Backed out changeset 4e1474612b64 (bug 1404583) for failing browser-chrome's browser/modules/test/browser/browser_BrowserUITelemetry_syncedtabs.js. r=backout 2017-10-11 16:26:46 +02:00
Dão Gottwald
10ae9021f5 Bug 1404583 - Make openLinkIn not steal focus from the address bar when loading the New Tab page. r=florian
MozReview-Commit-ID: BInIyg99m76
2017-10-10 13:12:02 +02:00