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)
Core
DOM: Device Interfaces
Tracking
()
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
Comment 1•12 years ago
|
||
(tef-, doesn't seem bad enough to block on for v1.0.1 at this point)
blocking-b2g: tef? → -
Assignee | ||
Comment 2•12 years ago
|
||
Almost done, has to check automation tests other than marionette, and Android backend, I guess.
Assignee: nobody → vyang
Attachment #723953 -
Flags: superreview?(jonas)
Comment 3•12 years ago
|
||
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
Assignee | ||
Comment 4•12 years ago
|
||
(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.
Assignee | ||
Updated•12 years ago
|
Attachment #723953 -
Flags: superreview?(jonas)
Comment 5•12 years ago
|
||
Based on comment 3, not tracking. If this is wanted for v1.1 please nominate with reasoning and risk assessment.
Comment 6•12 years ago
|
||
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!
Updated•12 years ago
|
blocking-b2g: - → tef+
Assignee | ||
Comment 7•12 years ago
|
||
Since it's now a tef+, I'll do some more cleanups in the WIP patch and request for review asap.
Comment 8•12 years ago
|
||
Remember to expose this ID in the SMS Object AND the THREAD Object as well! Thanks! ;)
Assignee | ||
Comment 9•12 years ago
|
||
Attachment #723953 -
Attachment is obsolete: true
Attachment #725388 -
Flags: superreview?(jonas)
Attachment #725388 -
Flags: feedback?(fbsc)
Assignee | ||
Comment 10•12 years ago
|
||
Attachment #725389 -
Flags: review?(mounir)
Assignee | ||
Comment 11•12 years ago
|
||
Attachment #725390 -
Flags: review?(htsai)
Updated•12 years ago
|
Attachment #725389 -
Flags: review?(mounir) → review?(jonas)
Comment 12•12 years ago
|
||
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!
Assignee | ||
Comment 13•12 years ago
|
||
(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)
Comment 14•12 years ago
|
||
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!
Assignee | ||
Comment 15•12 years ago
|
||
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)
Assignee | ||
Updated•12 years ago
|
Attachment #727077 -
Attachment description: Part 1/3: IDL changes → Part 1/3: IDL changes : v2
Assignee | ||
Comment 16•12 years ago
|
||
Rebase
Attachment #725389 -
Attachment is obsolete: true
Attachment #725389 -
Flags: review?(jonas)
Attachment #727079 -
Flags: review?(jonas)
Assignee | ||
Comment 17•12 years ago
|
||
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)
Assignee | ||
Updated•12 years ago
|
Attachment #727082 -
Attachment description: Part 3/3: RIL & test cases → Part 3/3: RIL & test cases : v2
Assignee | ||
Comment 18•12 years ago
|
||
(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.
Assignee | ||
Comment 19•12 years ago
|
||
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)
Assignee | ||
Comment 20•12 years ago
|
||
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 21•12 years ago
|
||
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+
Assignee | ||
Comment 22•12 years ago
|
||
(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 23•12 years ago
|
||
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)
Updated•12 years ago
|
Attachment #727077 -
Flags: superreview?(jonas) → superreview?(mounir)
Comment 24•12 years ago
|
||
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 25•12 years ago
|
||
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+
Assignee | ||
Comment 26•12 years ago
|
||
(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
Assignee | ||
Comment 27•12 years ago
|
||
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+
Assignee | ||
Comment 28•12 years ago
|
||
r=mounir only
Attachment #727079 -
Attachment is obsolete: true
Attachment #729554 -
Flags: review+
Assignee | ||
Comment 29•12 years ago
|
||
r=gwagner only
Attachment #727126 -
Attachment is obsolete: true
Attachment #729555 -
Flags: review+
Assignee | ||
Comment 30•12 years ago
|
||
(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.
Assignee | ||
Comment 31•12 years ago
|
||
(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 :)
Comment 32•12 years ago
|
||
(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! :)
Assignee | ||
Comment 33•12 years ago
|
||
Waiting bug 851032 to get ready.
Comment 34•12 years ago
|
||
Is there already a bug to add the thread_id in SmsFilter ? Or maybe we don't want to do that ? (cf comment 3)
Comment 35•12 years ago
|
||
(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.
Comment 36•12 years ago
|
||
That's it, thanks a log Gene.
Comment 37•12 years ago
|
||
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.
Comment 38•12 years ago
|
||
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...
Assignee | ||
Comment 39•12 years ago
|
||
Rebase only.
Attachment #729555 -
Attachment is obsolete: true
Attachment #730697 -
Flags: review+
Assignee | ||
Comment 40•12 years ago
|
||
Assignee | ||
Comment 41•12 years ago
|
||
Attachment #730700 -
Attachment is obsolete: true
Assignee | ||
Comment 42•12 years ago
|
||
Assignee | ||
Comment 43•12 years ago
|
||
(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.
Comment 44•12 years ago
|
||
In the mean time Borja told me how to debork the permission problem so I'm now testing with m-c, thanks.
Updated•12 years ago
|
Comment 45•12 years ago
|
||
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)
Assignee | ||
Updated•12 years ago
|
Attachment #729552 -
Flags: feedback?(vyang)
Assignee | ||
Comment 46•12 years ago
|
||
(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)
Assignee | ||
Comment 47•12 years ago
|
||
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)
Assignee | ||
Comment 48•12 years ago
|
||
Blocked by reviews in bug 851032.
Updated•12 years ago
|
Whiteboard: NO_UPLIFT
Comment 49•12 years ago
|
||
Im gonna test it again due to Julien's comments.
Updated•12 years ago
|
Whiteboard: NO_UPLIFT → [NO_UPLIFT]
Comment 50•12 years ago
|
||
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.
Updated•12 years ago
|
Whiteboard: [NO_UPLIFT]
Comment 51•12 years ago
|
||
Can we please get this landed on v1-train asap? Ideally before the next nightly QA build
Comment 52•12 years ago
|
||
(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)
Comment 53•12 years ago
|
||
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)
Assignee | ||
Comment 54•12 years ago
|
||
I've rebased the patches and am doing last verifications. Will make sure it's landed on time.
Flags: needinfo?(vyang)
Comment 55•12 years ago
|
||
\^O^/ Thanks Vicamo!
Assignee | ||
Comment 56•12 years ago
|
||
Rebase only.
Attachment #729554 -
Attachment is obsolete: true
Attachment #733753 -
Flags: review+
Comment 57•12 years ago
|
||
please don't land this before bug 851032 which is nearly ready.
Comment 58•12 years ago
|
||
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)
Comment 60•12 years ago
|
||
ok Vicamo, please ping me on IRC when you're ready.
Assignee | ||
Comment 61•12 years ago
|
||
Assignee | ||
Comment 62•12 years ago
|
||
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
Assignee | ||
Comment 63•12 years ago
|
||
update commit summary only.
Attachment #730705 -
Attachment is obsolete: true
Comment 64•12 years ago
|
||
(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()
status-firefox21:
--- → wontfix
status-firefox23:
--- → fixed
Comment 65•12 years ago
|
||
Vicamo, will you be able to fix this ?
Comment 66•12 years ago
|
||
(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!
Comment 67•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4a62344fc87b
https://hg.mozilla.org/mozilla-central/rev/f7b7600dd8fa
https://hg.mozilla.org/mozilla-central/rev/624ff603f70c
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Assignee | ||
Comment 68•12 years ago
|
||
(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.
Assignee | ||
Comment 69•12 years ago
|
||
use JS::Value instead and fix possible fennec build bustage
Assignee | ||
Comment 70•12 years ago
|
||
Fix Fennec build bustage.
Attachment #730704 -
Attachment is obsolete: true
Assignee | ||
Comment 71•12 years ago
|
||
Fix Fennec build bustage.
Attachment #733824 -
Attachment is obsolete: true
Assignee | ||
Comment 72•12 years ago
|
||
Comment 73•12 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•