Commit Graph

727 Commits

Author SHA1 Message Date
Juan Gomez
258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Jan de Mooij
155b1afd35 Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie 2015-06-30 11:20:56 -07:00
Ryan VanderMeulen
7483c0563e Backed out changesets ad58c270ce87 and 849151330d60 (bug 1177892) for B2G bustage.
CLOSED TREE
2015-06-30 15:48:11 -04:00
Jan de Mooij
731f441d6e Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie
--HG--
extra : rebase_source : f7ae63c351c82516e7db48a12c4cfb2048a81805
2015-06-30 11:20:56 -07:00
Jan de Mooij
976586cb5f Bug 1177825 - Remove JSVAL_* constants. r=evilpie 2015-06-29 18:36:44 -07:00
Ryan VanderMeulen
5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Samael Wang
7faab4ec1c Bug 1173156 - Fix typo and add a Marionette test case. r=btseng 2015-06-15 17:17:56 +08:00
Birunthan Mohanathas
180b572edb Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
Birunthan Mohanathas
470bd9148f Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElements calls. r=froydnj 2015-05-28 11:07:43 -07:00
Samael Wang
99310b3867 Bug 1152730 - Part 3: Add owner window checks on DOM object operations. r=btseng 2015-05-13 11:42:42 +08:00
Samael Wang
cbcbfc54f7 Bug 1152730 - Part 2: Add a marionette test case. r=btseng 2015-05-20 17:50:27 +08:00
Samael Wang
bda8330654 Bug 1152730 - Part 1: Update retry logic in SmsService and remove the retry in ril_worker. r=btseng 2015-05-25 18:38:07 +08:00
Andrea Marchesini
2eaacaa6a7 Bug 1167423 - patch 10 - Handle return values of FallibleTArray functions in MobileMessage, r=smaug 2015-05-25 12:50:15 +01:00
Birunthan Mohanathas
735ccdd101 Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetLength calls. r=froydnj 2015-05-18 13:50:35 -07:00
Birunthan Mohanathas
1f8d7454e3 Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetCapacity calls. r=froydnj 2015-05-18 13:50:34 -07:00
Edgar Chen
5792252ef1 Bug 1162407 - Increase timeout value of test_replace_short_message_type.js. r=bevis 2015-05-07 17:35:34 +08:00
Andrea Marchesini
f4538bb921 Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan
--HG--
rename : dom/base/MultipartFileImpl.cpp => dom/base/MultipartBlobImpl.cpp
rename : dom/base/MultipartFileImpl.h => dom/base/MultipartBlobImpl.h
2015-05-12 13:11:03 +01:00
Andrea Marchesini
368a198972 Bug 1159401 - Split Blob and File classes, r=bz 2015-05-12 13:09:51 +01:00
Wes Kocher
983fcabeef Backed out 2 changesets (bug 1159401) for b2g build bustage
Backed out changeset adfee1efb1e1 (bug 1159401)
Backed out changeset 70c63c8546e3 (bug 1159401)
2015-05-11 14:54:02 -07:00
Wes Kocher
6b003ab737 Backed out changeset 56e4c68dc3da (bug 1163387) for build bustage CLOSED TREE
--HG--
rename : dom/base/MultipartBlobImpl.cpp => dom/base/MultipartFileImpl.cpp
rename : dom/base/MultipartBlobImpl.h => dom/base/MultipartFileImpl.h
2015-05-11 13:17:58 -07:00
Andrea Marchesini
49a0ee6938 Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan
--HG--
rename : dom/base/MultipartFileImpl.cpp => dom/base/MultipartBlobImpl.cpp
rename : dom/base/MultipartFileImpl.h => dom/base/MultipartBlobImpl.h
2015-05-11 18:50:54 +01:00
Andrea Marchesini
91a8a35606 Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz 2015-05-11 18:50:50 +01:00
Ryan VanderMeulen
2390c704f8 Backout revisions 4287533203fb and 96a3ebfe09d8 (bug 1159401) for bustage.
CLOSED TREE

