Граф коммитов

240 Коммитов

Автор SHA1 Сообщение Дата
Jim Chen 23c3c2e325 Bug 1323576 - Convert GeckoNetworkManager events to bundle events; r=sebastian
Convert "Wifi:Enable" and "Wifi:GetIPAddress" events to GeckoBundle
events. Use the UI thread because we do things like starting activities
and using system services, which are best done on the UI thread.
2016-12-18 08:10:18 -05:00
Andrew McCreight fccb0645ed Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
Nathan Froyd 826598caba Backout aba6c73511a2 (bug 1307961) for massive test bustage resulting in a CLOSED TREE; r=alltheorange 2016-12-12 08:45:46 -05:00
Andrew McCreight e31b5489da Bug 1307961 - require consistent bloatview reporting for nsISupports classes; r=froydnj 2016-12-12 07:58:33 -05:00
Shih-Chiang Chien b6996d911a Bug 1322605 - remove legacy TV 2.5 presentation device support. r=junior
MozReview-Commit-ID: kcXlIiWh0g

--HG--
extra : rebase_source : 377d8460d556e0e65f6971ddebb985d0aa8c75e3
2016-12-08 16:25:27 -10:00
Nathan Froyd 2ebbd09068 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
Phil Ringnalda 4a8366dabc Bug 1304934 - disable test_presentation_mixed_security_contexts.html on Android for constant failures, a=nnoyance 2016-11-17 21:34:35 -08:00
Andrea Marchesini 3120de1ea7 Bug 1315905 - Cleanup Necko http security check - part 2 - tests, r=valentin 2016-11-17 14:53:30 +01:00
Ehsan Akhgari 130dc996d0 Bug 1312101 - Part 1: Remove permission assertions through the message manager; r=baku
Since AddProcessChecker is going away, there's no point in these
permission checks any more.
2016-11-16 14:51:04 -05:00
Ehsan Akhgari eac76d9772 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Kan-Ru Chen f8100451db Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
KuoE0 8f59dc3a46 Bug 1316538 - [Presentation WebAPI] Test case for AndroidCastDeviceProvider, r=snorp
MozReview-Commit-ID: 3RU4toTdu36

--HG--
extra : rebase_source : 9eccb34cdd6b6de3cdac062435c4a96ab3a2968d
2016-11-03 18:06:48 +08:00
KuoE0 1ea270f7da Bug 1305352 - (Part 1) Make Presentation API support XUL browser element. r=smaug
MozReview-Commit-ID: 9t5mhvcbpXB

--HG--
extra : rebase_source : 50c65bf06aae1df6a17e9328315edf977ceada49
2016-10-27 11:27:41 +08:00
KuoE0 9bcac5fb98 Bug 1295087 - Implement PresentationDeviceProvider for Chromecast devices on Fennec. r=schien,smaug,snorp
MozReview-Commit-ID: 78eNnvAMCsq

--HG--
extra : rebase_source : 35f3c682da33d0c3c826cc53728a4b0e7762847c
2016-09-23 22:13:28 +08:00
Kershaw Chang c7e927dcd7 Bug 1259349 - Filter the device availability by URL. r=smaug
--HG--
extra : rebase_source : 7e03649e77fe63c5246988587b12293dcc65677a
2016-11-07 22:13:00 -05:00
Phil Ringnalda c7665e5342 Bug 1315867 - Disable test_presentation_sandboxed_presentation.html until its flaky use of setTimeout can be repaired 2016-11-07 20:32:24 -08:00
Sebastian Hengst 8a8717cf4c Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/presentation. r=RyanVM
MozReview-Commit-ID: DYwEDeD1ccf

--HG--
extra : rebase_source : d66c13dc814ef71e0e4dea34d9b179d6f40da522
2016-11-05 11:29:17 +01:00
Shih-Chiang Chien e1a55792f5 Bug 1314229 - return undefined/null for defaultRequest/receiver if not in corresponding UA or context. r=smaug.
MozReview-Commit-ID: KUWdfz1u55O

