Commit Graph

517 Commits

Author SHA1 Message Date
Benoit Jacob
57ed0c585c Bug 1035394 - Fix dangerous public destructors in dom - r=ehsan 2014-07-08 17:23:17 -04:00
Jan de Mooij
3c7459b21a 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
26feb86cd2 Bug 1033138 - Use AutoJSAPI instead of AutJSContext. r=bholley 2014-07-03 11:31:52 +08:00
Bob Owen
39fe6a7e9d Bug 1029494 Part 4: Replace AutoPushJSContext in MobileMessageCursorCallback::NotifyCursorSuccess. r=bholley 2014-06-26 00:47:12 +01:00
Bob Owen
dff86c4e2d Bug 1029494 Part 3: Replace AutoPushJSContext in MobileMessageCallback::NotifyMessageDeleted. r=bholley 2014-06-26 00:35:51 +01:00
Bob Owen
4a5ff0b800 Bug 1029494 Part 2: Replace AutoPushJSContext in MobileMessageCallback::NotifySuccess. r=bholley 2014-06-25 22:09:40 +01:00
Fabrice Desré
7505dcfe08 Bug 1024157 - Lazy load more js modules - Part 3: RIL r=gene 2014-05-07 15:53:17 -07:00
Andrea Marchesini
e25e980526 Bug 876683 - DOMFile/DOMBlob refactoring, r=ehsan, r=bent 2014-06-26 09:47:44 -07:00
Chris Peterson
1f3a2dcf13 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
19b35e69b7 Merge inbound to m-c a=merge 2014-06-25 18:18:43 -07:00
Carsten "Tomcat" Book
056763118b Merge mozilla-central to b2g-inbound 2014-06-25 16:21:26 +02:00
Carsten "Tomcat" Book
a2cf6bb6f1 merge b2g-inbound to mozilla-central a=merge 2014-06-25 15:38:40 +02:00
Vicamo Yang
7cf86648aa Bug 992320: split test_wsp_pdu_helper.js for intermittent timeout. r=gene 2014-06-25 11:57:24 +08:00
Vicamo Yang
e09dde5f8b Bug 1002600: fix test_mms_pdu_helper.js intermittent timeouts. r=gene 2014-06-25 11:57:22 +08:00
Vicamo Yang
8d5734766b Bug 993817: convert mobilemssage marionette test cases to Promise. r=gene 2014-06-25 11:57:21 +08:00
Vicamo Yang
15f27d65a8 Bug 958782 - 3/3: fix test cases. r=gene,khuey 2014-06-25 11:57:19 +08:00
Vicamo Yang
b0a1fe7195 Bug 958782 - 2.c/3: remove unused headers and sort. r=khuey 2014-06-25 11:57:18 +08:00
Vicamo Yang
2d633be1d5 Bug 958782 - 2.b/3: WebIDL implementation. f=Ms2ger,bzbarsky,r=khuey 2014-06-25 11:57:16 +08:00
Vicamo Yang
dfdc2fc75c Bug 958782 - 2.a/3: refactoring, alignments. f=Ms2ger,r=khuey 2014-06-25 11:57:15 +08:00
Vicamo Yang
47002a6418 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
0a2852413a 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
137dbfad8e Bug 958782: follow-up for bug 1029866, rename AutoJSAPI::InitUsingWin() to Init(). CLOSED TREE 2014-06-25 23:24:22 +08:00
Jim Blandy
4d6a633bba 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
747dcfc8a0 Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Nivedita Sarkar
65724c7f68 Bug 1024747 - Do QueryInterface before accessing iccInfo from nsIRilContext. r=vyang, a=1.4+ 2014-06-17 11:56:42 +08:00
Vicamo Yang
45bd978b7c Bug 1023148 - Use WebIDL codegen to implement RIL & WiFi events. r=smaug 2014-06-11 09:23:34 +08:00
Bevis Tseng
9fce39e734 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
ee26cb3f95 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
6a809adfba Bug 1017419 - Handlify nsTArrayToJSArray, r=terrence
--HG--
extra : rebase_source : 802407d2c25fe060e16b546890859720664158ae
2014-06-02 09:40:13 -07:00
wei.gao@spreadtrum.com
ab03e5a14f Bug 1008812 - change dom.mms.retrievalRetryIntervals to shorten the mms wait time. r=vyang 2014-05-28 10:33:22 -04:00
Bevis Tseng
163fe2cb03 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
6058e5f67d Bug 824717 - Part 6: Notify SendMesageFailed with saved DOM Message if available. r=vyang 2014-04-28 13:28:12 +08:00
Bevis Tseng
65e0ae92f7 Bug 824717 - Part 5: Fire DOMMobileMessageError when NotifySendMessageFailed(). r=vyang 2014-04-28 13:20:02 +08:00
Bevis Tseng
081cd4c108 Bug 824717 - Part 4: Add a optional MobileMessageData data member in ReplyMessageSendFail. r=vyang 2014-04-28 12:42:24 +08:00
Bevis Tseng
13803d46f9 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
545d5bc162 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
c23182ec87 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
89547a3c83 Bug 866938 - 4.e/4: add xpcshell test cases for Address.resolveType. r=gene 2014-05-17 02:25:37 +08:00
Vicamo Yang
dd9c80199f Bug 866938 - 4.d/4: add test_mmdb_upgradeSchema_22.js. r=gene 2014-05-17 02:25:37 +08:00
Vicamo Yang
bab012bcb8 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
c5a52c6fb5 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
b509b7cdd5 Bug 866938 - 4.a/4: add test_mmdb_upgradeSchema_current_structure.js. r=gene 2014-05-17 02:25:36 +08:00
Vicamo Yang
c0e4da70de Bug 866938 - 3/4: use typed addresses internally. r=gene 2014-05-17 02:25:36 +08:00
Thomas Zimmermann
0f72f7b98f Bug 866938 - 2.c/4: rename findThreadRecordByParticipants to findThreadRecordByPlmnAddresses. r=vicamo 2014-05-17 02:25:36 +08:00
Thomas Zimmermann
e62351631a Bug 866938 - 2.b/4: rename findParticipantRecordByAddress to findParticipantRecordByPlmnAddress. r=vicamo 2014-05-17 02:25:35 +08:00
Thomas Zimmermann
ad2d8ca893 Bug 866938 - 2.a/4: extract createParticipantRecord. r=vicamo 2014-05-17 02:25:35 +08:00
Vicamo Yang
f8751aeaf6 Bug 866938 - 1/4: correct RegExp used to match MMS addresses. r=gene 2014-05-17 02:25:35 +08:00
Ed Morley
9231f6bf96 Backed out changeset 254616e044b1 (bug 993282) 2014-05-15 17:01:36 +01:00
Bevis Tseng
bca35f4dbc 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
958ae15e31 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