Closed
Bug 1039187
Opened 10 years ago
Closed 10 years ago
[Bluetooth] Bluetooth2 build fail
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla33
People
(Reporter: tzimmermann, Assigned: peterv)
References
Details
Attachments
(3 files)
9.06 KB,
patch
|
Details | Diff | Splinter Review | |
15.07 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
14.27 KB,
patch
|
Details | Diff | Splinter Review |
Since yesterday, Bluetooth2 builds fail with
> In file included from LocationBinding.cpp:3:0,
> from UnifiedBindings17.cpp:2:
> ../../dist/include/mozilla/dom/LocationBinding.h: In function 'bool mozilla::dom::LocationBinding::IsPermitted(JSFlatString*, jschar, bool)':
> ../../dist/include/mozilla/dom/LocationBinding.h:68:57: error: 'JS_FlatStringEqualsAscii' was not declared in this scope
> ../../dist/include/mozilla/dom/LocationBinding.h:74:61: error: 'JS_FlatStringEqualsAscii' was not declared in this scope
Reporter | ||
Comment 1•10 years ago
|
||
When I apply 'new-api.patch', builds fail. The current Bluetooth module works.
Flags: needinfo?(btian)
Reporter | ||
Comment 2•10 years ago
|
||
I can work around the problem by including 'jsapi.h' in 'LocationBinding.h'.
Reporter | ||
Comment 3•10 years ago
|
||
Patch to enable building Bluetooth2.
Reporter | ||
Comment 4•10 years ago
|
||
Jocelyn found that this problem might have been introduced by bug 832014.
Flags: needinfo?(btian) → needinfo?(peterv)
Comment 5•10 years ago
|
||
Just a finding to share, LocationBinding.h can use JS_FlatStringEqualsAscii without include 'jsapi.h' if we didn't apply our newapi-config.patch.
Assignee | ||
Updated•10 years ago
|
Comment 6•10 years ago
|
||
Hmm. This is presumably the IsPermitted method. We could make it out-of-line if that's OK perf wise; else we need to twiddle includes.
Flags: needinfo?(bobbyholley)
Comment 7•10 years ago
|
||
Making it out-of-line is probably fine, I think.
Flags: needinfo?(bobbyholley)
Assignee | ||
Comment 8•10 years ago
|
||
This keeps it inline but fixes the headers. Let me know if you prefer I do the uninlining instead. diff -w coming up.
Attachment #8458311 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 9•10 years ago
|
||
Comment 10•10 years ago
|
||
Comment on attachment 8458311 [details] [diff] [review] v1 >+ elif descriptor.needsSpecialGenericOps(): >+ props.isSetter = True >+ elif m.getExtendedAttribute("Replaceable"): >+ if descriptor.needsSpecialGenericOps(): >+ props.isSetter = True Those should both be isGenericSetter, no? r=me with that fixed
Attachment #8458311 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 12•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e53c1891fd6b
https://hg.mozilla.org/mozilla-central/rev/e53c1891fd6b
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.1 S2 (15aug)
Updated•10 years ago
|
Component: Bluetooth → DOM
Product: Firefox OS → Core
Target Milestone: 2.1 S2 (15aug) → mozilla33
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•