Closed Bug 968090 Opened 10 years ago Closed 10 years ago

Flatfish build fail due to Navigator::HasWifiManagerSupport error

Categories

(Firefox OS Graveyard :: Wifi, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
1.4 S1 (14feb)

People

(Reporter: hchang, Assigned: hchang)

Details

Attachments

(1 file, 1 obsolete file)

Error message:

In file included from UnifiedBindings17.cpp:134:0:
MozWifiP2pManagerBinding.cpp: In function 'bool mozilla::dom::MozWifiP2pGroupOwnerBinding::ConstructorEnabled(JSContext*, JS::Handle<JSObject*>)':
MozWifiP2pManagerBinding.cpp:707:10: error: 'HasWifiManagerSupport' is not a member of 'mozilla::dom::Navigator'
In file included from UnifiedBindings17.cpp:134:0:
MozWifiP2pManagerBinding.cpp: In function 'bool mozilla::dom::MozWifiP2pManagerBinding::ConstructorEnabled(JSContext*, JS::Handle<JSObject*>)':
MozWifiP2pManagerBinding.cpp:1950:10: error: 'HasWifiManagerSupport' is not a member of 'mozilla::dom::Navigator'
In file included from UnifiedBindings17.cpp:146:0:
MozWifiP2pStatusChangeEventBinding.cpp: In function 'bool mozilla::dom::MozWifiP2pStatusChangeEventBinding::ConstructorEnabled(JSContext*, JS::Handle<JSObject*>)':
MozWifiP2pStatusChangeEventBinding.cpp:394:10: error: 'HasWifiManagerSupport' is not a member of 'mozilla::dom::Navigator'

The root cause is Navigator::HasWifiManagerSupport should still present when MOZ_B2G_RIL is off.
Assignee: nobody → hchang
Attached patch bug968090.patch (obsolete) — Splinter Review
Henry, it can build successfully with your patch.
(In reply to Henry Chang [:henry] from comment #1)
> Created attachment 8370615 [details] [diff] [review]
> bug968090.patch

Henry, could you invite reviewer to review your patch? The patch must be land on master to avoid build break of tablet device. Please let us know if any concern.
Flags: needinfo?(hchang)
(In reply to Danny Liang [:dliang] from comment #3)
> (In reply to Henry Chang [:henry] from comment #1)
> > Created attachment 8370615 [details] [diff] [review]
> > bug968090.patch
> 
> Henry, could you invite reviewer to review your patch? The patch must be
> land on master to avoid build break of tablet device. Please let us know if
> any concern.

Sure! I usually ask Vincent Chang for reviewing wifi related patches but he's on vacation.
If you need this patch landed by today, I could ask someone else to review instead.

Thanks.
Flags: needinfo?(hchang)
Comment on attachment 8370615 [details] [diff] [review]
bug968090.patch

Hi Gene, could you please help review this simple patch? It just put two functions out of MOZ_B2G_RIL to prevent from build fail when MOZ_B2G_RIL is not defined. Flatfish developers require this patch to fix the build error. Thanks.
Attachment #8370615 - Flags: review?(gene.lian)
Comment on attachment 8370615 [details] [diff] [review]
bug968090.patch

Review of attachment 8370615 [details] [diff] [review]:
-----------------------------------------------------------------

Nice! Thank you!
Attachment #8370615 - Flags: review?(gene.lian) → review+
(In reply to Gene Lian [:gene] (needinfo? encouraged) from comment #6)
> Comment on attachment 8370615 [details] [diff] [review]
> bug968090.patch
> 
> Review of attachment 8370615 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> Nice! Thank you!

Thanks! I am going to update the commit message and mark checkin-needed. Thanks
Keywords: checkin-needed
Attachment #8370615 - Attachment is obsolete: true
https://hg.mozilla.org/mozilla-central/rev/ab5d617096f2
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.4 S1 (14feb)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: