Miko Mynttinen
4c85ef17cc
Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
...
MozReview-Commit-ID: HpdFXqQdIOO
--HG--
extra : rebase_source : 1e7eea4f2d4ec16ec0c559a8afb26976ddbf4d07
2018-06-01 17:59:07 +02:00
arthur.iakab
7e765f798b
Backed out 2 changesets (bug 1465060) for build bustages on security/sandbox/linux/reporter/SandboxReporter.cpp
...
Backed out changeset 7c8905b6b226 (bug 1465060)
Backed out changeset 10446073eca8 (bug 1465060)
2018-06-03 19:25:41 +03:00
Miko Mynttinen
8d9dc85cd4
Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
...
MozReview-Commit-ID: HpdFXqQdIOO
--HG--
extra : rebase_source : 619d0e0ff63a2453c80f0c4d9beb906d43fa9b01
2018-06-01 17:59:07 +02:00
Emilio Cobos Álvarez
fffb25b74f
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Andreea Pavel
5a5a03c800
Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
2018-05-31 13:07:31 +03:00
Andreea Pavel
38bcf897f1
Merge mozilla-inbound to mozilla-central. a=merge
2018-05-31 13:04:21 +03:00
Kate McKinley
fa06a45b28
Bug 1328695 - Use protocol flags to determine if a URI is potentially trustworthy r=ckerschb, r=dveditz, r=mcmanus, r=bz
...
Before this change, the trusted URI schemes, based on a string whitelist, were:
https, file, resource, app, moz-extension and wss.
This change removes "app" from the list (since we don't implement it),
and adds "about" to the list (because we control the delivery of that).
2018-05-31 07:51:42 +02:00
Andrea Marchesini
1273dc5391
Bug 1446933 - Remove 'using namespace mozilla::net' from BackgroundUtils.h, r=qdot
2018-05-30 21:21:17 +02:00
Felipe Gomes
f13df914b8
Bug 1463908 - Lazily instatiate the tooltip text provider. r=bz
...
MozReview-Commit-ID: Jj0BPiMOywc
--HG--
extra : rebase_source : 1ce19a494a054b63a0eb63788761246bc0aafeaf
2018-05-30 19:57:59 -03:00
Csoregi Natalia
83a923ef7a
Merge inbound to mozilla-central. a=merge
2018-05-30 12:25:03 +03:00
Boris Zbarsky
0a370c0291
Bug 1455676 part 6. Remove nsIDOMNode usage from docshell/. r=qdot
2018-05-29 22:58:48 -04:00
Boris Zbarsky
3b8785a733
Bug 1460735 part 2. Remove nsIDOMDocument. r=qdot
2018-05-29 13:39:06 -04:00
Marco Bonardo
4e62a21508
Bug 1463132 - New autofill threshold doesn't work well with redirects. r=adw
...
MozReview-Commit-ID: 9DqCWA2nGnz
--HG--
extra : rebase_source : 17e4cba78a34a7541d1ccc2345bff31e2d36fab5
2018-05-23 16:49:06 +02:00
Boris Zbarsky
bf36928a04
Bug 1463889 part 3. Get rid of nsIDOMWindowCollection. r=qdot
2018-05-24 23:32:19 -04:00
Andrea Marchesini
7dcc1b6880
Bug 1434553 - Implement nsIInputStreamLength and nsIAsyncInputStreamLength - part 9 - necko and docShell, r=mayhemer, r=smaug
2018-05-23 07:12:36 +02:00
Boris Zbarsky
02221942ef
Bug 894215 part 1. Change nsSHEntryShared to inherit from nsStubMutationObserver. r=smaug
2018-05-18 23:37:56 -04:00
James Willcox
48d39864ae
Bug 1462702 - Add about:crashparent and about:crashcontent r=ehsan
...
MozReview-Commit-ID: 4KurLWBZh6p
2018-05-18 17:12:43 -05:00
Adrian Wielgosik
c501e3beb0
Bug 1460940 - Clean up most remaining C++-side uses of nsIDOMDocument. r=bz
...
MozReview-Commit-ID: LKRnyDPNlle
--HG--
extra : rebase_source : a48b7c72a0f7ede38c91149a04d5de53987736f1
2018-05-11 19:46:15 +02:00
Marco Bonardo
c8e987256f
Bug 1460570 - Merge mozIAsyncFavicons into nsIFaviconService. r=standard8
...
MozReview-Commit-ID: JAxNj9MfcUI
--HG--
extra : rebase_source : b096792719a74fcf15909ce93f0d9341754009f6
2018-05-10 13:49:00 +02:00
Adrian Wielgosik
3db377af3a
Bug 1460734 - Remove macro DEBUG_DOCSHELL_FOCUS. r=bz
...
The code guarded by it doesn't compile.
MozReview-Commit-ID: IgIp4pv2OwX
--HG--
extra : rebase_source : e95bced218725b60149ed766f5f7b96c34449fae
2018-05-10 22:41:32 +02:00
Valentin Gosu
bd4365d7e7
Bug 1448058
- Remove nsIMutable from URI implementations r=mayhemer
...
* Also removes NS_TryToMakeImmutable, NS_TryToSetImmutable, URIIsImmutable
* NS_EnsureSafeToReturn, nsINetUtil.toImmutableURI
MozReview-Commit-ID: 5eFtFm2CQt7
--HG--
extra : rebase_source : 1f3d23ec646883e76844d42113bc1c71c01a1ad7
2018-05-09 18:21:24 +02:00
Jan Henning
29713de206
Bug 1335148 - Part 1: Dynamically determine content viewer count on Android, too. r=bz,snorp
...
The current limit of at most one bfcache entry on Android dates back to when
Fennec was built for the Nokia N810, which had a whopping 128 MB of memory.
Since a few years have passed since then and mobile device technology has
evolved considerably, it should be safe now to allow a little more than that.
Since web sites sizes might have grown somewhat as well compared to the figure
of 4MB mentioned in CalcMaxTotalViweres(), though and to be absolutely on the
safe side, we still tweak the formula when building for Android, though.
If in the worst case even those assumptions turn out too generous, we will still
be protected by the fact that
- we temporarily disable the bfcache when the OS signals memory pressure, and
- our contentViewerTimeout is set to a lower value than on Desktop, so bfcache
entries will expire sooner
MozReview-Commit-ID: 1A6d0Q6Mdx0
--HG--
extra : rebase_source : 9cc1f7abb1aef82ffc4d7987773ae7cf35440884
2018-03-29 21:51:13 +02:00
Stephen A Pohl
860c14b396
Bug 1366808: Properly detect buildID mismatches between parent and child processes and display about:restartrequired to prompt the user to restart Firefox before proceeding. r=jimm,felipe,bz
2018-05-08 10:31:44 -04:00
Chris Peterson
71422dcaa9
Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
...
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent
MozReview-Commit-ID: KuUsnVe2h8L
--HG--
extra : source : c14655ab3df2c9b1465dd8102b9d25683359a37b
2018-04-28 12:50:58 -07:00
Eugen Sawin
8b8e536452
Bug 1439013 - Fix assertion for real. r=me
2018-04-28 01:26:32 +02:00
Kris Maglione
a259026c9d
Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
...
This also removes any redundant Ci.nsISupports elements in the interface
lists.
This was done using the following script:
acecb401b7/processors/chromeutils-generateQI.jsm
MozReview-Commit-ID: AIx10P8GpZY
--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Eugen Sawin
112414b9d6
Bug 1439013 - Fix assertion. r=me
2018-04-27 23:49:38 +02:00
Eugen Sawin
b03149e8d0
Bug 1439013 - [1.2] Add isUserTriggered argument to nsILinkHandler and expose it as an internal load flag. r=smaug
2018-04-27 20:49:54 +02:00
Cosmin Sabou
68fdb6cf4f
Merge inbound to mozilla-central. a=merge
2018-04-27 13:04:36 +03:00
Boris Zbarsky
4783772a18
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
93af0eea13
Bug 1455674 part 14. Remove use of nsIDOMElement in layout. r=qdot
2018-04-26 23:37:33 -04:00
Boris Zbarsky
6bf97b61c0
Bug 1455674 part 13. Remove remaining xpidl uses of nsIDOMElement. r=qdot
2018-04-26 23:37:29 -04:00
Timothy Guan-tin Chien
c594214666
Bug 1450017 - Part IX, Move resizer style rules to minimal-xul.css and unify non-native resizer style r=dao
...
MozReview-Commit-ID: LEodr0aTPkM
--HG--
extra : rebase_source : 92c1b404ebbe64324f63ccbe1878575ae0309604
extra : source : a56127f3a7ed207da2a160362eb1bcf01bf31522
2018-04-10 21:31:25 +08:00
Kartikaya Gupta
fc66c485b6
Bug 1456882 - Enable some passing mochitests on linux64-qr. r=jrmuizel
...
MozReview-Commit-ID: 5VIHjwx6A2j
--HG--
extra : rebase_source : d986028cff52ba52a58887225e272bf04ad88de3
2018-04-25 11:29:07 -04:00
Adrian Wielgosik
b3c501adc4
Bug 1447389 - Remove nsIDOMNodeList. r=bz
...
MozReview-Commit-ID: 11szZP6dS6V
--HG--
extra : rebase_source : 9acfb352750e53d3b36684fa945a18e817c9b82e
2018-04-25 23:01:30 +02:00
Boris Zbarsky
0ba35d199f
Bug 1455052 part 8. Stop using nsIDOMEvent in docshell and dom. r=masayuki
...
MozReview-Commit-ID: ASkuyN3xSwB
2018-04-20 12:55:30 -04:00
Boris Zbarsky
72f940dafe
Bug 1429903 part 2. Stop using nsIDOMEventTarget in xpidl. r=mccr8
...
MozReview-Commit-ID: HQw7TyJUapY
2018-04-20 00:49:30 -04:00
Boris Zbarsky
01d792d54e
Bug 1455055 part 7. Clean up remaining HandleEvent implementations. r=masayuki
...
MozReview-Commit-ID: LezJYKK74H5
2018-04-20 00:49:30 -04:00
Boris Zbarsky
2b6097ae6d
Bug 1455055 part 1. Convert nsIDOMEventListener to taking an Event, not an nsIDOMEvent. r=masayuki
...
This does no cleanup other than what's needed to compile. Cleanup coming up in
later patches.
MozReview-Commit-ID: 3sOnkj71n09
2018-04-20 00:49:29 -04:00
Gijs Kruitbosch
1dbd3f74c6
Bug 1447341 - don't try to get a protocol handler for empty schemes, r=valentin
...
MozReview-Commit-ID: 3wJBC9TQsoV
--HG--
extra : rebase_source : d6581efc9c2cb75c51837c310a6f09cc88e14e64
2018-04-17 15:38:36 +01:00
Csoregi Natalia
12a8bddd95
Merge inbound to mozilla-central. a=merge
2018-04-18 00:52:25 +03:00
Nika Layzell
2f46444794
Bug 1453567 - Null-check rootSH in nsDocShell::AddState. r=bz, a=RyanVM
...
Looks like this accidentally got thrown out in the refactoring.
--HG--
extra : amend_source : 6a34a03d13f65ea70dd6fd73ff3527b8e7b374e2
2018-04-16 12:57:00 -04:00
Andrew Swan
68d8f5e967
Bug 1331521 Remove about:newaddon r=kmag
...
MozReview-Commit-ID: 6OFXGYEmSmy
--HG--
extra : rebase_source : 80ee72c190a2b2d06b895ad5bda22cc9b5849b01
2018-04-16 14:11:10 -07:00
Masatoshi Kimura
033d5b8ba2
Bug 1450538 - Use nsIURI::GetDisplaySpec to compensate a change to nsIURI::GetSpec. r=valentin
...
MozReview-Commit-ID: 5xYAbx78K3q
--HG--
extra : rebase_source : 963a823ca4164e0beec157838853ea541dfbdc4e
2018-04-14 10:29:36 +09:00
Jeff Walden
821db93ccc
Bug 1453456
- Replace nsCRT::IsAscii{Alpha,Digit} with mfbt/TextUtils.h versions. r=froydnj
...
--HG--
extra : rebase_source : b31986c0e6828be79442cfb0cf369eb80c232139
2018-04-12 20:19:30 -07:00
Olli Pettay
c16c8b5937
Bug 1452825, use smooth scrolling also for history navigations, r=bz
...
--HG--
extra : rebase_source : 562e0123597484851db6241912b7cd7e275078d9
2018-04-14 15:13:23 +03:00
Sebastian Hengst
0819f35e51
Backed out 4 changesets (bug 525063) on request from Andi. a=backout
...
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Andreea Pavel
29ba7b4974
Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
2018-04-11 17:40:37 +03:00
Andreea Pavel
4114ad2cfc
Merge mozilla-inbound to mozilla-central. a=merge
2018-04-11 17:36:09 +03:00
Tristan Bourvon
a3a77c0312
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00