--HG--
extra : rebase_source : 8720563524bfd58f8be65d84cda48984f134f074
2016-11-02 17:53:31 +08:00
Shih-Chiang Chien 7f0bead091 Bug 1311375 - promise reject when there is an unsettled presentation start procedure. r=smaug
MozReview-Commit-ID: AL0QeyXBwzb

--HG--
extra : rebase_source : 4a80f8589a5f497747b754b6246ebecbf046ae2b
2016-10-31 15:49:32 +08:00
Shih-Chiang Chien 2e3eadd9df Bug 1291971 - Part 6, enable receiver idlharness test. r=smaug.
MozReview-Commit-ID: BDZ8daA2gpj

--HG--
extra : rebase_source : 70595ad9e8e56856c464fa12c2c2eeadc9e48063
2016-10-20 11:27:55 +08:00
Shih-Chiang Chien f0a72d6d59 Bug 1291971 - Part 4, enable controller startNewPresentation_error test. r=smaug.
MozReview-Commit-ID: 51dfCphD0XJ

--HG--
extra : rebase_source : 41fdcef117c34fe45588ee8f4f71f99ed2987748
2016-10-04 09:00:10 +02:00
Shih-Chiang Chien e51e9349e9 Bug 1291971 - Part 1, enable controller idlharness test. r=smaug.
MozReview-Commit-ID: bDuOdLpPDh

--HG--
rename : dom/webidl/PresentationConnectionClosedEvent.webidl => dom/webidl/PresentationConnectionCloseEvent.webidl
extra : rebase_source : eca8bec6b6200247fbc9c743c13822f02373cc3d
2016-10-04 00:22:34 +02:00
Phil Ringnalda 0a5faee022 Merge m-c to autoland 2016-10-25 22:08:13 -07:00
Shih-Chiang Chien 29f62bce5f Bug 1311944 - notify device disconnect only when session termination. r=smaug
MozReview-Commit-ID: JNVDv3L2r6t

--HG--
extra : rebase_source : fee7609838a3c0f4b681f9ee9daed5857addeccf
2016-10-24 19:11:26 +08:00
Andrea Marchesini fa19ea68e4 Bug 1312412 - Introducing BlobImplString, r=smaug 2016-10-25 07:53:54 +02:00
Andrea Marchesini c11a158627 Bug 1310967 - Update MessageEvent to the latest spec, r=smaug 2016-10-25 07:48:05 +02:00
Sebastian Hengst 1d68ef32e7 Backed out changeset 1fc115bbc7be (bug 1310967) for failing test_messageEvent_init.html. r=backout 2016-10-24 19:14:38 +02:00
Andrea Marchesini 1a3cb83d92 Bug 1310967 - Update MessageEvent to the latest spec, r=smaug 2016-10-24 17:10:46 +02:00
Valentin Gosu d067aeed39 Bug 1305204 - (Part 4) Comment out test with pseudo-bad URL r=me
MozReview-Commit-ID: DoYEKqgZUnk
2016-10-23 14:24:54 +02:00
Wes Kocher 8f8236ba1e Backed out 2 changesets (bug 1310967) for failures in messageEvent tests a=backou
Backed out changeset dac69b2b8d26 (bug 1310967)
Backed out changeset 133feae49330 (bug 1310967)
2016-10-18 10:53:44 -07:00
Andrea Marchesini 8349366911 Bug 1310967 - Update MessageEvent to the latest spec, r=smaug 2016-10-18 18:19:59 +02:00
Ehsan Akhgari 80ad2ce758 Bug 1310436 - Remove support for verifying the presence of app in the presentation API; r=baku 2016-10-17 10:05:12 -04:00
Andi-Bogdan Postelnicu a432ae70da Bug 1301333 - Add mark-initialisation-func annotation to function Init from PresentationReceiver. r=baku
MozReview-Commit-ID: JNCBpgHjhs1
2016-10-14 17:18:26 +03:00
Andrea Marchesini 4f20f137bf Bug 1309139 - Get rid of NS_NewDOMMessageEvent, r=smaug 2016-10-12 15:17:10 +02:00
Brad Werth 85d6a9d42e Bug 1307896 - Fixed spelling of "receive" in the assert messages. r=jdm
MozReview-Commit-ID: HdHQFV9yXG3

