Commit Graph

224 Commits

Author SHA1 Message Date
Bobby Holley
ba05c93769 Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor 2013-05-22 10:05:26 -06:00
Hsin-Yi Tsai
b330a42d63 Bug 823958 - DOM impl- Make sure event listeners will be notified when calls array is ready (part 2/4). r=bent 2013-05-09 18:44:13 +08:00
Hsin-Yi Tsai
cd9c4ac5e9 Bug 823958 - idl change - Add nsITelephonyListener::EnumerateCallStateComplete() (part 1/4). r=bent 2013-05-09 18:44:13 +08:00
Andrea Marchesini
0e20d68ea0 Bug 870856 - Convert DOMError to WebIDL. r=Ms2ger, r=bz 2013-05-18 13:52:06 -04:00
Szu-Yu Chen [:aknow]
edc1d2fd33 Bug 863281 - Part 4: Add test for emergency label. r=htsai.
---
 .../test/marionette/test_emergency_label.js        |  172 ++++++++++++++++++++
 1 file changed, 172 insertions(+)
 create mode 100644 dom/telephony/test/marionette/test_emergency_label.js
2013-05-14 14:11:47 +08:00
Szu-Yu Chen [:aknow]
eff9d4626e Bug 863281 - Part 3: Update emergency property for outgoing call. r=htsai, gyeh.
---
 dom/bluetooth/BluetoothTelephonyListener.cpp |    4 +++-
 dom/telephony/Telephony.cpp                  |   10 ++++++----
 dom/telephony/TelephonyCall.cpp              |   10 +++++++++-
 dom/telephony/TelephonyCall.h                |   10 +++++++++-
 4 files changed, 27 insertions(+), 7 deletions(-)
2013-05-14 14:08:07 +08:00
Szu-Yu Chen [:aknow]
829b35f9de Bug 863281 - Part 1: Add emergency property in TelephonyCall. r=htsai. sr=mounir.
---
 dom/telephony/nsIDOMTelephonyCall.idl  |    7 ++++++-
 dom/telephony/nsITelephonyProvider.idl |   10 +++++++---
 2 files changed, 13 insertions(+), 4 deletions(-)
