Closed Bug 850127 Opened 12 years ago Closed 12 years ago

B2G SMS & MMS: expose thread ID to content

Categories

(Core :: DOM: Device Interfaces, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla23
blocking-b2g tef+
Tracking Status
firefox21 --- wontfix
firefox22 --- wontfix
firefox23 --- fixed
b2g18 - fixed
b2g18-v1.0.0 --- wontfix
b2g18-v1.0.1 --- fixed

People

(Reporter: vicamo, Assigned: vicamo)

References

Details

Attachments

(6 files, 14 obsolete files)

(deleted), patch
vicamo
: superreview+
Details | Diff | Splinter Review
(deleted), patch
vicamo
: review+
Details | Diff | Splinter Review
(deleted), patch
vicamo
: review+
Details | Diff | Splinter Review
(deleted), patch
Details | Diff | Splinter Review
(deleted), patch
Details | Diff | Splinter Review
(deleted), patch
Details | Diff | Splinter Review
With bug 833291 being landed, SmsMessage sender/receiver fields are no more normalized to international number and keep their original form. However, Gaia continues to match a thread by phone numbers[1] and results in incorrect thread handling. The following incorrect behaviour was originally discovered by Gene. Steps to reproduce: 1: on Unagi, sent to somebody's national number. 2: on the other device, reply the previous message to Unagi Expected: The second message pops in the conversation view, and having one exactly thread in thread view. Actual result: The second message never shows up and we have two threads in thread view. However, re-launch message app corrects both thread & conversation view with expected result. [1]: https://github.com/mozilla-b2g/gaia/blob/master/apps/sms/js/message_manager.js#L75
(tef-, doesn't seem bad enough to block on for v1.0.1 at this point)
blocking-b2g: tef? → -
Attached patch WIP (obsolete) (deleted) — Splinter Review
Almost done, has to check automation tests other than marionette, and Android backend, I guess.
Assignee: nobody → vyang
Attachment #723953 - Flags: superreview?(jonas)
I thought the threadlist thing was a temporary hack to be able to ship v1. I am not sure adding more hack like that will help us transitioning to what is going to be the output of the sysapss WG. I think we should start working on a real long term solution.
Version: unspecified → Trunk
(In reply to Mounir Lamouri (:mounir) from comment #3) > I thought the threadlist thing was a temporary hack to be able to ship v1. I > am not sure adding more hack like that will help us transitioning to what is > going to be the output of the sysapss WG. I think we should start working on > a real long term solution. Anyway, the patch is already there. Let's come back when we really need it.
Attachment #723953 - Flags: superreview?(jonas)
Based on comment 3, not tracking. If this is wanted for v1.1 please nominate with reasoning and risk assessment.
Hi there, This change it's needed in order to keep SMS App working, due to when receiving a new message now there is no way to identify the thread which belongs to. I've created a bug in Gaia for adapting SMS App code to the patch proposal of this bug (here you have the link https://bugzilla.mozilla.org/show_bug.cgi?id=851032). Take into account that as https://bugzilla.mozilla.org/show_bug.cgi?id=833291 it's merged in B2G-18, it means that SMS App it's not working in v1.0.1!
blocking-b2g: - → tef+
Since it's now a tef+, I'll do some more cleanups in the WIP patch and request for review asap.
Remember to expose this ID in the SMS Object AND the THREAD Object as well! Thanks! ;)
Attached patch Part 1/3: IDL changes (obsolete) (deleted) — Splinter Review
Attachment #723953 - Attachment is obsolete: true
Attachment #725388 - Flags: superreview?(jonas)
Attachment #725388 - Flags: feedback?(fbsc)
Attached patch Part 2/3: DOM (obsolete) (deleted) — Splinter Review
Attachment #725389 - Flags: review?(mounir)
Attached patch Part 3/3: RIL & test cases (obsolete) (deleted) — Splinter Review
Attachment #725390 - Flags: review?(htsai)
Attachment #725389 - Flags: review?(mounir) → review?(jonas)
Vicamo, one thing. Once you have the R+ for this patch, please wait until having the Gaia Patch landed in Gaia for pushing this code to B2G-18 in order to keep SMS working there ok? We should land both patches at the same time in B2G-18 & v1.0.1 & v1-train (Gaia). Thanks!
(In reply to Borja Salguero [:borjasalguero] from comment #12) > Vicamo, one thing. Once you have the R+ for this patch, please wait until > having the Gaia Patch landed in Gaia for pushing this code to B2G-18 in > order to keep SMS working there ok? We should land both patches at the same > time in B2G-18 & v1.0.1 & v1-train (Gaia). Thanks! Sure. (although I think an additional attribute won't have any effect if never referenced)
Of course. I would like to ensure that the fix (both Gaia & Gecko side) it's working end to end before landing in B2G18 & v1.0.1. Thanks Vicamo!
Attached patch Part 1/3: IDL changes : v2 (obsolete) (deleted) — Splinter Review
Rebase to MMS DOM commits
Attachment #725388 - Attachment is obsolete: true
Attachment #725388 - Flags: superreview?(jonas)
Attachment #725388 - Flags: feedback?(fbsc)
Attachment #727077 - Flags: superreview?(jonas)
Attachment #727077 - Attachment description: Part 1/3: IDL changes → Part 1/3: IDL changes : v2
Attached patch Part 2/3: DOM : v2 (obsolete) (deleted) — Splinter Review
Rebase
Attachment #725389 - Attachment is obsolete: true
Attachment #725389 - Flags: review?(jonas)
Attachment #727079 - Flags: review?(jonas)
Attached patch Part 3/3: RIL & test cases : v2 (obsolete) (deleted) — Splinter Review
Rebase. Verified locally with marionette & emulator. Try: https://tbpl.mozilla.org/?tree=Try&rev=2e68c24278ea
Attachment #725390 - Attachment is obsolete: true
Attachment #725390 - Flags: review?(htsai)
Attachment #727082 - Flags: review?(htsai)
Attachment #727082 - Attachment description: Part 3/3: RIL & test cases → Part 3/3: RIL & test cases : v2
(In reply to Vicamo Yang [:vicamo][:vyang] from comment #17) > Try: https://tbpl.mozilla.org/?tree=Try&rev=2e68c24278ea Busted xpcshell test_smsservice_createsmsmessage.js, will fix asap.
Attached patch Part 3/3: RIL & test cases : v3 (obsolete) (deleted) — Splinter Review
fix test_smsservice_createsmsmessage.js bustage, re-run xpcshell locally with success.
Attachment #727082 - Attachment is obsolete: true
Attachment #727082 - Flags: review?(htsai)
Attachment #727126 - Flags: review?(htsai)
Comment on attachment 727126 [details] [diff] [review] Part 3/3: RIL & test cases : v3 Hi Gregor, both HsinYi and Yoshi take their vacations for a few days. Could you help review this patch?
Attachment #727126 - Flags: review?(htsai) → review?(anygregor)
Comment on attachment 727126 [details] [diff] [review] Part 3/3: RIL & test cases : v3 Review of attachment 727126 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/system/gonk/RadioInterfaceLayer.js @@ +1548,5 @@ > } > > gSystemMessenger.broadcastMessage("sms-received", { > id: message.id, > + threadId: domMessage.threadId, Is this patch based on other patches? I was looking for the origin of domMessage. Or is this a typo?
Attachment #727126 - Flags: review?(anygregor) → review+
(In reply to Gregor Wagner [:gwagner] from comment #21) > Is this patch based on other patches? I was looking for the origin of > domMessage. Or is this a typo? Bug 847738. It should have been in m-c at the time I created the patch. I'll rebase to latest m-c tip if necessary.
Comment on attachment 727079 [details] [diff] [review] Part 2/3: DOM : v2 Mounir said he can take this review for Jonas.
Attachment #727079 - Flags: review?(jonas) → review?(mounir)
Attachment #727077 - Flags: superreview?(jonas) → superreview?(mounir)
Blocks: 854790
Comment on attachment 727077 [details] [diff] [review] Part 1/3: IDL changes : v2 Review of attachment 727077 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/mobilemessage/interfaces/nsIDOMMozMmsMessage.idl @@ +47,5 @@ > > [implicit_jscontext] > readonly attribute jsval attachments; // MmsAttachment[] > +}; > + nit: don't add the empty line at the end of the file.
Attachment #727077 - Flags: superreview?(mounir) → superreview+
Comment on attachment 727079 [details] [diff] [review] Part 2/3: DOM : v2 Review of attachment 727079 [details] [diff] [review]: ----------------------------------------------------------------- Doesn't that break WebSMS on Android?
Attachment #727079 - Flags: review?(mounir) → review+
(In reply to Mounir Lamouri (:mounir) from comment #24) > Part 1/3: IDL changes : v2 > Review of attachment 727077 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: dom/mobilemessage/interfaces/nsIDOMMozMmsMessage.idl > @@ +47,5 @@ > > > > [implicit_jscontext] > > readonly attribute jsval attachments; // MmsAttachment[] > > +}; > > + > > nit: don't add the empty line at the end of the file. Yes, I remember you told me this once. However on irc #developers had a short discuss about this empty line problem[1], [2]. So is there any document, solid rules? Or just a personal flavor? [1]: http://logbot.glob.com.au/?c=mozilla%23developers&s=15+Mar+2013&e=15+Mar+2013&h=vicamo#c564507 [2]: http://logbot.glob.com.au/?c=mozilla%23developers&s=15+Mar+2013&e=15+Mar+2013&h=vicamo#c564563
Attached patch Part 1/3: IDL changes : v3 (deleted) — Splinter Review
uuid & sr=mounir. Both Fennec and desktop b2g build fails on my local system due to errors in other components, trying on tbpl https://tbpl.mozilla.org/?tree=Try&rev=d5d56035efd8
Attachment #727077 - Attachment is obsolete: true
Attachment #729552 - Flags: superreview+
Attached patch Part 2/3: DOM : v3 (obsolete) (deleted) — Splinter Review
r=mounir only
Attachment #727079 - Attachment is obsolete: true
Attachment #729554 - Flags: review+
Attached patch Part 3/3: RIL & test cases : v4 (obsolete) (deleted) — Splinter Review
r=gwagner only
Attachment #727126 - Attachment is obsolete: true
Attachment #729555 - Flags: review+
(In reply to Vicamo Yang [:vicamo][:vyang] from comment #27) > Both Fennec and desktop b2g build fails on my local system due to errors in > other components Fennec now needs android-ndk-9, and UnixSocket build failure is fixed in 854904.
(In reply to Mounir Lamouri (:mounir) from comment #25) > Part 2/3: DOM : v2 > Review of attachment 727079 [details] [diff] [review]: > ----------------------------------------------------------------- > Doesn't that break WebSMS on Android? After rebuild again locally and android builds in tbpl turn green, I can place a solid NO here :)
(In reply to Vicamo Yang [:vicamo][:vyang] from comment #31) > (In reply to Mounir Lamouri (:mounir) from comment #25) > > Part 2/3: DOM : v2 > > Review of attachment 727079 [details] [diff] [review]: > > ----------------------------------------------------------------- > > Doesn't that break WebSMS on Android? > > After rebuild again locally and android builds in tbpl turn green, I can > place a solid NO here :) Great! and thanks for looking, really appreciated! :)
Waiting bug 851032 to get ready.
Is there already a bug to add the thread_id in SmsFilter ? Or maybe we don't want to do that ? (cf comment 3)
(In reply to Julien Wajsberg [:julienw] from comment #34) > Is there already a bug to add the thread_id in SmsFilter ? Or maybe we don't > want to do that ? (cf comment 3) Vicamo is on vacation. I guess you're taking about bug 854790.
That's it, thanks a log Gene.
This doesn't apply on b2g18 (probably because of the mms work ?). We'll need rebased patch for b2g18 and b2g18_v1_0_1 when it will be ready to land.
ok, current moz central is borked right now so I'd really love to have these patches for the b2g18 branch. I tried to do it myself but the RadioInterfaceLayer.js part is not trivial so I'd like that somebody else does that...
Attached patch Part 3/3: RIL & test cases : v5 (deleted) — Splinter Review
Rebase only.
Attachment #729555 - Attachment is obsolete: true
Attachment #730697 - Flags: review+
Attached patch [b2g18] Part 1/3: IDL changes (obsolete) (deleted) — Splinter Review
Attached patch [b2g18] merged patch (obsolete) (deleted) — Splinter Review
Attachment #730700 - Attachment is obsolete: true
Attached patch [b2g18_v1_0_1] merged patch (obsolete) (deleted) — Splinter Review
(In reply to Julien Wajsberg [:julienw] from comment #38) > ok, current moz central is borked right now so I'd really love to have these > patches for the b2g18 branch. I tried to do it myself but the > RadioInterfaceLayer.js part is not trivial so I'd like that somebody else > does that... Could you please test m-c only.
In the mean time Borja told me how to debork the permission problem so I'm now testing with m-c, thanks.
Blocks: b2g-sms, b2g-mms
Summary: WebSMS: expose thread ID to content → B2G SMS & MMS: expose thread ID to content
Comment on attachment 729552 [details] [diff] [review] Part 1/3: IDL changes : v3 Review of attachment 729552 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/mobilemessage/interfaces/nsIDOMMozMmsMessage.idl @@ +22,5 @@ > readonly attribute DOMString type; > > readonly attribute long id; > > + readonly attribute unsigned long long threadId; Hi Vicamo, I'd prefer using |readonly attribute long threadId| to represent a thread ID, so that we can use something like -1 to specify an invalid value. I understand each nsIDOMMoz{Sms,Mms}Message must have a valid thread ID, but the thread ID could be an invalid one for a SmsFilter. Please see bug 854790 for my patch (going to upload soon). If I use |attribute long threadId| for the SmsFilter, then we should use the same type for a nsIDOMMoz{Sms,Mms}Message or IPDL data to avoid overflow or dropping bits. ::: dom/mobilemessage/interfaces/nsIDOMMozSmsMessage.idl @@ +13,5 @@ > readonly attribute DOMString type; > > readonly attribute long id; > > + readonly attribute unsigned long long threadId; Ditto. ::: dom/mobilemessage/interfaces/nsIMobileMessageCallback.idl @@ +5,5 @@ > #include "nsISupports.idl" > > dictionary SmsThreadListItem > { > + unsigned long long id; Ditto. ::: dom/mobilemessage/interfaces/nsIMobileMessageService.idl @@ +17,5 @@ > interface nsIMobileMessageService : nsISupports > { > [implicit_jscontext] > nsIDOMMozSmsMessage createSmsMessage(in long id, > + in unsigned long long threadId, Ditto. @@ +29,5 @@ > in bool read); > > [implicit_jscontext] > nsIDOMMozMmsMessage createMmsMessage(in long id, > + in unsigned long long threadId, Ditto. ::: dom/mobilemessage/src/ipc/PSmsRequest.ipdl @@ +86,5 @@ > }; > > struct ThreadListItem > { > + uint64_t id; Ditto. ::: dom/mobilemessage/src/ipc/SmsTypes.ipdlh @@ +24,5 @@ > > struct SmsMessageData > { > int32_t id; > + uint64_t threadId; Ditto.
Attachment #729552 - Flags: feedback?(vyang)
Attachment #729552 - Flags: feedback?(vyang)
(In reply to Gene Lian [:gene] from comment #45) > Hi Vicamo, > > I'd prefer using |readonly attribute long threadId| to represent a thread > ID, so that we can use something like -1 to specify an invalid value. I > understand each nsIDOMMoz{Sms,Mms}Message must have a valid thread ID, but > the thread ID could be an invalid one for a SmsFilter. The type of a auto_increment key of indexed db is int64, so thread::id must be at least int64. Since message::id is signed, I agree we should re-type thread::id to signed int64. Note that we should also make message::id an auto_increment key as well, so it should be int64 typed in the future, too. I'm not saying we re-type thread::id here for SmsFilter. SmsFilter should still reject negative threadId values. And I don't really think either signed or unsigned thread::id will ever bring any difficulty in implementing bug 854790.
Flags: needinfo?(mounir)
Just had a short discuss on IRC. No strong preference over this topic, but we usually use null for invalid values, so will keep it unsigned here. :)
Flags: needinfo?(mounir)
Blocked by reviews in bug 851032.
Whiteboard: NO_UPLIFT
Im gonna test it again due to Julien's comments.
Whiteboard: NO_UPLIFT → [NO_UPLIFT]
We have finished implementing this functionality in commercial RIL. However due to some technical issues we are unable to make an AU release tonight. The AU should be available tomorrow.
Whiteboard: [NO_UPLIFT]
Can we please get this landed on v1-train asap? Ideally before the next nightly QA build
(In reply to Michael Vines [:m1] [:evilmachines] from comment #51) > Can we please get this landed on v1-train asap? Ideally before the next > nightly QA build Gene, can you do this before 7am PST tomorrow? thats when builds get generated for QA. Thanks!
Flags: needinfo?(gene.lian)
I just tried to merge the uploaded patches but failed. The patches seem not updated on the top of tips. :( Should let Vicamo do this by himself. Sorry I don't have 100% confidence to safely land this. Btw, I going to fly soon to Madrid to joint the W3C API meeting, so I'm not available during the weekend. Sorry for any delayed response. These 2 days are our Taiwanese traditional holidays...
Flags: needinfo?(gene.lian) → needinfo?(vyang)
I've rebased the patches and am doing last verifications. Will make sure it's landed on time.
Flags: needinfo?(vyang)
\^O^/ Thanks Vicamo!
Attached patch Part 2/3: DOM : v4 (deleted) — Splinter Review
Rebase only.
Attachment #729554 - Attachment is obsolete: true
Attachment #733753 - Flags: review+
please don't land this before bug 851032 which is nearly ready.
Bug 851032 is ready. Let's synchronize and land these 2 on all branches. Ryan will you be able to land this as the Taipei guys are in holidays right now ? Let's synchronize on IRC !
Flags: needinfo?(ryanvm)
You don't have to. I will.
Flags: needinfo?(ryanvm)
ok Vicamo, please ping me on IRC when you're ready.
Attached patch [b2g18_v1_0_1] merged patch (obsolete) (deleted) — Splinter Review
update commit summary only.
Attachment #730705 - Attachment is obsolete: true
(In reply to Vicamo Yang [:vicamo][:vyang] from comment #62) > Based on comment 52, push to b2g18 & b2g18_v1_0_1 before m-c gets fixed. > > b2g18: > https://hg.mozilla.org/releases/mozilla-b2g18/rev/aa2479ed2395 > > b2g18_v1_0_1: > https://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/08a2398a0ddc Backed out for bustage. Thanks for watching your push... https://hg.mozilla.org/releases/mozilla-b2g18/rev/0fa628142536 https://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/9aa5d2c570d0 https://tbpl.mozilla.org/php/getParsedLog.php?id=21470052&tree=Mozilla-B2g18 nsScreenManagerAndroid.cpp ../../../widget/android/AndroidJNI.cpp: In function 'void Java_org_mozilla_gecko_GeckoAppShell_notifySmsReceived(JNIEnv*, _jclass*, _jstring*, _jstring*, jint, jlong)': ../../../widget/android/AndroidJNI.cpp:217: error: no matching function for call to 'mozilla::dom::mobilemessage::SmsMessageData::SmsMessageData(int, mozilla::dom::mobilemessage::DeliveryState, mozilla::dom::mobilemessage::DeliveryStatus, mozilla::nsJNIString, const nsString&, mozilla::nsJNIString, mozilla::dom::mobilemessage::MessageClass, jlong&, bool)' ../../ipc/ipdl/_ipdlheaders/mozilla/dom/mobilemessage/SmsTypes.h:143: note: candidates are: mozilla::dom::mobilemessage::SmsMessageData::SmsMessageData(const mozilla::dom::mobilemessage::SmsMessageData&) ../../ipc/ipdl/_ipdlheaders/mozilla/dom/mobilemessage/SmsTypes.h:127: note: mozilla::dom::mobilemessage::SmsMessageData::SmsMessageData(const int32_t&, const uint64_t&, const mozilla::dom::mobilemessage::DeliveryState&, const mozilla::dom::mobilemessage::DeliveryStatus&, const nsString&, const nsString&, const nsString&, const mozilla::dom::mobilemessage::MessageClass&, const uint64_t&, const bool&) ../../ipc/ipdl/_ipdlheaders/mozilla/dom/mobilemessage/SmsTypes.h:125: note: mozilla::dom::mobilemessage::SmsMessageData::SmsMessageData() ../../../widget/android/AndroidJNI.cpp: In function 'void Java_org_mozilla_gecko_GeckoAppShell_notifySmsSent(JNIEnv*, _jclass*, jint, _jstring*, _jstring*, jlong, jint)': ../../../widget/android/AndroidJNI.cpp:269: error: no matching function for call to 'mozilla::dom::mobilemessage::SmsMessageData::SmsMessageData(jint&, mozilla::dom::mobilemessage::DeliveryState, mozilla::dom::mobilemessage::DeliveryStatus, const nsString&, mozilla::nsJNIString, mozilla::nsJNIString, mozilla::dom::mobilemessage::MessageClass, jlong&, bool)' ../../ipc/ipdl/_ipdlheaders/mozilla/dom/mobilemessage/SmsTypes.h:143: note: candidates are: mozilla::dom::mobilemessage::SmsMessageData::SmsMessageData(const mozilla::dom::mobilemessage::SmsMessageData&) ../../ipc/ipdl/_ipdlheaders/mozilla/dom/mobilemessage/SmsTypes.h:127: note: mozilla::dom::mobilemessage::SmsMessageData::SmsMessageData(const int32_t&, const uint64_t&, const mozilla::dom::mobilemessage::DeliveryState&, const mozilla::dom::mobilemessage::DeliveryStatus&, const nsString&, const nsString&, const nsString&, const mozilla::dom::mobilemessage::MessageClass&, const uint64_t&, const bool&) ../../ipc/ipdl/_ipdlheaders/mozilla/dom/mobilemessage/SmsTypes.h:125: note: mozilla::dom::mobilemessage::SmsMessageData::SmsMessageData() ../../../widget/android/AndroidJNI.cpp: In function 'void Java_org_mozilla_gecko_GeckoAppShell_notifySmsDelivery(JNIEnv*, _jclass*, jint, jint, _jstring*, _jstring*, jlong)': ../../../widget/android/AndroidJNI.cpp:313: error: no matching function for call to 'mozilla::dom::mobilemessage::SmsMessageData::SmsMessageData(jint&, mozilla::dom::mobilemessage::DeliveryState, mozilla::dom::mobilemessage::DeliveryStatus, const nsString&, mozilla::nsJNIString, mozilla::nsJNIString, mozilla::dom::mobilemessage::MessageClass, jlong&, bool)' ../../ipc/ipdl/_ipdlheaders/mozilla/dom/mobilemessage/SmsTypes.h:143: note: candidates are: mozilla::dom::mobilemessage::SmsMessageData::SmsMessageData(const mozilla::dom::mobilemessage::SmsMessageData&) ../../ipc/ipdl/_ipdlheaders/mozilla/dom/mobilemessage/SmsTypes.h:127: note: mozilla::dom::mobilemessage::SmsMessageData::SmsMessageData(const int32_t&, const uint64_t&, const mozilla::dom::mobilemessage::DeliveryState&, const mozilla::dom::mobilemessage::DeliveryStatus&, const nsString&, const nsString&, const nsString&, const mozilla::dom::mobilemessage::MessageClass&, const uint64_t&, const bool&) ../../ipc/ipdl/_ipdlheaders/mozilla/dom/mobilemessage/SmsTypes.h:125: note: mozilla::dom::mobilemessage::SmsMessageData::SmsMessageData() ../../../widget/android/AndroidJNI.cpp: In function 'void Java_org_mozilla_gecko_GeckoAppShell_notifyGetSms(JNIEnv*, _jclass*, jint, jint, _jstring*, _jstring*, _jstring*, jlong, jint)': ../../../widget/android/AndroidJNI.cpp:395: error: no matching function for call to 'mozilla::dom::mobilemessage::SmsMessageData::SmsMessageData(jint&, mozilla::dom::mobilemessage::DeliveryState&, mozilla::dom::mobilemessage::DeliveryStatus, mozilla::nsJNIString, mozilla::nsJNIString&, mozilla::nsJNIString, mozilla::dom::mobilemessage::MessageClass, jlong&, bool)' ../../ipc/ipdl/_ipdlheaders/mozilla/dom/mobilemessage/SmsTypes.h:143: note: candidates are: mozilla::dom::mobilemessage::SmsMessageData::SmsMessageData(const mozilla::dom::mobilemessage::SmsMessageData&) ../../ipc/ipdl/_ipdlheaders/mozilla/dom/mobilemessage/SmsTypes.h:127: note: mozilla::dom::mobilemessage::SmsMessageData::SmsMessageData(const int32_t&, const uint64_t&, const mozilla::dom::mobilemessage::DeliveryState&, const mozilla::dom::mobilemessage::DeliveryStatus&, const nsString&, const nsString&, const nsString&, const mozilla::dom::mobilemessage::MessageClass&, const uint64_t&, const bool&) ../../ipc/ipdl/_ipdlheaders/mozilla/dom/mobilemessage/SmsTypes.h:125: note: mozilla::dom::mobilemessage::SmsMessageData::SmsMessageData() ../../../widget/android/AndroidJNI.cpp: In function 'void Java_org_mozilla_gecko_GeckoAppShell_notifyListCreated(JNIEnv*, _jclass*, jint, jint, jint, _jstring*, _jstring*, _jstring*, jlong, jint)': ../../../widget/android/AndroidJNI.cpp:576: error: no matching function for call to 'mozilla::dom::mobilemessage::SmsMessageData::SmsMessageData(jint&, mozilla::dom::mobilemessage::DeliveryState&, mozilla::dom::mobilemessage::DeliveryStatus, mozilla::nsJNIString, mozilla::nsJNIString&, mozilla::nsJNIString, mozilla::dom::mobilemessage::MessageClass, jlong&, bool)' ../../ipc/ipdl/_ipdlheaders/mozilla/dom/mobilemessage/SmsTypes.h:143: note: candidates are: mozilla::dom::mobilemessage::SmsMessageData::SmsMessageData(const mozilla::dom::mobilemessage::SmsMessageData&) ../../ipc/ipdl/_ipdlheaders/mozilla/dom/mobilemessage/SmsTypes.h:127: note: mozilla::dom::mobilemessage::SmsMessageData::SmsMessageData(const int32_t&, const uint64_t&, const mozilla::dom::mobilemessage::DeliveryState&, const mozilla::dom::mobilemessage::DeliveryStatus&, const nsString&, const nsString&, const nsString&, const mozilla::dom::mobilemessage::MessageClass&, const uint64_t&, const bool&) ../../ipc/ipdl/_ipdlheaders/mozilla/dom/mobilemessage/SmsTypes.h:125: note: mozilla::dom::mobilemessage::SmsMessageData::SmsMessageData() ../../../widget/android/AndroidJNI.cpp: In function 'void Java_org_mozilla_gecko_GeckoAppShell_notifyGotNextMessage(JNIEnv*, _jclass*, jint, jint, _jstring*, _jstring*, _jstring*, jlong, jint)': ../../../widget/android/AndroidJNI.cpp:627: error: no matching function for call to 'mozilla::dom::mobilemessage::SmsMessageData::SmsMessageData(jint&, mozilla::dom::mobilemessage::DeliveryState&, mozilla::dom::mobilemessage::DeliveryStatus, mozilla::nsJNIString, mozilla::nsJNIString&, mozilla::nsJNIString, mozilla::dom::mobilemessage::MessageClass, jlong&, bool)' ../../ipc/ipdl/_ipdlheaders/mozilla/dom/mobilemessage/SmsTypes.h:143: note: candidates are: mozilla::dom::mobilemessage::SmsMessageData::SmsMessageData(const mozilla::dom::mobilemessage::SmsMessageData&) ../../ipc/ipdl/_ipdlheaders/mozilla/dom/mobilemessage/SmsTypes.h:127: note: mozilla::dom::mobilemessage::SmsMessageData::SmsMessageData(const int32_t&, const uint64_t&, const mozilla::dom::mobilemessage::DeliveryState&, const mozilla::dom::mobilemessage::DeliveryStatus&, const nsString&, const nsString&, const nsString&, const mozilla::dom::mobilemessage::MessageClass&, const uint64_t&, const bool&) ../../ipc/ipdl/_ipdlheaders/mozilla/dom/mobilemessage/SmsTypes.h:125: note: mozilla::dom::mobilemessage::SmsMessageData::SmsMessageData()
Vicamo, will you be able to fix this ?
(In reply to Julien Wajsberg [:julienw] from comment #65) > Vicamo, will you be able to fix this ? Hey vicamo, looks like bug 851032 got uplifted to v1-train. mind taking a stab at this now? Thanks!
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
(In reply to Julien Wajsberg [:julienw] from comment #65) > Vicamo, will you be able to fix this ? Have a quick fix for this, but will test/land them again with Fennec builds a few hours later.
Blocks: 859098
Attached patch Part 4 (follow-up) (deleted) — Splinter Review
use JS::Value instead and fix possible fennec build bustage
Attached patch [b2g18] merged patch : v2 (deleted) — Splinter Review
Fix Fennec build bustage.
Attachment #730704 - Attachment is obsolete: true
Fix Fennec build bustage.
Attachment #733824 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: