Commit Graph

601 Commits

Author SHA1 Message Date
Edgar Chen
70416f088e Bug 843452 - Part 4-3: [MMS] Get voiceInfo via MobileConnectionService. r=vicamo 2014-07-01 18:47:29 +08:00
Vicamo Yang
acdc844938 Bug 878533 - 2/3: fix test cases. r=gene, r=smaug 2014-08-28 11:00:03 +08:00
Vicamo Yang
b479b9fef1 Bug 878533 - 1/3: move MozSmsFilter to webidl dictionary. r=smaug 2014-08-28 11:00:03 +08:00
Jim Chen
3dcbdea53a Bug 1056941 - Fix dangerous destructors in Fennec code; r=blassey 2014-08-26 15:07:59 -04:00
Bevis Tseng
4822dc909a Bug 1032097 - Part 6: Adopt addHostRoute/removeHostRoute in MmsService. r=vyang
--HG--
extra : rebase_source : 40e3bd49a844085940abfc29319bf69e1ca9dbda
2014-08-11 17:41:28 +08:00
Bobby Holley
eaebf58731 Bug 1052089 - Rename JunkScope to PrivilegedJunkScope and remove fallibility of singleton scope access. r=billm
These two things ended up getting mushed together in my tree.
2014-08-18 10:57:30 -07:00
Nigel Babu
a6d3714069 Backed out changeset 080926480632 (bug 878533) for build failure ON A CLOSED TREE 2014-08-18 08:59:01 +05:30
Nigel Babu
cae1b74315 Backed out changeset b658d7efa3b4 (bug 878533) for build failure ON A CLOSED TREE 2014-08-18 08:58:50 +05:30
Vicamo Yang
62a48db9a4 Bug 878533 - 2/2: fix test cases. r=gene, r=smaug 2014-08-18 10:34:16 +08:00
Vicamo Yang
401f08c724 Bug 878533 - 1/2: move MozSmsFilter to webidl dictionary. r=smaug 2014-08-18 10:34:10 +08:00
Bobby Holley
e70ddb7476 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
30ae466592 Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage. 2014-08-14 17:23:10 -04:00
Bobby Holley
3e4d70a655 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 12:54:34 -07:00
Vicamo Yang
7a4d8e7265 Bug 1048098: remove redundant flushPermissions, flushPrefEnv from tearing down procedure. r=btian, r=echen 2014-08-08 18:28:58 +08:00
Bevis Tseng
14fdb73360 Bug 1046026 - Part 5: Re-write test cases with 'disk-space-watcher' notification. r=vyang 2014-08-04 19:02:39 +08:00
Bevis Tseng
232dea7f27 Bug 1046026 - Part 4: Update threads at once after all messages are deleted. r=vyang 2014-08-05 19:26:58 +08:00
Bevis Tseng
2b087bc631 Bug 1046026 - Part 3: Remove the redundant function name from the implementation of EventHandler. r=vyang 2014-08-04 14:38:03 +08:00
Bevis Tseng
20555a06c2 Bug 1046026 - Part 2: Check failure cause according to |event.target.error.name|. r=vyang 2014-08-04 14:28:08 +08:00
Bevis Tseng
3ed2a3601a Bug 1046026 - Part 1: Deprecate the Optional Property |isDiskFull| in MobileMessageDB. r=vyang 2014-08-04 14:22:33 +08:00
Bevis Tseng
2379bdfc9f Bug 1039185 - Always Check 'x-mms-read-report' before trying to send read report. r=vyang 2014-07-30 15:26:21 +08:00
Vicamo Yang
ccaa9e46b4 Bug 916607 - 4/4: fix test cases. r=bzbarsky, r=gene 2014-08-04 17:01:37 +08:00
Vicamo Yang
bdbe52a2e4 Bug 916607 - 2/4: implementation. r=bzbarsky, r=gene 2014-08-04 17:01:36 +08:00
Vicamo Yang
96f10d3a69 Bug 916607 - 1/4: Convert MozSmsSegmentInfo to WebIDL dictionary. Interface changes. r=bzbarsky, r=khuey 2014-08-04 17:01:36 +08:00
Nathan Froyd
d6ed55758e Bug 1044162 - part 0a - make additions to EXTRA_JS_MODULES use += instead of =; r=mshal
Straight assignments to HierarchicalStringList, which we'll change
EXTRA_JS_MODULES to in a later patch, don't work.  This change, in
addition to making things work as expected later on, also is more
consistent with existing practice.
2014-07-25 13:50:55 -04:00
Ms2ger
d8c0b17d7d Bug 1043963 - Collapse test-only moz.build files under dom/ into ancestor moz.build files; r=ted
There is very little benefit to having another layer of moz.build files, and
removing them will speed up the build a minimal amount. It also paves the way
for removing TEST_DIRS, which could simplify the build system somewhat.
2014-07-26 08:17:24 +02:00
Bevis Tseng
436b66edca Bug 1040230 - Check array length to bail out earlier before creating the deleted info. r=vyang 2014-07-24 12:32:12 +08:00
Ed Morley
a2f6437df2 Backed out changeset de34cb8506d9 (bug 1040230) 2014-07-24 16:23:08 +01:00
Bevis Tseng
930175bbfe Bug 1040230 - Check array length to bail out earlier before creating the deleted info. r=vyang 2014-07-24 12:32:12 +08:00
Mike Hommey
bc5d6801bb Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Bevis Tseng
376e4ff47c Bug 1023695 - Part 6: Add Marionette Test Case to Verify ondeleted Event. r=vyang. 2014-06-27 15:34:37 +08:00
Bevis Tseng
fff22ac088 Bug 1023695 - Part 5: Notify deleted info after DB has been changed. r=vyang. 2014-06-27 13:28:10 +08:00
Bevis Tseng
ed3bb01ce1 Bug 1023695 - Part 4: Implementation of .webidl change. r=vyang,smaug. 2014-06-27 13:25:37 +08:00
Bevis Tseng
6abdbab357 Bug 1023695 - Part 2: Add implementation of .idl/.ipdl. r=vyang. 2014-06-27 13:17:47 +08:00
Bevis Tseng
98541db5a4 Bug 1023695 - Part 1: Define .idl/.ipdl for notifying Deleted Info. r=vyang. 2014-06-27 13:11:14 +08:00
Benoit Jacob
18c3e0073a Bug 1035394 - Fix dangerous public destructors in dom - r=ehsan 2014-07-08 17:23:17 -04:00
Jan de Mooij
44da586636 Bug 1034191 - Make nsDependentJSString users work with Latin1 strings and nursery-allocated strings. r=bz 2014-07-05 17:30:54 +02:00
Chuck Lee
b9882a8161 Bug 1033138 - Use AutoJSAPI instead of AutJSContext. r=bholley 2014-07-03 11:31:52 +08:00
Bob Owen
dd675edb89 Bug 1029494 Part 4: Replace AutoPushJSContext in MobileMessageCursorCallback::NotifyCursorSuccess. r=bholley 2014-06-26 00:47:12 +01:00
Bob Owen
93d8477a23 Bug 1029494 Part 3: Replace AutoPushJSContext in MobileMessageCallback::NotifyMessageDeleted. r=bholley 2014-06-26 00:35:51 +01:00
Bob Owen
eb288d64ef Bug 1029494 Part 2: Replace AutoPushJSContext in MobileMessageCallback::NotifySuccess. r=bholley 2014-06-25 22:09:40 +01:00
Fabrice Desré
777feff01b Bug 1024157 - Lazy load more js modules - Part 3: RIL r=gene 2014-05-07 15:53:17 -07:00
Andrea Marchesini
6ec27357af Bug 876683 - DOMFile/DOMBlob refactoring, r=ehsan, r=bent 2014-06-26 09:47:44 -07:00
Chris Peterson
5d92f25884 Bug 1024322 - Replace calls to MOZ_ASSUME_UNREACHABLE that have crept back into dom. r=smaug 2014-06-20 22:42:45 -07:00
Wes Kocher
6c68d3cdfb Merge inbound to m-c a=merge 2014-06-25 18:18:43 -07:00
Carsten "Tomcat" Book
1fbbf3e900 Merge mozilla-central to b2g-inbound 2014-06-25 16:21:26 +02:00
Carsten "Tomcat" Book
ff26ea326c merge b2g-inbound to mozilla-central a=merge 2014-06-25 15:38:40 +02:00
Vicamo Yang
7f32137055 Bug 992320: split test_wsp_pdu_helper.js for intermittent timeout. r=gene 2014-06-25 11:57:24 +08:00
Vicamo Yang
b767e1742a Bug 1002600: fix test_mms_pdu_helper.js intermittent timeouts. r=gene 2014-06-25 11:57:22 +08:00
Vicamo Yang
2fd1cb34af Bug 993817: convert mobilemssage marionette test cases to Promise. r=gene 2014-06-25 11:57:21 +08:00
Vicamo Yang
abc8270f73 Bug 958782 - 3/3: fix test cases. r=gene,khuey 2014-06-25 11:57:19 +08:00
Vicamo Yang
402c57bc5d Bug 958782 - 2.c/3: remove unused headers and sort. r=khuey 2014-06-25 11:57:18 +08:00
Vicamo Yang
27d8b0dafc Bug 958782 - 2.b/3: WebIDL implementation. f=Ms2ger,bzbarsky,r=khuey 2014-06-25 11:57:16 +08:00
Vicamo Yang
a8e10f9287 Bug 958782 - 2.a/3: refactoring, alignments. f=Ms2ger,r=khuey 2014-06-25 11:57:15 +08:00
Vicamo Yang
dd22105985 Bug 958782 - 1/3: B2G SMS - Move MozMobileMessage to WebIDL. XPIDL & WebIDL changes. f=Ms2ger,r=khuey
--HG--
rename : dom/webidl/MobileMessageManager.webidl => dom/webidl/MozMobileMessageManager.webidl
2014-06-25 11:57:13 +08:00
Jessica Jong
a1426eec5e Bug 1021424 - Verify network.type and network.state before applying mms settings. f=btseng r=vicamo 2014-06-24 02:16:00 +02:00
Vicamo Yang
cfd9bda0f6 Bug 958782: follow-up for bug 1029866, rename AutoJSAPI::InitUsingWin() to Init(). CLOSED TREE 2014-06-25 23:24:22 +08:00
Jim Blandy
7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Benoit Jacob
ec742680c8 Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Nivedita Sarkar
bf219eba73 Bug 1024747 - Do QueryInterface before accessing iccInfo from nsIRilContext. r=vyang, a=1.4+ 2014-06-17 11:56:42 +08:00
Vicamo Yang
8d5be851b4 Bug 1023148 - Use WebIDL codegen to implement RIL & WiFi events. r=smaug 2014-06-11 09:23:34 +08:00
Bevis Tseng
62848907b3 Bug 1012621 - Part 2: Move xpcshell related files into test/xpcshell sub-folder. r=vyang,khuey
--HG--
rename : dom/mobilemessage/tests/header_helpers.js => dom/mobilemessage/tests/xpcshell/header_helpers.js
rename : dom/mobilemessage/tests/test_mms_pdu_helper.js => dom/mobilemessage/tests/xpcshell/test_mms_pdu_helper.js
rename : dom/mobilemessage/tests/test_mms_service.js => dom/mobilemessage/tests/xpcshell/test_mms_service.js
rename : dom/mobilemessage/tests/test_smsservice_createsmsmessage.js => dom/mobilemessage/tests/xpcshell/test_smsservice_createsmsmessage.js
rename : dom/mobilemessage/tests/test_wsp_pdu_helper.js => dom/mobilemessage/tests/xpcshell/test_wsp_pdu_helper.js
rename : dom/mobilemessage/tests/xpcshell.ini => dom/mobilemessage/tests/xpcshell/xpcshell.ini
2014-06-03 11:17:05 +08:00
Bevis Tseng
bb5c0af844 Bug 1012621 - Part 1: Move mochitest related files into test/mochitest sub-folder.r=vyang,khuey
--HG--
rename : dom/mobilemessage/tests/mochitest.ini => dom/mobilemessage/tests/mochitest/mochitest.ini
rename : dom/mobilemessage/tests/test_sms_basics.html => dom/mobilemessage/tests/mochitest/test_sms_basics.html
rename : dom/mobilemessage/tests/test_smsfilter.html => dom/mobilemessage/tests/mochitest/test_smsfilter.html
2014-06-03 10:54:51 +08:00
Steve Fink
5a86ec4061 Bug 1017419 - Handlify nsTArrayToJSArray, r=terrence
--HG--
extra : rebase_source : 802407d2c25fe060e16b546890859720664158ae
2014-06-02 09:40:13 -07:00
wei.gao@spreadtrum.com
abe0bc05ab Bug 1008812 - change dom.mms.retrievalRetryIntervals to shorten the mms wait time. r=vyang 2014-05-28 10:33:22 -04:00
Bevis Tseng
600685837b Bug 824717 - Part 7: Modify and Add test cases to check the message id and message content when failed to send SMS/MMS message. r=vyang 2014-04-29 17:04:42 +08:00
Bevis Tseng
3fc9d2ac1a Bug 824717 - Part 6: Notify SendMesageFailed with saved DOM Message if available. r=vyang 2014-04-28 13:28:12 +08:00
Bevis Tseng
a6e71b4b24 Bug 824717 - Part 5: Fire DOMMobileMessageError when NotifySendMessageFailed(). r=vyang 2014-04-28 13:20:02 +08:00
Bevis Tseng
d6435f0e0a Bug 824717 - Part 4: Add a optional MobileMessageData data member in ReplyMessageSendFail. r=vyang 2014-04-28 12:42:24 +08:00
Bevis Tseng
558eaf15b8 Bug 824717 - Part 3: Modify nsIMobileMessageCallback::notifySendMessageFailed() to accept an additional nsISupports message. r=vyang 2014-04-28 12:33:10 +08:00
Bevis Tseng
622a3badfd Bug 824717 - Part 2: Refactor SmsParent::GetMobileMessageDataFromMessage() as a static method to be used in both SmsParent/SmsRequestParent. r=vyang 2014-04-28 12:06:29 +08:00
Bevis Tseng
bf2146754d Bug 824717 - Part 1: Define DOMMobileMessageError:DOMError to hook an additional nsISupports object like nsIDOMMozSmsMessage/nsIDOMMozMmsMessage when error occurs. r=hsinyi, r=smaug 2014-04-28 11:54:07 +08:00
Vicamo Yang
d810453b60 Bug 866938 - 4.e/4: add xpcshell test cases for Address.resolveType. r=gene 2014-05-17 02:25:37 +08:00
Vicamo Yang
8327b6fd5c Bug 866938 - 4.d/4: add test_mmdb_upgradeSchema_22.js. r=gene 2014-05-17 02:25:37 +08:00
Vicamo Yang
f6c1d8f94f Bug 866938 - 4.c/4: rewrite test_mmdb_setmessagedeliverybyid_sms.js to use mmdb_head.js. r=gene 2014-05-17 02:25:36 +08:00
Vicamo Yang
95ec3a9fb9 Bug 866938 - 4.b/4: rewrite test_filter_number.js to include non-PLMN addresses tests. r=gene 2014-05-17 02:25:36 +08:00
Vicamo Yang
26f9b6d623 Bug 866938 - 4.a/4: add test_mmdb_upgradeSchema_current_structure.js. r=gene 2014-05-17 02:25:36 +08:00
Vicamo Yang
4d05a0e77d Bug 866938 - 3/4: use typed addresses internally. r=gene 2014-05-17 02:25:36 +08:00
Thomas Zimmermann
2db9924ae3 Bug 866938 - 2.c/4: rename findThreadRecordByParticipants to findThreadRecordByPlmnAddresses. r=vicamo 2014-05-17 02:25:36 +08:00
Thomas Zimmermann
5cd15998cf Bug 866938 - 2.b/4: rename findParticipantRecordByAddress to findParticipantRecordByPlmnAddress. r=vicamo 2014-05-17 02:25:35 +08:00
Thomas Zimmermann
4685768ee9 Bug 866938 - 2.a/4: extract createParticipantRecord. r=vicamo 2014-05-17 02:25:35 +08:00
Vicamo Yang
5bae75b1d7 Bug 866938 - 1/4: correct RegExp used to match MMS addresses. r=gene 2014-05-17 02:25:35 +08:00
Ed Morley
f81fd51388 Backed out changeset 254616e044b1 (bug 993282) 2014-05-15 17:01:36 +01:00
Bevis Tseng
61afb80410 Bug 1007542 - Add Phone Number into FROM Field of MMS Header when transmitting MMS PDU to network. r=vyang 2014-05-08 15:29:01 +08:00
Ehsan Akhgari
903bfdef6e Bug 994964 - Make DOM XPIDL interfaces non-scriptable, and add shim Components.interfaces entries for them; r=bzbarsky,bholley 2014-05-08 16:45:36 -04:00
Fabrice Desré
14682ee809 Bug 993282 - Lazy load more js modules - Part 3: RIL r=gene 2014-05-07 15:53:17 -07:00
Bevis Tseng
7b9439a86f Bug 1006318 - Assign values in constructor to ensure these properties are created per instance. r=vyang 2014-05-06 17:22:25 +08:00
Wes Kocher
f3d33b739c Backed out 3 changesets (bug 993282) for b2g emulator mochitest 3 failures
Backed out changeset 30e0991d49e0 (bug 993282)
Backed out changeset 6b9c8d6ab401 (bug 993282)
Backed out changeset 96e1a542bb45 (bug 993282)
2014-05-07 18:47:17 -07:00
Fabrice Desré
77817a3d43 Bug 993282 - Lazy load more js modules - Part 3: RIL r=gene 2014-05-07 15:53:17 -07:00
Michael Shuen
e76fd87034 Bug 972385 - Make JS::AutoValueVector subscript operator return handles. r=jonco, smaug 2014-04-28 16:53:00 +02:00
Birunthan Mohanathas
5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Birunthan Mohanathas
7ac92ae5ea Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug 2014-04-25 12:49:00 -04:00
Terrence Cole
581c606391 Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Benoit Jacob
e8b418c5f5 Bug 987305 - Refactor EnumSerializer - r=nfroyd 2014-04-14 10:17:40 -04:00
Boris Zbarsky
1d8a40af7b Bug 994811 part 2. Use ToJSValue in msMessage::GetDeliveryInfo. r=gene
There is one behavior change here: the old code converted null strings
in the MmsDeliveryInfo into "", but the new code will convert them to
a JS null value.
2014-04-11 22:20:54 -04:00
Boris Zbarsky
c420001bda Bug 994793. Make the array bits of ToJSValue nicer. r=bholley 2014-04-10 14:57:42 -04:00
Boris Zbarsky
a0bb95a823 Bug 993889 part 1. Remove "scope" argument from nsContentUtils::WrapNative. r=bholley 2014-04-10 00:58:41 -04:00
Bevis Tseng
692f3793b3 Bug 990368 - Add corresponding test case to verify error cases in sending MMS. r=vyang 2014-04-01 16:43:53 +08:00
Bevis Tseng
ebeb973098 Bug 990368 - [B2G][MMS][DSDS] Feedback NonActiveSimError if send an MMS with non active SIM selected. r=vyang 2014-04-01 12:49:44 +08:00
Masayuki Nakano
930436ef24 Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug
--HG--
rename : dom/events/nsDOMEventTargetHelper.cpp => dom/events/DOMEventTargetHelper.cpp
rename : dom/events/nsDOMEventTargetHelper.h => dom/events/DOMEventTargetHelper.h
2014-04-01 15:13:50 +09:00
Bevis Tseng
5783e95666 Bug 981077 - Part 4: Add test case for SIM_NOT_MATCHED_ERROR while manually retrieving MMS message. r=vyang 2014-03-25 15:06:09 +08:00