Closed
Bug 958010
Opened 11 years ago
Closed 11 years ago
Disable resolver on gonk
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: seinlin, Assigned: seinlin)
References
Details
Attachments
(1 file, 5 obsolete files)
2.98 KB,
patch
|
glandium
:
review+
|
Details | Diff | Splinter Review |
Resolver on gonk is not necessary now. It also causes gonk-kk build failed.
Assignee | ||
Comment 1•11 years ago
|
||
Hi Michael, Can you help me to have a look on this patch. I try on my build and it does work.
Assignee: nobody → kli
Attachment #8357837 -
Flags: review?(mwu)
Assignee | ||
Comment 2•11 years ago
|
||
Try server result: https://tbpl.mozilla.org/?tree=Try&rev=2b6847630c49
Comment 3•11 years ago
|
||
Seems to work on try. Maybe you need to clobber after making the change.
Comment 4•11 years ago
|
||
Comment on attachment 8357837 [details] [diff] [review] bug-958010-fix.patch Review of attachment 8357837 [details] [diff] [review]: ----------------------------------------------------------------- ::: moz.build @@ -16,5 @@ > > if not CONFIG['LIBXUL_SDK']: > add_tier_dir('base', ['mfbt']) > > - if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('android', 'gonk'): This can't be turned off on android - we're still supporting old android versions there, AFAIK.
Assignee | ||
Comment 5•11 years ago
|
||
Hi Michael, I am not sure if it is reasonable? I try on nexus 5 it does work.
Attachment #8357837 -
Attachment is obsolete: true
Attachment #8357837 -
Flags: review?(mwu)
Attachment #8358176 -
Flags: review?(mwu)
Assignee | ||
Comment 6•11 years ago
|
||
Try server result: https://tbpl.mozilla.org/?tree=Try&rev=7f5b16412ac8
Assignee | ||
Comment 7•11 years ago
|
||
Comment on attachment 8358176 [details] [diff] [review] bug-958010-fix-2.patch I'll update a new patch later.
Attachment #8358176 -
Flags: review?(mwu)
Assignee | ||
Comment 8•11 years ago
|
||
Hi Michael, I verified on gonk-jb build. After resolver is disabled DNS will not work. I can ping hinet DNS server, but can't resolve any host. --- root@mako:/ # ping www.google.com.tw ping: unknown host www.google.com.tw root@mako:/ # ping 168.95.1.1 PING 168.95.1.1 (168.95.1.1) 56(84) bytes of data. 64 bytes from 168.95.1.1: icmp_seq=1 ttl=248 time=23.2 ms 64 bytes from 168.95.1.1: icmp_seq=2 ttl=248 time=21.4 ms ---
Comment 9•11 years ago
|
||
Hi Michael, As we discussed, the resolver can be disabled to wrap on gonk-kk version. After leaving the issue on gonk-jb to another bug if we want to disable on gonk-jb too. Thanks.
Attachment #8359145 -
Flags: review?(mwu)
Comment 11•11 years ago
|
||
Hi Mike, In Gonk-KK version, FxOS can directly to use DNS resolver and no necessary to wrap it for using our internal one and actually this leads to build break. So this patch will leave FxOS on Gonk-kk version to use resolver from external library.
Attachment #8359145 -
Attachment is obsolete: true
Attachment #8359145 -
Flags: review?(mwu)
Attachment #8359151 -
Flags: review?(mh+mozilla)
Flags: needinfo?
Comment 12•11 years ago
|
||
Replace to a correct patch without missing "fi".
Attachment #8359151 -
Attachment is obsolete: true
Attachment #8359151 -
Flags: review?(mh+mozilla)
Attachment #8359152 -
Flags: review?(mh+mozilla)
Assignee | ||
Comment 13•11 years ago
|
||
Attachment #8358176 -
Attachment is obsolete: true
Attachment #8359152 -
Attachment is obsolete: true
Attachment #8359152 -
Flags: review?(mh+mozilla)
Attachment #8359212 -
Flags: review?(mh+mozilla)
Comment 14•11 years ago
|
||
Looks like fennec will break on 4.4 since it will have this enabled. Probably worth filing a bug for it to fix that.
Comment 16•11 years ago
|
||
Comment on attachment 8359212 [details] [diff] [review] Disable wrap of DNS resolver on Gonk-KK only Review of attachment 8359212 [details] [diff] [review]: ----------------------------------------------------------------- ::: moz.build @@ +17,5 @@ > if not CONFIG['LIBXUL_SDK']: > add_tier_dir('base', ['mfbt']) > > if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('android', 'gonk'): > + if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'gonk' or CONFIG['ANDROID_VERSION'] <= '18': it would be clearer if it was widget==android or (widget==gonk and version <= 18)
Attachment #8359212 -
Flags: review?(mh+mozilla) → review+
Comment 18•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/8af7fbd99315
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Flags: needinfo?(mwu)
Comment 19•11 years ago
|
||
What landed is neither what i reviewed or what i suggested. Which effectively disabled this dns code on android.
Assignee | ||
Comment 20•11 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #19) > What landed is neither what i reviewed or what i suggested. Which > effectively disabled this dns code on android. Mike, John will include what you suggested in bug 961598.
You need to log in
before you can comment on or make changes to this bug.
Description
•