Valentin Gosu
ef679fb98f
Bug 1696193 - Stop setting Firefox as default handler for FTP r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D107079
2021-03-04 08:37:02 +00:00
Simon Giesecke
46908cfb51
Bug 1660470 - Add missing include directives/forward declarations. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D87865
2020-11-23 16:21:38 +00:00
Tim Huang
c60a2bd45c
Bug 1641270 - Part 6: Pass CookieJarSettings to nsIWebBrowserPersist.saveURI() and nsIWebBrowserPersist.savePrivacyAwareURI(). r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D95616
2020-11-11 18:19:27 +00:00
Mihai Alexandru Michis
a232075e0f
Backed out 9 changesets (bug 1641270) for causing dt failures in browser_jsonview_save_json.js
...
CLOSED TREE
Backed out changeset 89a6dab92f1a (bug 1641270)
Backed out changeset 5f9c5af66b77 (bug 1641270)
Backed out changeset dfeb879f4131 (bug 1641270)
Backed out changeset 143728b1b1ab (bug 1641270)
Backed out changeset 265ae2953416 (bug 1641270)
Backed out changeset 55ea7810c160 (bug 1641270)
Backed out changeset 7bef9112f296 (bug 1641270)
Backed out changeset 2663dc1e9a3e (bug 1641270)
Backed out changeset fcba6dba3649 (bug 1641270)
2020-11-11 13:10:11 +02:00
Tim Huang
6d038aa70c
Bug 1641270 - Part 6: Pass CookieJarSettings to nsIWebBrowserPersist.saveURI() and nsIWebBrowserPersist.savePrivacyAwareURI(). r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D95616
2020-11-10 20:43:03 +00:00
Simon Giesecke
a69d79b6db
Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D80860
2020-07-01 08:29:29 +00:00
Sylvestre Ledru
f3c69f480a
Bug 1519636 - Reformat recent changes to the Google coding style r=andi
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D73347
2020-05-09 14:51:53 +00:00
Emilio Cobos Álvarez
9a8c41776d
Bug 1635094 - Cleanup the ReferrerInfo code. r=ckerschb
...
The cast in InitWithNode is wrong. AsElement() asserts instead of
checking the flag, so we always pass an element (and if we didn't we'd
have type confusion problems). I audited the callers and we're fine.
Anyhow, always require an element, and add two convenience constructors
for C++ code.
Differential Revision: https://phabricator.services.mozilla.com/D73636
2020-05-04 18:50:20 +00:00
Cosmin Sabou
00d059a4c0
Backed out 2 changesets (bug 1635094) for build bustages on nsMacShellService.cpp. CLOSED TREE
...
Backed out changeset 0a2b0c6ea19a (bug 1635094)
Backed out changeset ead4f26f76ee (bug 1635094)
2020-05-04 20:04:06 +03:00
Emilio Cobos Álvarez
41fba10f7f
Bug 1635094 - Cleanup the ReferrerInfo code. r=ckerschb
...
The cast in InitWithNode is wrong. AsElement() asserts instead of
checking the flag, so we always pass an element (and if we didn't we'd
have type confusion problems). I audited the callers and we're fine.
Anyhow, always require an element, and add two convenience constructors
for C++ code.
Differential Revision: https://phabricator.services.mozilla.com/D73636
2020-05-04 16:26:51 +00:00
Haik Aftandilian
a91c1a8076
Bug 1629313 - Part 2 - Avoid setting the desktop background twice for each request on Mac r=smaug
...
Update the check in the OnStateChange() so that we only attempt to set the background image once.
Differential Revision: https://phabricator.services.mozilla.com/D71427
2020-04-21 21:58:30 +00:00
Haik Aftandilian
ccc8fec0cf
Bug 1629313 - Part 1 - Set As Desktop Background fails on macOS r=spohl
...
Change the nsMacShellService::SetDesktopBackground() implementation (specifically code in the OnStateChange handler) to use the Apple setDesktopImageURL API instead of Apple Events to allow the "Set As Desktop Background..." context menu option to work again.
Alternatively, to allow the AppleEvent-base implementation to work again, Firefox could be signed with the com.apple.security.automation.apple-events entitlement but this would also require the user to grant Firefox permission to control Finder. setDesktopImageURL requires Mac OS 10.6 or newer and hence was not an option originally.
The implementation only changes the background of the focused screen in the current workspace (which matches the behavior of Safari).
Differential Revision: https://phabricator.services.mozilla.com/D71426
2020-04-21 19:57:29 +00:00
Matthew Noorenberghe
dd27be4a2e
Bug 1615134 - Shell service API to open macOS Security & Privacy preferences panes. r=spohl
...
Example: Cc["@mozilla.org/browser/shell-service;1"].getService(Ci.nsIMacShellService).showSecurityPreferences("Privacy_AllFiles")
Differential Revision: https://phabricator.services.mozilla.com/D62690
2020-02-14 04:06:09 +00:00
Gijs Kruitbosch
fafe470c51
Bug 1526731 - pass content policy to webbrowserpersist to improve image request headers, r=smaug,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D60567
2020-01-23 08:36:00 +00:00
Gabriele Svelto
eeb9bfc398
Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ r=Ehsan
...
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.
find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
if [ -n "$interfaces" ]; then
if [[ "$interfaces" == *$'\n'* ]]; then
regexp="\("
for i in $interfaces; do regexp="$regexp$i\|"; done
regexp="${regexp%%\\\|}\)"
else
regexp="$interfaces"
fi
interface=$(basename "$path")
rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
if [ $hits -eq 0 ]; then
echo "Removing ${interface} from ${path2}"
grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
mv -f "$path2".tmp "$path2"
fi
done
fi
done
Differential Revision: https://phabricator.services.mozilla.com/D55443
2019-12-06 09:16:44 +00:00
Mark Banner
ba7ecdeeaf
Bug 324361 - Remove openApplication/openApplicationWithURI from the shell service as they aren't used. r=mossop
...
Keeps a function for opening the Mac desktop preferences.
Differential Revision: https://phabricator.services.mozilla.com/D43269
2019-08-27 08:03:12 +00:00
Thomas Nguyen
b29b902e64
Bug 1554947 - Update nsIWebBrowserPersist to use referrerInfo class instead of referrer and referrerr policy r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D33938
2019-07-16 18:02:16 +00:00
Dave Townsend
776ddb35dd
Bug 1522694: Add a toolkit level API for determining if this is the default instance of the application. r=mconley
...
This also switches around a few preprocessor lines to make more sense.
Differential Revision: https://phabricator.services.mozilla.com/D17557
2019-01-25 20:03:15 +00:00
Dave Townsend
9fddc4225c
Bug 1521902: Remove unused argument from nsIShellService.isDefaultBrowser. r=rstrong,chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D17281
2019-01-24 20:08:14 +00:00
shindli
8f36a99703
Backed out changeset 217865622f7a (bug 1521902) for an error in the code that will break telemetry
2019-01-22 23:28:48 +02:00
Dave Townsend
a05148414e
Bug 1521902: Remove unused argument from nsIShellService.isDefaultBrowser. r=rstrong
...
Differential Revision: https://phabricator.services.mozilla.com/D17281
2019-01-22 20:41:41 +00:00
Ehsan Akhgari
5530c0b72d
Bug 1514340 - Part 2: Break out the content blocking related notifications into nsIWebProgressListener.onContentBlockingEvent(); r=baku,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D16052
2019-01-21 09:58:50 -05:00
Emilio Cobos Álvarez
dc336a73ba
Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
...
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.
Overall it's not a very interesting patch I think.
nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.
I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.
While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Ehsan Akhgari
61fe3c0a09
Bug 1510911 - Part 2: Backout changeset f8849239da42 (bug 1493563 - Part 5) for regressing performance
2018-12-03 14:27:53 -05:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Gijs Kruitbosch
fa4965716a
Bug 1477669 - remove feed preview code and associated files/code, r=flod,mak,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D8524
2018-10-16 12:47:36 +00:00
Ehsan Akhgari
7bddc35620
Bug 1493563 - Part 5: Present the old state and the content blocking log to the web progress listeners; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6595
2018-09-28 14:46:02 -04:00
Noemi Erli
7fb8829472
Backed out 12 changesets (bug 1493563) for failures in test_css-logic-getCssPath.html CLOSED TREE
...
Backed out changeset d2e83655082f (bug 1493563)
Backed out changeset 1ce58f004593 (bug 1493563)
Backed out changeset 344298c73ee7 (bug 1493563)
Backed out changeset 02b8b073f7d7 (bug 1493563)
Backed out changeset 3ef707008502 (bug 1493563)
Backed out changeset bb2720a401fe (bug 1493563)
Backed out changeset ce0211be57a1 (bug 1493563)
Backed out changeset 83d6c2bf8dc6 (bug 1493563)
Backed out changeset 1844af4cc25b (bug 1493563)
Backed out changeset c8ab17addb7a (bug 1493563)
Backed out changeset a1ff0cd62563 (bug 1493563)
Backed out changeset 932b41e211e0 (bug 1493563)
2018-09-28 21:31:18 +03:00
Ehsan Akhgari
6c662bd61e
Bug 1493563 - Part 5: Present the old state and the content blocking log to the web progress listeners; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6595
2018-09-28 13:24:41 -04:00
Tiberius Oros
967e769da9
Backed out 11 changesets (bug 1493563) for failures on dom/workers/test/test_sharedworker_event_listener_leaks.html on a CLOSED TREE
...
Backed out changeset 0bb55b604bfd (bug 1493563)
Backed out changeset 8e25c301675a (bug 1493563)
Backed out changeset 4f608b8801d4 (bug 1493563)
Backed out changeset f58d0b1ca088 (bug 1493563)
Backed out changeset eae105f2bf6d (bug 1493563)
Backed out changeset 7a8a0d1cfd69 (bug 1493563)
Backed out changeset dbba8451aab1 (bug 1493563)
Backed out changeset a6141dbd0328 (bug 1493563)
Backed out changeset f4ca3d8fa90e (bug 1493563)
Backed out changeset 56bab7fae64d (bug 1493563)
Backed out changeset 66787e603401 (bug 1493563)
2018-09-26 06:16:22 +03:00
Ehsan Akhgari
d60107096d
Bug 1493563 - Part 5: Present the old state and the content blocking log to the web progress listeners; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6595
2018-09-25 21:02:51 -04:00
Tiberius Oros
5e5decf303
Backed out 11 changesets (bug 1493563) for failures on browser_blockingCookies.js on a CLOSED TREE
...
Backed out changeset d755b96837ac (bug 1493563)
Backed out changeset 651f87dca51f (bug 1493563)
Backed out changeset 68de8f0866d0 (bug 1493563)
Backed out changeset 205d69890f50 (bug 1493563)
Backed out changeset 5f922cd6c21e (bug 1493563)
Backed out changeset 84dc54c1a9c1 (bug 1493563)
Backed out changeset 287666ecdd17 (bug 1493563)
Backed out changeset c64a2ea15b7b (bug 1493563)
Backed out changeset 9085269938cd (bug 1493563)
Backed out changeset de06604fefcb (bug 1493563)
Backed out changeset f9bac5e73bd4 (bug 1493563)
2018-09-25 23:12:03 +03:00
Ehsan Akhgari
f2335f1a99
Bug 1493563 - Part 5: Present the old state and the content blocking log to the web progress listeners; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6595
2018-09-25 13:51:47 -04: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
Boris Zbarsky
4038e1d23f
Bug 1455674 part 17. Remove use of nsIDOMElement in non-dom non-JS code. r=qdot
2018-04-26 23:37:34 -04:00
Boris Zbarsky
9a8e024fa0
Bug 1455674 part 13. Remove remaining xpidl uses of nsIDOMElement. r=qdot
2018-04-26 23:37:29 -04:00
Nika Layzell
f614b85fbe
Bug 1443379 - Stop pretending cacheKey can be anything other than uint32_t, r=smaug
2018-04-10 17:49:46 -04:00
Kyle Machulis
d02dd47205
Bug 1406224 - Remove nsIDOMHTMLImageElement; r=bz
...
MozReview-Commit-ID: GCATWRt6qMo
2017-10-06 13:27:23 -07:00
Stephen A Pohl
467dd73061
Bug 1119088: Fix ability to set an image as desktop background via context menu on macOS. r=mstange,mconley
2017-08-09 14:43:39 -04:00
Sylvestre Ledru
9d4a84d778
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
2017-07-06 14:00:35 +02:00
Enes Goktas
9205ec54b0
Bug 1302855 - Fold browsercomps into xul; r=bsmedberg
...
MozReview-Commit-ID: 8oaVngXFfh3
2016-09-27 19:54:37 -07:00
Jared Wein
c3f27c3b0d
Bug 1238712 - Move duplicated shell-service code to a shared JSM. r=gijs
2016-01-15 12:35:15 -05:00
Jared Wein
83c49e4141
Bug 1225648 - Remove duplicate skipDefaultBrowser code and fix double-counting error when tracking prompt counts. r=Gijs
2015-11-18 11:37:29 -05:00
Jared Wein
39e8a487a7
Bug 1208000 - Default browser dialog appears only 2 times. r=Gijs
2015-09-24 14:18:00 +02:00
Jared Wein
c4afcb7809
Bug 1191250 - Defer showing the default browser prompt to 2nd run (and only show it a maximum of three times). r=jimm
2015-08-28 16:30:00 -04:00
Dragana Damjanovic
f5e3e71a6d
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen
b30abdc582
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Chris Peterson
17caf9cd3b
Bug 1171361 - Fix -Wunreachable-code-break warnings in shell/nsMacShellService.cpp. r=mak
2015-06-03 23:13:07 -07:00