--HG--
extra : histedit_source : a6c24f88b9c5a0cbcf2d44189fd359ddb20757b4%2C46613cfc309a9f0531e8c2475ac17877f606f231
2015-05-11 11:43:59 -04:00
Andrea Marchesini
48ecacaa74 Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz 2015-05-11 15:20:06 +01:00
Andrew McCreight
9e8f4b219e Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Samael Wang
8c5a2d711b Bug 1044721 - Part 7: Update nsISmsService.idl and ensure the type-of-number and number-plan-identification constants match the corresponding enum in MozMobileMessageManager.webidl. r=btseng 2015-04-29 10:42:58 +08:00
Samael Wang
f697daf654 Bug 1044721 - Part 6: Add marionette and xpcshell test cases. r=btseng 2015-04-29 10:42:40 +08:00
Samael Wang
129bfc3a71 Bug 1044721 - Part 5: Add dummy implementation for Android backend. r=btseng 2015-04-29 10:42:17 +08:00
Samael Wang
28ed3918a4 Bug 1044721 - Part 4: Update IPC protocols and implementation for setSmscAddress API. r=btseng 2015-04-29 10:42:00 +08:00
Samael Wang
7316e2e40a Bug 1044721 - Part 3: Add setSmscAddress implementation for Gonk backend. r=btseng 2015-04-29 10:41:47 +08:00
Samael Wang
4b9e01f158 Bug 1044721 - Part 2: Update nsIMobileMessageCallback interface and implementation to support Promise and setSmscAddress. r=btseng 2015-04-29 10:58:16 +08:00
Samael Wang
60a1175c07 Bug 1044721 - Part 1: Add setSmscAddress API in MozMobileMessageManager Web IDL interface, and corresponding implementation in MobileMessageManager class. r=hsinyi 2015-04-29 10:41:05 +08:00
Bevis Tseng
3810a891ed Bug 1155142 - Part 2: Refactor RIL-related Modules. r=kchen 2015-04-17 19:06:24 +08:00
David Major
ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Ryan VanderMeulen
74eb7193a7 Merge inbound to m-c. a=merge 2015-04-27 15:13:19 -04:00
Samael Wang
dcfd367a21 Bug 1147305 - Map settings "mms.debugging.enabled" to preference. r=btseng 2015-04-27 11:46:26 +08:00
Andrea Marchesini
3c8ee378d5 Bug 1158437 - dom::File should accept negative date values, r=smaug 2015-04-27 12:17:19 +01:00
Edgar Chen
11bbeeac1b Bug 991582 - Part 1: Deprecate rilRequestError. r=aknow 2015-02-25 15:00:49 +08:00
Andrea Marchesini
cb54385682 Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan 2015-04-22 08:29:20 +02:00
Henry Chang
f9c56cb2da Bug 992772 - Use mms specific network interface to do DNS lookup. r=echen, r=btseng, r=mrbkap
--HG--
extra : histedit_source : 670d2124210bc3769a460022214baaee6b305639
2015-04-09 19:09:37 +08:00
Neil Deakin
af1ece91c4 Bug 1153248, re-enable a bunch of tests that now work with e10s, r=billm 2015-04-16 15:38:12 -04:00
Bevis Tseng
9429e1e24b Bug 1154186 - Deprecate nsISmsMessenger_new.idl. r=echen
--HG--
extra : histedit_source : a5046c08a45adba7bd69867f1cf3a0379394f7f6
2015-04-14 18:07:44 +08:00
Edgar Chen
2bb6cf3ea3 Bug 1152531 - Releasing MMS connection if MMS fails to send due to ensureRouting error. r=bevis 2015-04-10 15:10:14 +08:00
Bevis Tseng
e9dd8ad10f Bug 1138264 - Part 3: Replace inner function/.bind(this) with arrow functions. r=echen 2015-04-02 14:47:17 +08:00
Bevis Tseng
2fa99c6fda Bug 1138264 - Part 2: Broadcast System Messages from SmsService/MmsService accordingly. r=echen 2015-04-02 14:37:52 +08:00
Bevis Tseng
37699fa7da Bug 1138264 - Part 1: Define new system messages of "sms-failed" and "sms-delivery-error". r=echen 2015-04-02 14:26:20 +08:00
Wes Kocher
18a6da0131 Merge m-c to inbound a=merge
--HG--
extra : rebase_source : 31afc1b4de1d4c9d48057dbbe0d96e7c385bf2dc
2015-03-27 17:31:19 -07:00
Bevis Tseng
0ff5646c33 Bug 1114935 - Part 6.1: Migration in RIL-internal Modules. r=echen
--HG--
extra : histedit_source : 2c578ec4de601576072908153f9453fb0acd9971
2015-01-15 18:12:23 +08:00
Samael Wang
7ae5499be8 Bug 733331 - Part 3: Add corresponding marionette test case. r=btseng 2015-03-24 19:02:31 +08:00
Samael Wang
644da0a93b Bug 733331 - Part 2: Update enabledGsmTableTuples when MCC changes in SmsService.js and fix segmentChars in SmsSegmentHelper.jsm. r=btseng 2015-03-23 10:51:26 +08:00
Ehsan Akhgari
883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Wes Kocher
e974133aa5 Merge b2ginbound to m-c a=merge CLOSED TREE 2015-03-19 19:23:58 -07:00
Boris Zbarsky
dc24477d79 Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Bevis Tseng
c44bd7e32b Bug 1143596 - Part 2: Re-write with Promise. r=echen 2015-03-17 14:35:31 +08:00
Bevis Tseng
ccbf6c4ca9 Bug 1143596 - Part 1: Provide correct test number in Brazil format. r=echen 2015-03-16 16:59:58 +08:00
Gregor Wagner
fa698fe8a9 Backout Bug 1114935 for causing bug 1144567. 2015-03-18 11:48:52 -07:00
Edgar Chen
15c231a22b Bug 1143628 - Part 2-2: Rewriting test_massive_incoming_delete.js with Promise. r=bevis 2015-03-16 18:30:46 +08:00
Edgar Chen
7d36d42de4 Bug 1143628 - Part 2-1: Increasing the marionette timeout of test_massive_incoming_delete.js. r=bevis 2015-03-16 18:29:45 +08:00
Edgar Chen
2d62092c4f Bug 1143628 - Part 1: Remove wrapDomRequestAsPromise defined in MobileMessage marionette test. r=bevis 2015-03-17 12:00:20 +08:00
Samael Wang
c197b32f36 Bug 1138841 - Part 3: Add an XPCShell and a Marionette test case for encoding and decoding examination, respectively. r=btseng
--HG--
extra : rebase_source : 2b52ec77288115d4434e30a65accccc451829c3c
extra : histedit_source : fee6e436e2a68f521a7edabea65341daece62e27
2015-03-16 15:44:34 +08:00
Samael Wang
3a0d622bec Bug 1138841 - Part 2: Update the test cases in test_sms_segment_helper.js in corresponding to the changes of PDU_NL_LOCKING_SHIFT_TABLES. r=btseng
--HG--
extra : rebase_source : b83c035e629c95ff2e284c27790487a325acacfd
extra : histedit_source : 33847f7f1c7d333a47abc1d8f2c95073dc9030f2
2015-03-06 18:09:08 +08:00
Bevis Tseng
9613ce77bb Bug 1114935 - Part 6.1: Migration in RIL-internal Modules. r=echen
--HG--
extra : rebase_source : ab0d1eee0b60618e3f0cf3f6b52b41eb054ebbfb
extra : histedit_source : 5111d3af67fc87521bf303b24ca873312fc217e6
2015-01-15 18:12:23 +08:00
Bevis Tseng
557345b31a Bug 1138757 - Part 2: Add Test Coverage for CDMA Wap Push. r=echen 2015-03-03 15:40:09 +08:00
Bevis Tseng
fad40a3b64 Bug 1138757 - Part 1: Fix the logic of checking invalid port in CDMA WAP Push. r=echen 2015-03-03 15:41:15 +08:00
Samael Wang
27d2cf1680 Bug 1132774 - [B2G][SMS] Enable DEBUG Flag in SmsService if the default value of "ril.debugging.enabled" is true. r=btseng 2015-03-02 14:06:40 +08:00
Anish
4063a569ed Bug 958147 - Choose one of run-if or skip-if and get rid of the other.r=jmaher, mwargers 2015-03-03 08:46:37 -05:00
Wes Kocher
a78a7eb043 Merge b2g-inbound to m-c a=merge 2015-03-02 12:56:08 -08:00
Jon Coppeard
a451fdfd83 Bug 963921 - Clients of the JS API should use JS_DefineElement where appropriate r=smaug 2015-03-02 13:31:15 +00:00
Fabrice Desré
fa7df3a41f Bug 1091307 - Add a configure flag to prevent shipping Mozilla's RIL and Geolocation provider r=hsinyi,mshal 2015-02-26 13:51:20 -08:00
Ms2ger
e705bd4203 Backed out changeset 7abf54d96823 for lack of review. 2015-02-26 23:02:55 +01:00
Fabrice Desré
26484e0481 Bug 1091307 - Add a configure flag to prevent shipping Mozilla's RIL and Geolocation provider r=hsinyi 2015-02-26 13:51:20 -08:00
Andrea Marchesini
e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Chris Peterson
009c1a2bcb Bug 1129325 - Remove nonstandard let blocks from dom. r=mrbkap 2015-01-24 23:38:46 -08:00
Hsin-Yi Tsai
369f515538 Bug 1116670 - Add [AvailableIn=CertifiedApps] and [CheckPermissions=sms] to MozMobileMessageManager.webidl. r=smaug 2015-01-05 18:34:31 +08:00
Tom Schuster
66ad9a2e49 Bug 1125356 - Use JS_NewPlainObject in the browser. r=bz 2015-01-24 16:38:08 +01:00
Ehsan Akhgari
4354953b4f Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -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 MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Ehsan Akhgari
1889255041 Bug 1118803 - Mark virtual overridden functions as MOZ_OVERRIDE in misc DOM code; r=baku 2015-01-08 08:49:54 -05:00
Ehsan Akhgari
860da94550 Bug 1114999 - Part 2: Apply MOZ_NO_ADDREF_RELEASE_ON_RETURN to all smart pointer arrow operators that can return refcounted objects; r=jrmuizel 2015-01-06 16:30:03 -05:00
Bevis Tseng
47d241bcdb Bug 1101397 - Clear up unnecessary checking of "undefined" DOMString attribute. r=echen 2014-12-22 15:53:25 +08:00
Bevis Tseng
002fe0c8b2 Bug 1110050 - Support RIL_REQUEST_REPORT_SMS_MEMORY_STATUS to inform SMS Device Storage to modem. r=echen 2014-12-15 17:25:21 +08:00
Bevis Tseng
7e09d18454 Bug 1108900 - Part 2: rename MmsService. r=echen 2014-12-10 16:14:19 +08:00
Bevis Tseng
28ab63d671 Bug 1108900 - Part 1: rename MobileMessageDatabaseService. r=echen
--HG--
rename : dom/mobilemessage/interfaces/nsIRilMobileMessageDatabaseService.idl => dom/mobilemessage/interfaces/nsIGonkMobileMessageDatabaseService.idl
2014-12-10 15:30:59 +08:00
Bevis Tseng
4a672075ae Bug 873351 - Part 3: Refactor SMS Notifications from RadioInterfaceLayer to SmsService. r=echen 2014-11-27 18:59:06 +08:00
Bevis Tseng
75a73fbbfd Bug 873351 - Part 2: Refactor SMS Requests from RadioInterfaceLayer to SmsService. r=echen 2014-11-26 20:02:54 +08:00
Bevis Tseng
d1dc43ad38 Bug 873351 - Part 1: Re-write SmsService in JavaScript. r=echen 2014-11-24 18:43:54 +08:00
Boris Zbarsky
8ec9d58716 Bug 1087851 part 1. Rename WrapNewBindingObject to GetOrCreateDOMReflector to make it clearer what it does. r=peterv for the idea; patch itself is just search-and-replace 2014-11-26 14:25:20 -05:00
Bevis Tseng
24d942773e Bug 1072808 - Part 2: Add SmsMessenger as a Wrapper for Sms-Related System Messages. r=echen 2014-10-24 11:33:01 +08:00
Carsten "Tomcat" Book
d785a18693 Backed out changeset 768b2ca4e101 (bug 1072808) 2014-11-25 10:45:42 +01:00
Bevis Tseng
5ea1383373 Bug 1072808 - Part 2: Add SmsMessenger as a Wrapper for Sms-Related System Messages. r=echen 2014-10-24 11:33:01 +08:00
Jessica Jong
1216f8260f Bug 1058305 - Part 3: use defined network types in nsIRadioInterface (other components). r=echen 2014-11-25 09:44:35 +08:00
Bevis Tseng
cfb2042e7d Bug 968750 - B2G MMS: MmsDeliveryInfo.readStatus saved as "pending" read status when toggled. r=echen 2014-11-14 16:10:17 +08:00
Jessica Jong
4cf52c12c4 Bug 1095332 - B2G RIL: Fix false alarms "WARNING: 'jsapi.Init(mWindow)'...". r=echen 2014-11-06 23:56:00 -05:00
Boris Zbarsky
5b759b528b Bug 1019191 part 15. Remove now-dead DOMCI_DATA bits. r=peterv 2014-10-22 11:40:49 -04:00
Peter Van der Beken
d76c717d3c Bug 1068740 - Consider putting union types in the binding files where they're used. r=bz.
--HG--
extra : rebase_source : 7e0b1e2f60757b7758704dab3672ee829f3e4085
2014-10-01 20:43:26 +02:00
Wes Kocher
26c0b8d5e5 Merge b2g-inbound to m-c a=merge 2014-10-08 16:49:26 -07:00
Andrea Marchesini
8f8ec51372 Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-08 17:15:23 +01:00
Andrea Marchesini
7491bee8c3 Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley 2014-10-08 17:15:22 +01:00
Vicamo Yang
aad2f2d605 Bug 937485 - [WebIcc] use Webidl enum for cardState. r=edgar,smaug 2014-09-03 19:31:00 +08:00
Edgar Chen
f6319355dd Bug 994461 - Part 4: MMS changes for IccInfo WebIDL. r=bevistzeng 2014-09-17 19:09:28 +08:00