There's a little bit of code duplication between the Wifi code and the workers in dom/system/gonk. This is a first attempt at consolidating some of this. More can be done later.
Comment on attachment 608119 [details] [diff] [review] v1 Thx for the review. I should've said that I was going away for a few days so that somebody else could've landed it. Bug 739115 obsoleted this patch now. I'll produce a new one.
5 years ago
Created attachment 610744 [details] [diff] [review] v2 Ported the bug 739115 goodness to systemlibs.js, obsoleting libnetutils.js once more. Rest of the patch is the same which was already r+'ed, so I'm going to have cjones rubberstamp this one since he wrote the fix for bug 739115.
Comment on attachment 610744 [details] [diff] [review] v2 Nice JS garbage fix in stringToIp.