Kris Maglione
7e3b82a9eb
Bug 1462964: Remove obsolete nsIDOMBlob interface. r=bz
...
MozReview-Commit-ID: 2HIlaSrvfBe
2018-05-21 17:32:44 -07:00
Boris Zbarsky
0151a30a4d
Bug 1444143 part 2. Remove nsIFrameLoader::GetDocShell. r=mystor
...
The change from "docShell" to "mDocShell" for the SetName call in the
OwnerIsMozBrowserFrame case in nsFrameLoader::MaybeCreateDocShell is a
drive-by correctness fix for a bug the rename of "docShell" to "parentDocShell"
caught: setting the name of our _parent_ docshell based on the name attr of our
owner makes no sense.
MozReview-Commit-ID: DwnWt8jTokV
2018-03-21 22:43:15 -04:00
Nika Layzell
5d2b3a7e28
Bug 1414974 - Part 3: Move Get{Inner,Outer}WindowWithId onto the specific subclasses, r=smaug
...
These were originally exposed directly as static methods on nsGlobalWindow, but
as they are clearly associated with either the inner or outer window, it makes
more sense for them to be called as such.
MozReview-Commit-ID: LFq8EfnhDlo
2017-11-09 10:44:47 -05:00
Andrew McCreight
2c2e9cbbbe
Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot
...
This was automatically generated by the script modeline.py.
MozReview-Commit-ID: BgulzkGteAL
2017-10-26 15:08:41 -07:00
Masatoshi Kimura
e29c3d5a3e
Bug 1313150 - Remove |weak| parameter from nsIMutableArray methods. r=froydnj
...
MozReview-Commit-ID: 7JoD4VYzZp3
2017-10-21 23:53:02 +09:00
Kris Maglione
7cdbf75d48
Bug 1404198: Part 2i - Switch to NS_NewTimer* in dom. r=njn
...
MozReview-Commit-ID: 8Oei6TuXNbu
2017-10-15 23:15:40 -07:00
Chung-Sheng Fu
19d22d7759
Bug 1382533 - Disable Presentation API when privacy.resistFingerprinting = true r=arthuredelstein,smaug
...
MozReview-Commit-ID: IDKEqSqm9Ug
2017-08-09 17:38:30 +08:00
Bevis Tseng
59627df038
Bug 1382172 - Name nsITimerCallback instances in native implementation. r=billm
2017-07-27 02:18:20 +08:00
Nicholas Nethercote
e892cd86c4
Bug 1382099 - Remove MOZ_WIDGET_GONK from several dom/ subdirectories. r=mccr8,jdm.
...
As well as the obvious #ifdef stuff, the patch removes
TCPSocket::SetAppIdAndBrowser(), which means
{TCPSocketParent,TCPServerSocketParent}::{GetAppId,GetInIsolatedMozBrowser}()
can also be removed.
2017-07-21 10:52:44 +10:00
Boris Zbarsky
7988d1ba67
Bug 1371259 part 3. Change UnwrapObject<> and the UNWRAP_OBJECT macro to allow passing in mutable object or value handles for the thing being unwrapped, and do so at various callsites. r=peterv
...
I did audit all UNWRAP_OBJECT callers to make sure that the lifetimes of all the
temporary Rooted or the RefPtrs they unwrap into are long enough.
2017-07-10 16:05:24 -04:00
Bill McCloskey
ce42826bdf
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book
238bf154d5
Backed out changeset 4f6302a98ae4 (bug 1372405)
2017-06-21 13:59:26 +02:00
Bill McCloskey
67e8af4720
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
bbe9441993
Backed out changeset 9846de3bd954 (bug 1372405)
2017-06-20 08:27:02 +02:00
Bill McCloskey
f69608368b
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07: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
Nathan Froyd
b995466f21
Bug 1320752 - remove mozilla/Function.h; r=gerald
...
We have std::function available now, which is likely to be somewhat more
efficient.
2016-11-28 11:03:53 -05:00
KuoE0
332cef1891
Bug 1305352 - (Part 1) Make Presentation API support XUL browser element. r=smaug
...
MozReview-Commit-ID: 9t5mhvcbpXB
2016-10-27 11:27:41 +08:00
Shih-Chiang Chien
d3928d343e
Bug 1311944 - notify device disconnect only when session termination. r=smaug
...
MozReview-Commit-ID: JNVDv3L2r6t
2016-10-24 19:11:26 +08:00
Kershaw Chang
fedb43540b
Bug 1301259 - Part2: Close the connected/connecting connection before starting reconnecting, r=smaug
2016-09-28 23:35:00 +02:00
Kershaw Chang
85815f337e
Bug 1228474 - Support sending blob/arraybuffer for data channel. r=smaug
2016-09-17 19:42:00 -04:00
Kershaw Chang
b6c3ca6e76
Bug 1299040 - Implement transport builder constructor. r=smaug
2016-09-16 08:59:00 -04:00
Phil Ringnalda
2f505ce078
Backed out changeset e684bf18e5d9 (bug 1299040) for bad implicit conversion constructor bustage
...
CLOSED TREE
2016-09-15 19:31:32 -07:00
Kershaw Chang
c9efa4f714
Bug 1299040 - Implement transport builder constructor. r=smaug
2016-09-15 07:09:00 -04:00
Shih-Chiang Chien
b883ae155c
Bug 1264110 - fix timing issue in test cases. r=kershaw.
...
MozReview-Commit-ID: 2Ia4L7EizrA
2016-09-05 18:18:11 +08: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
Kershaw Chang
34a666a2d9
Bug 1288297 - Construct PresentationRequest with multiple URLs, r=smaug
2016-09-05 01:17:00 +02:00
Kershaw Chang
3e001e2b42
Bug 1298360 - Separate session id and window id mapping into two parts. r=smaug
2016-08-29 19:40:00 -04:00
Wes Kocher
bad19898b2
Merge inbound to central, a=merge
2016-08-17 16:38:41 -07:00
Kershaw Chang
fa7cd59cea
Bug 1295063 - Send reconnect command when NotifyConnected. r=smaug
2016-08-16 19:32:00 -04:00
Shih-Chiang Chien
a7a1a7d679
Bug 1284188 - use nsINetworkInfoService to obtain self IP address. r=smaug.
...
MozReview-Commit-ID: 1QwjrkV9cEk
2016-08-12 15:27:33 +08:00
Michael Layzell
5090889a3e
Bug 1293001 - Part 1: Change the BinaryName of nsIFrameLoaderOwner::frameLoader (which overloaded another virtual method) to FrameLoaderXPCOM, r=froydnj
...
MozReview-Commit-ID: Db3z2DP5qba
2016-08-11 15:49:39 -04:00
Shih-Chiang Chien
1822d8c190
Bug 1292057 - add NSPR log for Presentation API. r=kershaw
...
MozReview-Commit-ID: Ko1BrG99Uqj
2016-08-15 18:26:13 +08:00
Shih-Chiang Chien
c161a12bc0
Bug 1287717 - Part 2, close receiver page while loading fail. r=smaug.
...
MozReview-Commit-ID: Dogham2LmHG
2016-08-04 09:46:14 +08:00
Shih-Chiang Chien
125761ee2f
Bug 1287717 - Part 1, enter closed state while fail to connect. r=smaug.
...
MozReview-Commit-ID: L3gacVfSlcd
2016-08-02 18:40:00 +02:00
Kershaw Chang
4f6cef49d3
Bug 1197690 - Part2: Implement reconnect, r=smaug
2016-08-02 19:11:00 +02:00
Shih-Chiang Chien
5667f0ede7
Bug 1289292 - Shutdown session info while fail to establish control channel. r=smaug
2016-07-27 18:53:00 -04:00
Shih-Chiang Chien
d1736335bc
Bug 1276378 - Part 2: Implement PresentationConnection.terminate(). r=smaug
...
MozReview-Commit-ID: 7GqgIdsuM3f
2016-06-14 08:15:07 +01:00
Shih-Chiang Chien
987284012b
Bug 1272197 - Part 5, rename callback functions in nsIPresentationControlChannel.idl. r=junior
...
MozReview-Commit-ID: cvavmuUxeX
2016-07-12 10:16:46 +08:00
Shih-Chiang Chien
183fa56f2e
Bug 1272197 - Part 2, implement start presentation procedure. r=junior
...
MozReview-Commit-ID: 6RwrwfPpCuR
2016-07-04 18:12:04 +08:00
Junior Hsu
b21fb63142
Bug 1264513 - Part 2: PPresentationBuilder.ipdl changes - OOP handling for builder, r=smaug
2016-06-03 14:48:26 +08:00
Junior Hsu
73e04640f5
Bug 1264513 - Part 1: IPresentationSessionTransportBuilder.idl changes - necessary refactory in in-proc data channel handling, r=smaug
2016-06-03 14:48:26 +08:00
Kershaw Chang
817ba01559
Bug 1258600 - Part2: Implement onconnect, onclose and onterminate event handlers, r=smaug
2016-05-30 08:48:00 +02:00
Kershaw Chang
a248d5b53e
Bug 1258602 - Part3: Changes for making the initial state to “connecting”, r=smaug
2016-05-29 23:01:00 +02:00
Kyle Huey
b972c94d0f
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Carsten "Tomcat" Book
aadd508ffe
Backed out changeset 85ce8cb0639a (bug 1268313)
2016-04-29 14:21:16 +02:00
Kyle Huey
e62a0823c9
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
KuoE0
879c0422bd
Bug 1208417 - Part 1 - Add disconnect to nsIPresentationDevice & add a new nsIPresentationLocalDevice interface for 1-UA device, r=smaug
2016-04-28 15:05:16 +08:00
KuoE0
c76e780de0
Bug 1234492 - Part 2 - Use the role definition in nsIPresentationService, r=smaug
2016-04-18 02:23:00 +02:00
KuoE0
8434496296
Bug 1234492 - Part 1 - Add direction in PresentationService, r=smaug
...
Conflicts:
dom/presentation/PresentationConnection.cpp
dom/presentation/PresentationService.cpp
dom/presentation/interfaces/nsIPresentationService.idl
dom/presentation/ipc/PPresentation.ipdl
dom/presentation/ipc/PresentationIPCService.cpp
dom/presentation/ipc/PresentationParent.cpp
2016-04-18 02:19:00 +02:00