Andrea Marchesini
a053cf1c15
Bug 1476306 - Moving NullPrincipal/ContentPrincipal/SystemPrincipal under mozilla namespace - part 1 - NullPrincipal, r=ckerschb
2018-07-17 21:37:48 +02:00
Kyle Machulis
5e51176ffa
Bug 1472087 - Remove nsDocShellLoadInfo::LoadTypes; r=nika
...
We have 2 different LoadType enums with two different values, which
have to be converted between depending on whether we're going to/from
LoadInfo/nsISHEntry/etc. We should be able to just use the same enum
everywhere and not have to deal with conversion, especially since we
don't have any type safety around the enum.
MozReview-Commit-ID: 2t9vVGLpOte
2018-07-11 20:19:18 -07:00
Kyle Machulis
7bbabca468
Bug 1472087 - Convert nsDocShellLoadInfo to WebIDL style; r=nika
...
While nsDocShellLoadInfo isn't represented by WebIDL (because we don't
need it in JS currently), make the getter/setter interface look
similar, just to keep consistent code style.
MozReview-Commit-ID: 3UfLR6jWVGK
2018-07-11 20:19:17 -07:00
Kyle Machulis
20ef963279
Bug 1472087 - Remove nsDocShell::CreateLoadInfo; r=nika
...
We can now just call new nsDocShellLoadInfo instead of worrying about
xpcom fallibility.
MozReview-Commit-ID: 80tHtBji1Vm
2018-07-11 20:19:16 -07:00
Kyle Machulis
17f492c9c1
Bug 1472087 - deCOMtaminate nsIDocShellLoadInfo; r=nika
...
Change all references from nsIDocShellLoadInfo to nsDocShellLoadInfo
MozReview-Commit-ID: AyKlZUtSEDD
2018-07-11 20:19:14 -07:00
Jan de Mooij
ef58e3064f
Bug 1474835 - Use implicit_jscontext for nsIWebNavigation.setOriginAttributesBeforeLoading. r=smaug
2018-07-11 15:23:54 +02:00
Mark Banner
42da21271d
Bug 1419704 - Remove nsIGlobalHistory2 and docshell's nsDownloadHistory as they are redundant. r=mak,bzbarsky
...
nsIGlobalHistory2 is not implemented by any mozilla-central nor comm-central applications, and hence can be removed. As a result, nsDownloadHistory's implementation can also be removed.
MozReview-Commit-ID: 5bQ2OHsV1Ky
Differential Revision: https://phabricator.services.mozilla.com/D1929
--HG--
extra : moz-landing-system : lando
2018-07-04 09:59:45 +00:00
Chris Peterson
2afd829d0f
Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
...
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b.
MozReview-Commit-ID: 5UQVHElSpCr
--HG--
extra : rebase_source : 4c1b2fc32b269342f07639266b64941e2270e9c4
extra : source : 907543f6eae716f23a6de52b1ffb1c82908d158a
2018-06-17 22:43:11 -07:00
Ben Kelly
05c034e494
Bug 1468853 Note inherited controller in the parent process when the service worker e10s pref is flipped. r=mrbkap
2018-06-22 07:22:59 -07:00
Valentin Gosu
a8e3a8c349
Bug 1448330 - Make nsIURI.clone a private method r=mayhemer
...
MozReview-Commit-ID: 1efpeaEPaXP
--HG--
extra : rebase_source : e660f1e5bcae9b7119bc5b37713691069272b375
2018-06-14 13:05:43 +02:00
Kyle Machulis
19e1f63d3f
Bug 1469430 - Remove unused nsDocShell::LoadStream; r=Nika
...
MozReview-Commit-ID: BbTMuZXKzsJ
--HG--
extra : rebase_source : 3d7533d6d46064c3b9a5ae2a492d4cc83df7e989
2018-06-15 11:18:40 -07:00
Andi-Bogdan Postelnicu
d9274aea61
Bug 1453795 - docshell - Initialize member fields in classes/ structures. r=smaug
...
--HG--
extra : rebase_source : 1b938af97a01037f5d51369319bfa326353a9aad
2018-06-18 10:23:57 +03:00
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
Andrea Marchesini
1273dc5391
Bug 1446933 - Remove 'using namespace mozilla::net' from BackgroundUtils.h, r=qdot
2018-05-30 21:21:17 +02: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
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
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
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
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
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
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
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
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
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
Nika Layzell
b286bc10d9
Bug 1443379 - Stop pretending cacheKey can be anything other than uint32_t, r=smaug
2018-04-10 17:49:46 -04:00
Nika Layzell
adc5b074cd
Bug 1434768 - Part 5: Add EvictLocalContentViewers to ChildSHistory, r=bz
2018-04-10 17:49:46 -04:00
Nika Layzell
8822e43271
Bug 1434768 - Part 2: Replace nsDocShell::mSessionHistory with ChildSHistory, r=bz
2018-04-10 17:49:45 -04:00
Gijs Kruitbosch
ab8c7381c6
Bug 1427726 - remove nsIJARChannel::isUnsafe and nsIDocShell::channelIsUnsafe, r=bz
...
MozReview-Commit-ID: 7XyRqzKDbsq
--HG--
extra : rebase_source : 34b73305fbea96d01ba44f7e97f82d05a6561b0d
2018-02-07 14:25:33 +00:00
Andreea Pavel
f9b34d3781
Backed out 5 changesets (bug 1427726) for failing linux asan at modules/libjar/test/unit/test_bug407303.js on a CLOSED TREE
...
Backed out changeset ee9abd6f1ba5 (bug 1427726)
Backed out changeset b1b76f9dff73 (bug 1427726)
Backed out changeset f41cf7811770 (bug 1427726)
Backed out changeset cb35e7b10235 (bug 1427726)
Backed out changeset 753ece6c9f1b (bug 1427726)
--HG--
rename : modules/libjar/test/mochitest/bug1173171.zip => modules/libjar/test/mochitest/bug403331.zip
rename : modules/libjar/test/mochitest/bug1173171.zip^headers^ => modules/libjar/test/mochitest/bug403331.zip^headers^
2018-04-11 12:46:20 +03:00
Gijs Kruitbosch
bf0070e2f6
Bug 1427726 - remove nsIJARChannel::isUnsafe and nsIDocShell::channelIsUnsafe, r=bz
...
MozReview-Commit-ID: 7XyRqzKDbsq
--HG--
extra : rebase_source : ad7994fd90f62a95e35043e147fd52f5e5b498c1
2018-02-07 14:25:33 +00:00
Andreea Pavel
26f640b36b
Backed out 4 changesets (bug 1366808) for Windows GPU leakchecks on a CLOSED TREE
...
Backed out changeset 23f60e5acaa2 (bug 1366808)
Backed out changeset bf2262b6aca8 (bug 1366808)
Backed out changeset 1fc82af3a155 (bug 1366808)
Backed out changeset 0649f0d9884b (bug 1366808)
2018-04-10 05:11:36 +03:00