2013-05-14 14:02:58 +08:00
Reuben Morais
9fdab01a57 Bug 862353 - Only enable mozSettings in B2G and mochitests. r=gwagner
--HG--
extra : rebase_source : 2b079aa6aca6a65516670cc5adcccf422b5e0261
2013-05-13 18:32:09 -07:00
Hsin-Yi Tsai
f573249777 Bug 869306 - Add call.isOutgoing for BT Cert. r=allstars.chh 2013-05-08 18:39:05 +08:00
David Zbarsky
a79bf02c5d Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
Rob Wood
3afbf2b758 Bug 811167 - Reduce failed test fallout by having WebTelephony tests cancel any existing calls at startup; r=jriffin 2013-04-26 10:44:26 -04:00
Rob Wood
6029013a9b Bug 849714 - Fix intermittent failure in outgoing_answer_hangup_oncallschanged; r=jgriffin 2013-04-24 12:38:19 -04:00
David Zbarsky
a0911f7978 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger 2013-04-19 18:18:33 -04:00
Boris Zbarsky
a295fe137f Bug 835643 part 4. Put in place all the infrastructure to switch EventListener to WebIDL codegen. r=smaug 2013-04-16 17:16:08 -04:00
Rob Wood
f326b326a3 Bug 844490 - Increase timeout for all WebAPI telephony tests, to fix intermittent timeout failures; r=jgriffin 2013-04-09 12:02:51 -04:00
Jose Cortes
e1b04f4398 Bug 842186 - Replace use of jsval with JS::Value in h and cpp files in the dom/telephony dom/bluetooth directories. r=jwalden
--HG--
extra : rebase_source : c1560ea8c79fbb398d3e8f132e561e7eba81520a
2013-04-02 16:06:14 -07:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Ms2ger
36911ab252 Bug 853158 - Update the uuid of nsIDOMEventTarget and subclasses. 2013-03-30 10:45:37 +01:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Hsin-Yi Tsai
2a5622125e Bug 849185 - part2 - test case. r=allstars.chh 2013-03-19 11:34:49 +08:00
Edgar Chen
38d5cd1c0b Bug 843614 - Part 2: Enable test_outgoing_busy. r=hsinyi 2013-02-22 13:17:00 +08:00
Edgar Chen
3bb355b5fc Bug 843614 - Part 1: Enable test_outgoing_badNumber. r=hsinyi 2013-02-18 16:59:02 +08:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Hsin-Yi Tsai
d13de328bf Bug 844767 - B2G RIL: correct telephony marionette test_outgoing_onstatechange.js. r=allstars.chh 2013-02-25 19:28:07 +08:00
Mike Shal
ec5b39bd8b Bug 818246 - Part 9: Move XPIDL_FLAGS to moz.build; r=gps 2013-03-11 22:05:00 -07:00
Mike Shal
2eb7c496cb Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
629b5d86c6 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Olli Pettay
8f72caeb73 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
Vicamo Yang
fecf389c8b Bug 834160 - Part 5/7: fix Telephony. r=smaug, f=htsai
--HG--
rename : dom/bluetooth/BluetoothRilListener.cpp => dom/bluetooth/BluetoothTelephonyListener.cpp
rename : dom/bluetooth/BluetoothRilListener.h => dom/bluetooth/BluetoothTelephonyListener.h
2013-03-06 17:53:23 +08:00
Vicamo Yang
7c2c94cc2a Bug 834160 - Part 1/7: Refactor RILContentHelper callback registration. Interface changes. r=allstars.chh,htsai f=mounir 2013-03-06 17:53:08 +08:00
Gregory Szorc
803629b9c6 Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc
3fd0b2c59d Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Ben Turner
4ab08498e6 Bug 832109 - 'crash in Telephony::RILTelephonyCallback::CallStateChanged'. r=jlebar. 2013-02-18 08:09:40 -08:00
Bobby Holley
2589449122 Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap 2013-02-26 11:04:13 -08:00
Vicamo Yang
f19a207980 Bug 833278 - Part 1/2: move voicemail sources to dom/voicemail. r=mounir
--HG--
rename : dom/telephony/Makefile.in => dom/voicemail/Makefile.in
rename : dom/telephony/Voicemail.cpp => dom/voicemail/Voicemail.cpp
rename : dom/telephony/Voicemail.h => dom/voicemail/Voicemail.h
rename : dom/telephony/VoicemailEvent.cpp => dom/voicemail/VoicemailEvent.cpp
rename : dom/telephony/VoicemailEvent.h => dom/voicemail/VoicemailEvent.h
rename : dom/telephony/nsIDOMVoicemail.idl => dom/voicemail/nsIDOMMozVoicemail.idl
rename : dom/telephony/nsIDOMVoicemailEvent.idl => dom/voicemail/nsIDOMMozVoicemailEvent.idl
rename : dom/telephony/nsIDOMVoicemailStatus.idl => dom/voicemail/nsIDOMMozVoicemailStatus.idl
rename : dom/telephony/nsIDOMNavigatorTelephony.idl => dom/voicemail/nsINavigatorVoicemail.idl
rename : dom/telephony/test/marionette/pdu_builder.js => dom/voicemail/test/marionette/pdu_builder.js
rename : dom/telephony/test/marionette/test_voicemail_number.js => dom/voicemail/test/marionette/test_voicemail_number.js
rename : dom/telephony/test/marionette/test_voicemail_statuschanged.js => dom/voicemail/test/marionette/test_voicemail_statuschanged.js
rename : dom/telephony/test/marionette/test_voicemail_statuschanged.py => dom/voicemail/test/marionette/test_voicemail_statuschanged.py
2013-02-05 17:02:15 +08:00
Kyle Machulis
8a6e862a23 Bug 777271 - Re-implement nsIDOMCallEvent using event implementation codegen. r=bent,vicamo,hsinyi 2013-01-28 15:39:50 +08:00
Vicamo Yang
26bfa0c2b8 Bug 826977 - Part 3/4: fix all related components as well. r=hsinyi 2013-01-24 14:42:10 +08:00
Trevor Saunders
b98e34aed0 bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Hsin-Yi Tsai
4a0703c8e6 Bug 821559 - Telephony: ASSERTION: Serious logic problem here. r=bent 2013-01-04 16:52:18 +08:00
Ms2ger
519fc6202b Merge PGO-green changeset from inbound to m-c. 2012-12-22 12:06:37 +01:00
Ms2ger
3eb0a0a781 Bug 823107 - Make nsIDOMEvent::SetTrusted return void; r=smaug 2012-12-22 09:18:08 +01:00
Jonathan Griffin
801d0ce6f5 Bug 820802 - Disable some telephony tests to try and fix the battery almost perma-oranges, a=test-only 2012-12-21 12:02:26 -08:00
Jonathan Griffin
159025194f Bug 821966 - Disable test_outgoing_onstatechange.js for frequent orange, a=bustage 2012-12-14 22:46:37 -08:00
Boris Zbarsky
dc404debca Bug 821958. Disable test_multiple_hold.js due to permaorange. a=busted CLOSED TREE 2012-12-14 23:29:19 -05:00
Jonathan Griffin
34cbc230d6 Bug 821927 - Disable test_redundant_operations.js due to semi-permaorange, a=bustage, CLOSED TREE 2012-12-14 16:23:38 -08:00
Ms2ger
b9aea0bb8c Bug 814898 - Part d: Cleanup CC goop in some more parts of dom/; r=mccr8 2012-12-02 09:54:51 +01:00
Olli Pettay
f62ac2c85e Bug 811206, Fix JSHolder drop handling, part 3 (fixes), r=mccr8,khuey
--HG--
extra : rebase_source : 7b2726d2aa7f5764a3c4cb750e5a735728069687
2012-11-28 03:37:57 +02:00
Rob Wood
4d35e4accf Bug 814691 - Develop WebTelephony test to verify cannot have multiple calls on hold simultaneously and update manifest. r=davehunt 2012-11-23 07:04:12 -08:00
Shian-Yow Wu
0aabdf9eb9 Bug 790463 - [B2G] several telephony tests often causes emulator to crash. r=jgriffin 2012-11-22 10:39:42 +08:00
Rob Wood
7b138d8dcc Bug 811442 - Fail out of WebTelephony tests if call(s) exist from previous test; r=jgriffin 2012-11-13 14:05:27 -08:00
Rob Wood
e1229d3a98 Bug 808783 - Disable remaining WebTelephony tests due to emulator crash. r=ahal 2012-11-16 11:56:29 -08:00
Rob Wood
0ac7079f94 Bug 808783 - Disable randomorange crashing telephony test. r=ahal 2012-11-15 11:49:12 -08:00
Benoit Jacob
f1d2a6dcb0 Bug 811926 - Fix a pair of TRAVERSE that were using NoteNativeChild on nsISupports* - simplify goop with helper CC macros - r=smaug 2012-11-15 14:31:56 -05:00
Benoit Jacob
bbe33540d5 Bug 806279 - fix bustage due to unusual CC macro usage in Telephony code, see bug 811926 - no review, bustage
This fix consists in taking the old definition of the TRAVERSE_NATIVE_PTR macro and expanding it inline,
as the new macros can't handle that unusual case (see bug 811926).

