Commit Graph

49 Commits

Author SHA1 Message Date
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
7396d0b5a7 Bug 1429903 part 2. Stop using nsIDOMEventTarget in xpidl. r=mccr8
MozReview-Commit-ID: HQw7TyJUapY
2018-04-20 00:49:30 -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
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
Andrew Osmond
7802c88bca Bug 1367150 - Do not attempt to create PresentationChild if ContentChild is shutting down. r=ehsan 2017-05-25 06:43:59 -04: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
Kershaw Chang
d4140b5e9b Bug 1259349 - Filter the device availability by URL. r=smaug 2016-11-07 22:13:00 -05:00
Chun-Min Chang
122ad655ff Bug 1306210 - Expose the principal of the device request. r=smaug
MozReview-Commit-ID: ihzebnIUUU
2016-10-04 14:27:05 +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
99505ba609 Bug 1301259 - Part1: Move session info structures to PresentationServiceBase class, 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
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
Chun-Min Chang
6b68e26ca9 Bug 1299061 - Expose the browser that the request was originated in; r=smaug
MozReview-Commit-ID: 2iFQiYeoxBh
2016-08-31 20:56:17 +08:00
Kershaw Chang
34a666a2d9 Bug 1288297 - Construct PresentationRequest with multiple URLs, r=smaug 2016-09-05 01:17:00 +02:00
Shih-Chiang Chien
af3a85e44b Bug 1228508 - Part 1, create new availability object for each getAvailability(). r=smaug.
MozReview-Commit-ID: 8DjlW3C58Tz
2016-08-31 10:31:15 +08: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
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
Kershaw Chang
4f6cef49d3 Bug 1197690 - Part2: Implement reconnect, r=smaug 2016-08-02 19:11:00 +02: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
Junior Hsu
b21fb63142 Bug 1264513 - Part 2: PPresentationBuilder.ipdl changes - OOP handling for builder, 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
0322c53584 Bug 1267965 - Part2: Store responding window ID and session ID in parent process. r=smaug 2016-05-25 02:20:00 +02:00
Kershaw Chang
c90010823c Bug 1267965 - Part1: Move duplicate code into PresentationServiceBase. r=smaug 2016-05-25 02:19: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
Ryan VanderMeulen
e6e0857e41 Backed out 3 changesets (bug 1234492) for frequent OSX test_presentation_dc_receiver.html failures.
Backed out changeset 94ec70bf8c22 (bug 1234492)
Backed out changeset ac0e65743b5d (bug 1234492)
Backed out changeset 801cac365dd9 (bug 1234492)
2016-04-24 18:50:55 -04:00
KuoE0
6a84e01e73 Bug 1234492 - Part 1: Add direction in PresentationService. r=smaug 2015-11-27 16:06:32 +08:00
Junior Hsu
a0e7fcd75d Bug 1148307 - Part 4, use data channel in substitution for TCP session transport (in-process), r=smaug 2016-04-11 11:20:55 +08:00
Junior Hsu
168111d292 Bug 1148307 - Part 2, let session transport send DOM string. r=smaug 2016-04-11 11:20:55 +08:00
Sebastian Hengst
cd7dbf8185 Backed out changeset dfe4cc7062d1 (bug 1148307) 2016-04-11 13:12:26 +02:00
Sebastian Hengst
3f59d3b216 Backed out changeset 3cb658c3e3f9 (bug 1148307) 2016-04-11 13:12:13 +02:00
Junior Hsu
75501f4251 Bug 1148307 - Part 4 - use data channel in substitution for TCP session transport (in-process), r=smaug 2016-04-11 11:20:55 +08:00
Junior Hsu
62649df93f Bug 1148307 - Part 2 - let session transport send DOM string. r=smaug 2016-04-11 11:20:55 +08:00
Shih-Chiang Chien
5dc7740f07 Bug 1239242 - support PresentationRequest.startWithDevice(). r=smaug. 2016-01-13 19:21:25 +08:00
chunminchang
e455b58730 Bug 1226144 - Free sessionId after using it. r=selin 2015-11-26 02:39:00 +01:00
Sean Lin
9f01d73942 Bug 1205219 - [Presentation WebAPI] Support terminate semantics. Part 1 - WebIDL & implementation changes. r=smaug 2015-10-08 18:11:10 +08:00
Sean Lin
6552fa730a Bug 1192101 - Part 2 - Support PresentationRequest / PresentationAvailability / getSession(s). Part 2 - Change notification & event dispatching. r=smaug 2015-09-10 16:29:08 +08:00
Sean Lin
e0dcd0f1b9 Bug 1192101 - Part 1 - Support PresentationRequest / PresentationAvailability / getSession(s). Part 1 - WebIDL Bindings. r=smaug 2015-09-14 10:39:57 +08:00
Sean Lin
608227122d Bug 1192727 - Improve the way that Presentation receiver gets the ID of the incoming session. r=smaug 2015-08-31 13:24:35 +08:00
Sean Lin
546a97188e Bug 1069230 - Presentation API implementation. Part 5 - Establish session (receiver). r=smaug 2015-03-30 15:46:11 +08:00
Sean Lin
e052188bbf Bug 1069230 - Presentation API implementation. Part 3 - IPC. r=smaug 2015-03-26 11:16:21 +08:00