--HG--
extra : rebase_source : 9058c573ad5a41931e67fbe8d3ea84e7a5a6f67e
2016-10-05 12:16:02 -07:00
Wes Kocher 5a2fb874ca Merge inbound to central, a=merge 2016-10-04 17:32:01 -07:00
Sebastian Hengst 0f952f34dd Bug 1306397 - Remove B2G event 'network-active-changed' and consumers from non-B2G/Gonk files: dom/presentation. r=schien
MozReview-Commit-ID: 1tTdMntEo54

--HG--
extra : rebase_source : 6337b60928644891cd7f4e6fe3018c7eda5fa978
2016-09-29 19:53:44 +02:00
Kershaw Chang b65ed86652 Bug 1301259 - Part2: Close the connected/connecting connection before starting reconnecting, r=smaug 2016-09-28 23:35:00 +02:00
Kershaw Chang b542b56122 Bug 1301259 - Part1: Move session info structures to PresentationServiceBase class, r=smaug 2016-09-28 23:35:00 +02:00
Kershaw Chang ce09635b3d Bug 1268993 - Null check for mBuilder, r=smaug
---
 dom/presentation/ipc/PresentationBuilderChild.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2016-09-24 19:11:01 +02:00
Chun-Min Chang 1aa09604f6 Bug 1306210 - Expose the principal of the device request. r=smaug
MozReview-Commit-ID: ihzebnIUUU

--HG--
extra : rebase_source : c7e5b989bb44170b680dd174648b5afc8cc9054d
2016-10-04 14:27:05 +08:00
Kershaw Chang 6c373070a1 Bug 1228474 - Support sending blob/arraybuffer for data channel. r=smaug 2016-09-17 19:42:00 -04:00
Kershaw Chang 5bb5c52b40 Bug 1299040 - Implement transport builder constructor. r=smaug 2016-09-16 08:59:00 -04:00
Phil Ringnalda 069b27b0aa Backed out changeset e684bf18e5d9 (bug 1299040) for bad implicit conversion constructor bustage
CLOSED TREE
2016-09-15 19:31:32 -07:00
Kershaw Chang 048198ad45 Bug 1299040 - Implement transport builder constructor. r=smaug 2016-09-15 07:09:00 -04:00
Shih-Chiang Chien db74baa4e1 Bug 1264110 - fix timing issue in test cases. r=kershaw.
MozReview-Commit-ID: 2Ia4L7EizrA

--HG--
extra : rebase_source : dda92d84e51a124d5820176d36cada7c20bfad2e
2016-09-05 18:18:11 +08:00
Nicholas Nethercote 34dcc7b852 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");

--HG--
extra : rebase_source : 58788245021096efa8372a9dc1d597a611d45611
2016-09-02 17:12:24 +10:00
Chun-Min Chang 50ceb41bab Bug 1299061 - Expose the browser that the request was originated in; r=smaug
MozReview-Commit-ID: 2iFQiYeoxBh

--HG--
extra : rebase_source : c516a7d8cc70c85c0303e27d07854808fe9192aa
2016-08-31 20:56:17 +08:00
KuoE0 f426111737 Bug 1300492 - Fix typo in PresentationDeviceManager::GetAvailableDevices, r=smaug
MozReview-Commit-ID: DVs5uJUA6H5

--HG--
extra : rebase_source : ce54fd38d8c5781e9103b45d1fd0848b2c59255c
2016-09-05 16:52:59 +08:00
Kershaw Chang 4317633349 Bug 1288297 - Construct PresentationRequest with multiple URLs, r=smaug 2016-09-05 01:17:00 +02:00