Because it is expaning inline the old macro, it shouldn't make any difference.
2012-11-15 02:54:08 -05:00
Benoit Jacob
5a8b82a1cb Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Rob Wood
3b0775c9f2 Bug 808783 - Disable crashing telephony test, r=ahal, DONTBUILD a=NPOTB 2012-11-12 08:14:00 -08:00
Andrew Halberstadt
451f6ddf77 Bug 808783 - Disable failing Mn tests, r=jgriffin 2012-11-06 09:17:39 -08:00
Jonathan Griffin
8cb4651c5a Bug 806138 - Disable permaorange test_voicemail_statuschanged.py, DONTBUILD(NPOTB) 2012-11-02 15:19:57 -07:00
Hsin-Yi Tsai
fd743ea612 Bug 804983 - WebTelephony API: DOM does not accurately handle an outgoing call. r=bent 2012-10-25 18:31:37 +08:00
Rob Wood
2ef541d69c Bug 803861 - Tests should wait for 'onalerting' event when making outgoing calls; r=jgriffin, DONTBUILD(NPOTB) 2012-10-20 17:33:42 -04:00
Hsin-Yi Tsai
06749ee6db Bug 783392 - RadioInterfaceLayer broadcasts radio-state information to all content processes. r=marshall_law 2012-10-09 18:07:11 +08:00
Jonathan Griffin
77f4820479 Bug 790463 - Disable test_outgoing_remote_hangup_held.js due to crashes, a=test-only, DONTBUILD(NPOTB) 2012-10-17 11:02:51 -07:00
Jonathan Griffin
e920997af0 Bug 790463 - Disable test_incoming_already_connected.js due to crash, a=test-only, DONTBUILD(NPOTB) 2012-10-17 10:22:16 -07:00
Gabriele Svelto
4772ae075b Bug 739780 - Switch Telephony.cpp to use nsTArrayHelpers.h implementation of nsTArrayToJSArray. r=khuey, r=mrbkap 2012-09-28 10:43:49 -07:00
Nathan Froyd
3c013d928f Bug 720768 - add nsDOMEventTargetHelper::DispatchTrustedEvent; r=mounir, sr=smaug 2012-09-27 16:11:31 -04:00
Isaac Aggrey
0cc4b12d36 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Rob Wood
b23e48c6e8 Bug 792494 - Develop WebTelephony tests to verify onstatechange events, and redundant operations, update manifiest; r=jgriffin, DONTBUILD (NPOTB) 2012-09-22 14:51:43 -04:00
Ryan VanderMeulen
fc5593cb87 Merge the last PGO-green inbound changeset to m-c. 2012-09-21 22:38:53 -04:00
Rob Wood
48c31df907 Bug 790991 - Develop a WebAPI test to verify swapping held and active calls, update manifest; r=jgriffin, DONTBUILD (NPOTB) 2012-09-20 11:43:21 -04:00
Mike Habicher
4f1885c23e Bug 776934 - Add permissions check to camera API. r=jlebar 2012-09-21 06:32:18 -04:00
Ms2ger
3b4f8a982f Bug 792343 - Enable FAIL_ON_WARNINGS in some more of dom/ (third batch); r=mounir 2012-09-20 09:55:36 +02:00
Ed Morley
e02f62ac99 Merge mozilla-central to mozilla-inbound 2012-09-17 20:20:56 +01:00
Jonathan Griffin
34b5351315 Bug 790463 - Disable test_outgoing_hold_resume.js, a=test-only, DONTBUILD because NPOTB 2012-09-17 10:48:42 -07:00
Rob Wood
3c09843253 Bug 790988 - Develop WebTelephony test to verify incoming call while have another call held, update manifest; r=jgriffin, DONTBUILD because NPOTB 2012-09-14 15:55:40 -04:00
Nathan Froyd
9b227bf10d Bug 786703 - fix dom/ build failures from introducing PARALLEL_DIRS; r=glandium 2012-09-11 07:47:42 -04:00
Kyle Huey
0baaffe99f Bug 687332: Part 2 - Move event handlers off of DOM objects and keep track of them solely in the event listener manager. r=smaug,bz 2012-08-30 20:45:16 -07:00
Rob Wood
6a76ab17b2 Bug 784509 - New telephony tests for B2G, r=jgriffin, DONTBUILD because NPOTB 2012-08-24 16:20:51 -07:00
Nathan Froyd
4c779437cc Bug 783357 - part 1: add XPIDL_FLAGS to make idl dependencies more explicit; r=khuey 2012-08-24 16:01:30 -04:00
Luke Wagner
ce71e55555 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Kyle Machulis
684686bee5 Bug 779378: B2G Voicemail: Hook up to permissions manager; r=gwagner 2012-08-23 16:31:02 -07:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Kyle Machulis
a72c6b98bc Bug 783431 - Fix js array initialization for bluetooth and telephony; r=mrbkap 2012-08-20 18:26:44 -07:00
Rob Wood
de080795c1 Bug 781548 - Add WebAPI tess for resuming held calls, r=jgriffin, DONTBUILD because NPOTB 2012-08-10 13:45:14 -04:00
Hsin-Yi Tsai
0d464108f4 Bug 779353 - part 2 - testcase: Telephony hook up to permissions manager. r=philikon 2012-08-07 11:01:18 +08:00
Hsin-Yi Tsai
931eb4df08 Bug 779353 - part 1 - B2G Telephony: Hook up to permissions manager. r=mounir 2012-08-06 15:33:37 +08:00
Hsin-Yi Tsai
82a24b2518 Bug 779217 - Intermittent test_outgoing_hangup_held.js: got OK, expected outbound to 5555552368 : unknown | got false, expected true. r=philikon 2012-08-03 12:08:15 +08:00
Ms2ger
cb4d106015 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
4eb11bee72 Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Ms2ger
b927c10310 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Kyle Machulis
f305d2c7de Bug 773370 - Fix rooting in JSArray creation for mozTelephony; r=bent 2012-08-01 18:52:40 -07:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Marshall Culpepper
7b68f92b47 Bug 776724: Voicemail tests now import ril_consts with Cu.import, fixing breakage when packaged with Marionette. r=philikon
--HG--
extra : rebase_source : fe3effc50ea11ee9a4292d127150b7bf92fb7634
2012-07-25 13:49:05 -05:00
Hsin-Yi Tsai
858cb70a91 Bug 765231 - Telephony: Implement dialEmergency() to limit call to emergency numbers. r=philikon 2012-07-20 20:08:24 +08:00
Marshall Culpepper
0b4c6a5665 Bug 773068 - Part 4: Marionette unit tests for Voicemail phone number API. r=vicamo 2012-07-20 20:19:38 -04:00
Marshall Culpepper
0eeb6ceb63 Bug 773068 - Part 2: Voicemail phone number DOM implementation. r=smaug 2012-07-20 20:19:38 -04:00
Marshall Culpepper
66699fe0dc Bug 773068 - Part 1: Voicemail phone number DOM API. sr=sicking 2012-07-20 20:19:38 -04:00
Marshall Culpepper
4bdd46e24a Bug 736710 - Part 4: Marionette unit tests for Voicemail API. r=vicamo 2012-07-19 11:27:35 +08:00
Marshall Culpepper
de4aa63592 Bug 736710 - Part 3: Voicemail DOM implementation classes. r=smaug 2012-07-19 11:27:19 +08:00