Matt Brubeck
6d0ac646c8
Bug 1487542 - Change LoadRequest.isUserTriggered to isRedirect. r=snorp,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D12370
2018-11-21 22:35:42 +00:00
Dorel Luca
492bd74cc1
Backed out changeset 31b5c6b8ef22 (bug 1487542) for apiling. CLOSED TREE
2018-11-21 22:35:24 +02:00
Matt Brubeck
545f44b8da
Bug 1487542 - Change LoadRequest.isUserTriggered to isRedirect. r=snorp,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D12370
2018-11-21 13:12:42 +00:00
Eugen Sawin
53020d5da6
Bug 1478171 - [1.0] Forward channel redirect to nsILoadURIDelegate to allow external handling. r=snorp,smaug
2018-10-31 16:16:28 -05:00
Gabriele Svelto
6036698e99
Bug 1503207 - Remove nsWeakPtr.h and cleanup all files including weak reference-related headers r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D10251
2018-10-31 20:39:03 +00:00
Mats Palmgren
a74087c391
Bug 1494745 part 1 - Don't check the result from ns[Auto]TObserverArray::AppendElement since it's infallible. r=bz
...
mChildList and mListenerInfoList are ns[Auto]TObserverArray which are
infallible, so no need to check the return value from AppendElement
(which a later patch in this series will remove).
2018-10-14 18:12:22 +02:00
Andrew McCreight
05b70f0bb6
Bug 1493737 - Fix many trivial calls to do_QueryInterface r=smaug
...
If class A is derived from class B, then an instance of class A can be
converted to B via a static cast, so a slower QI is not needed.
Differential Revision: https://phabricator.services.mozilla.com/D6861
2018-10-01 21:38:01 +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
Ehsan Akhgari
f7fd44ed21
Bug 1493563 - Part 4: Present the old state and the content blocking log to the security event sink; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6594
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
Ehsan Akhgari
b9e7cfe757
Bug 1493563 - Part 4: Present the old state and the content blocking log to the security event sink; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6594
2018-09-28 13:24:40 -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
Ehsan Akhgari
ddd218c43f
Bug 1493563 - Part 4: Present the old state and the content blocking log to the security event sink; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6594
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
Ehsan Akhgari
6bae9a7ff5
Bug 1493563 - Part 4: Present the old state and the content blocking log to the security event sink; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6594
2018-09-25 13:51:47 -04:00
Dylan Roeh
af0804d29d
Bug 1489257 - Backed out 3 changesets (bug 1441059, bug 1478171) for causing bug 1489257. r=me
...
Backed out changeset f7bd4f224f9a (bug 1441059 )
Backed out changeset e66e6bd82e3f (bug 1441059 )
Backed out changeset 94cfd6113ca7 (bug 1478171)
2018-09-13 12:27:23 -05:00
arthur.iakab
6079672082
Backed out changeset 16d2d6dc3cdf (bug 1489257)on request by droeh for causing geckowiev failures
2018-09-11 18:47:58 +03:00
Dylan Roeh
c6b369eb4c
Bug 1489257 - Backed out 3 changesets (bug 1441059, bug 1478171) for causing bug 1489257. r=me
...
Backed out changeset f7bd4f224f9a (bug 1441059 )
Backed out changeset e66e6bd82e3f (bug 1441059 )
Backed out changeset 94cfd6113ca7 (bug 1478171)
2018-09-10 16:15:31 -05:00
Dylan Roeh
80d6afdc89
Bug 1478171 - [1.0] Forward channel redirect to nsILoadURIDelegate to allow external handling. r=smaug,snorp
2018-08-21 12:52:39 -05:00
Masayuki Nakano
3f0e457959
Bug 1475461 - part 2: Make callers of PLDHashTable::Search() const methods if possible r=Ehsan
...
Some callers of PLDHashTable::Search() use const_cast, some others are not
const methods due to non-const PLDHashTable::Search().
This patch removes const_cast from the former and mark some methods of the
latter const.
MozReview-Commit-ID: C8ayoi7mXc1
2018-07-13 19:01:53 +09:00
Kris Maglione
0e9ef0c4fc
Bug 1463287: Add QueryInterface helper macro for concrete class types. r=bz
...
Using concrete class types with static IIDs in QueryInterface methods is a
pretty common pattern which isn't supported by any existing helper macros.
That's lead to separate ad-hoc implementations, with varying degrees of
dodginess, being scattered around the tree.
This patch adds a helper macro with a canonical (and safe) implementation, and
updates existing ad-hoc users to use it.
MozReview-Commit-ID: HaTGF7MN5Cv
2018-05-21 16:33:18 -07:00
Adrian Wielgosik
d769c32bfb
Bug 1460940 - Remove nsIDOMDocument uses in uriloader/. r=bz
...
MozReview-Commit-ID: LnXwludmiAn
2018-05-11 19:46:15 +02:00
Hiroyuki Ikezoe
b1da8534e8
Bug 1417354 - Introduce nsIDocument::GetPresContext(). r=smaug
...
It would be convenient to get nsPresContext from nsIDocument.
MozReview-Commit-ID: Ei6V3UE8XGr
2018-02-21 07:00:10 +09:00
Josh Matthews
d169301c59
Bug 1436743 - Dispatch events via the docgroup rather than the tabgroup when possible. r=mystor
2018-02-08 15:54:00 -05:00
Nika Layzell
20ee9a4927
Bug 1419597 - Part 18: Remove IsInnerWindow and IsOuterWindow methods, r=smaug
...
MozReview-Commit-ID: DAAm6tLubhJ
2017-11-23 13:12:13 -05:00
Nika Layzell
f098764c62
Bug 1401379 - Part 4: Be consistent with nsDocLoader's canonical ISupports, r=smaug
...
MozReview-Commit-ID: 5rBfa1LcESd
2017-11-01 11:06:30 -04:00
Nika Layzell
e9c8d1f228
Bug 1401379 - Part 1: Make nsDocShell and nsDocLoader cycle collected, r=smaug
...
MozReview-Commit-ID: Bui924n8Kvn
2017-11-01 11:06:24 -04:00
Ben Kelly
af094f866c
Bug 1391693 P2 Only validate docloader channel on redirect if its been set. r=smaug
2017-10-09 10:03:40 -07:00
Sebastian Hengst
1ce17aa2d6
Backed out changeset e83481bd6963 (bug 1401379) for failing wpt-reftest /infrastructure/reftest-wait.html and unexpected passes in /webvtt/ and leaks in browser-chrome, all on OS X and Windows. r=backout on a CLOSED TREE
2017-10-02 19:59:42 +02:00
Sebastian Hengst
9d84d02f38
Backed out changeset ef2dfdd829bc (bug 1401379)
2017-10-02 19:57:22 +02:00
Nika Layzell
33c59cfc2e
Bug 1401379 - Part 4: Be consistent with nsDocLoader's canonical ISupports, r=smaug
...
MozReview-Commit-ID: 5rBfa1LcESd
2017-10-02 11:58:02 -04:00
Nika Layzell
5e91cc36b5
Bug 1401379 - Part 1: Make nsDocShell and nsDocLoader cycle collected, r=smaug
...
MozReview-Commit-ID: Bui924n8Kvn
2017-10-02 11:58:01 -04:00
Nicholas Nethercote
be5f8887c1
Bug 1390428 (part 9) - Remove nsXPIDLCString. r=erahm.
...
This is straightforward, with only two notable things.
- `#include "nsXPIDLString.h" is replaced with `#include "nsString.h"`
throughout, because all nsXPIDLString.h did was include nsString.h. The
exception is for files which already include nsString.h, in which case the
patch just removes the nsXPIDLString.h inclusion.
- The patch removes the |xpidl_string| gtest, but improves the |voided| test to
cover some of its ground, e.g. testing Adopt(nullptr).
2017-08-17 15:29:03 +10:00
Nicholas Nethercote
723f585d9c
Bug 1386600 - Change nsIStringBundle methods to return |AString| instead of |wstring|. r=emk,sr=dbaron.
...
This removes about 2/3 of the occurrences of nsXPIDLString in the tree. The
places where nsXPIDLStrings are null-checked are replaced with |rv| checks.
The patch also removes a couple of unused declarations from
nsIStringBundle.idl.
Note that nsStringBundle::GetStringFromNameHelper() was merged into
GetStringFromName(), because they both would have had the same signature.
2017-08-04 14:40:52 +10:00
Bill McCloskey
59c11f59f4
Bug 1383328 - Use TabGroup as event target for browser-status-filter (r=smaug)
...
MozReview-Commit-ID: HOSmqr5Vpwh
2017-07-28 13:11:59 -07:00
Carsten "Tomcat" Book
6108f96293
Backed out changeset e3e924da5d5f (bug 1383328)
2017-07-28 09:20:05 +02:00
Bill McCloskey
5975cfac88
Bug 1383328 - Use TabGroup as event target for browser-status-filter (r=smaug)
...
MozReview-Commit-ID: HOSmqr5Vpwh
2017-07-25 19:52:36 -07:00
Ehsan Akhgari
d6c10457c0
Bug 1375573 - Part 2: Avoid creating an about:blank document in setupJSON() by creating a Window binding through exposing a getter for the inner window ID on nsIWebProgress; r=billm
2017-06-28 09:15:53 -04:00
Maxim Breev
d49301c484
Add a new flag to nsIWebProgressListener for redirects (bug 1342989). r=smaug
...
MozReview-Commit-ID: 5q29n6d3Iz8
2017-04-01 20:07:47 +03:00
Tom Tromey
a4b717ab39
Bug 1060419 - make log_print use Printf.h, r=froydnj
...
MozReview-Commit-ID: BIZ1GQEZ1vs
2016-12-15 20:16:31 -07:00
Julian Seward
5ac9dee54d
Bug 1232696 - Remove NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW as it causes segfaulting for GCC 6 builds (5 of 5, fixes for docshell/). r=bzbarsky.
2017-01-24 17:12:10 +01:00
Cameron McCormack
5f9911da79
Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
...
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
Gerald Squelart
9a3fb4229e
Bug 1316432 - Fix nsCOMPtr constructions&assignments from 0 - r=froydnj
...
Giving '0' (literal zero) to nsCOMPtr is now ambiguous, as both
nsCOMPtr(decltype(nullptr)) and nsCOMPtr(T*) could be used.
In any case, our coding standards mandate the use of 'nullptr' for pointers.
So I'm changing all zeroes into nullptr's where necessary.
MozReview-Commit-ID: LXiZTu87Ck6
2016-11-10 14:11:27 +11:00
Michael Layzell
829f88a6df
Bug 1018486 - Part 5: Changes in docshell/ and uriloader/, r=bz
...
MozReview-Commit-ID: GiyHWL3aaOv
2016-09-07 10:50:41 -04:00
Nicholas Nethercote
b5810a1eb4
Bug 1299384 - Use MOZ_MUST_USE with NS_warn_if_impl(). r=erahm.
...
This change avoids lots of false positives for Coverity's CHECKED_RETURN
warning, caused by NS_WARN_IF's current use in both statement-style and
expression-style.
In the case where the code within the NS_WARN_IF has side-effects, I made the
following change.
> NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
> -->
> Unused << NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
In the case where the code within the NS_WARN_IF lacks side-effects, I made the
following change.
> NS_WARN_IF(!condWithoutSideEffects);
> -->
> NS_WARNING_ASSERTION(condWithoutSideEffects, "msg");
This has two improvements.
- The condition is not evaluated in non-debug builds.
- The sense of the condition is inverted to the familiar "this condition should
be true" sense used in assertions.
A common variation on the side-effect-free case is the following.
> nsresult rv = Fn();
> NS_WARN_IF_(NS_FAILED(rv));
> -->
> DebugOnly<nsresult rv> = Fn();
> NS_WARNING_ASSERTION(NS_SUCCEEDED(rv), "Fn failed");
2016-09-02 17:12:24 +10:00
Wei-Cheng Pan
69063dae17
Bug 1293212 - Add MOZ_MUST_USE to prevent potential bugs. r=smaug
...
MozReview-Commit-ID: EuyeBkDlk2G
2016-08-08 18:16:15 +08:00
Phil Ringnalda
4ace8a106e
Back out 26a015091dbc (bug 1293212) for OS X failures in /html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.html
2016-08-15 19:42:54 -07:00