> We’re working on a protocol adapter that will allow
> clients using the Firefox Remote Debugging Protocol –
> including the Developer Tools and WebIDE – talk to all
> mobile browsers, regardless of rendering engine or
> runtime. Our first targets are Chrome for Android and
> Safari on iOS.
My company expects all of our internal web applications to function on the executives' iPads, but they refuse to purchase Macs on which to debug issues that manifest only on mobile Safari. And since the mobile Safari developer console was disabled in iOS 6, I haven't come up with anything better than alert-based debugging techniques (Firebug Lite was broken the last time that I tried, though admittedly that was a while ago). If Mozilla truly reverse-engineers Apple's remote debugging protocol it would be a godsend for us.
(And if I'm just an idiot who's overlooking some simple way of debugging mobile Safari, please let me know.)
> If Mozilla truly reverse-engineers Apple's remote debugging protocol it would be a godsend for us.
Google did this a while ago: https://github.com/google/ios-webkit-debug-proxy It works well for connecting Chrome DevTools to Safari, automating Mobile Safari through ChromeDriver, or hooking up your iOS device to a private instance of WebPageTest.
Thanks, I've never heard of this before and it sounds very useful.
...Or rather, it would be very useful were it not for the fact that it only appears to run on Linux and OS X, whereas my employer-granted computer is running—drumroll, please—Windows XP! And like I said, these are all internal applications, and I don't have the authority to VPN in on any computer that I please.
I've seen companies adopt stricter compliance rules than required by law when their customers demand it. I have no particular knowledge of this specific case.
That sucks, though it would definitely be much easier to run a virtual linux instance on that box than an OS X one as someone else suggested.
I will say that being able to debug pages in mobile safari directly (via Safari on a mac) makes a huge difference, so if this works even partially as well, it's worth investigating if you can get it running.
Not accurate right now. Firefox and Chrome spoke about this at EdgeConf this year, along with the remotedebug founder, and basically said "Please go forth and develop a shim layer common protocol in the community. However, all browser vendors standardizing to a common protocol would slow us down too much."
Video: https://www.youtube.com/watch?v=tQG6PljqmLc#t=1013 (around this timecode)
Hear, hear. None of this needs to be a standard to show a web page so I'm personally happy to let developers hack on what lets them be more productive, and let browsers continue to innovate. It's way too early to get a committee process involved, and innovation will happen faster this way.
Actually this article points to the reverse happening - they build bridges to be able to connect to each others protocol to work around having to use a common protocol.
So instead of a one-time cost, they'd rather bleed money due to lowered productivity? I don't know how much time you spend developing internal tools, but I'd expect the cost in lost time to surpass the cost of a few (possibly shared) development machines rather quickly.
...or the inability of developers to properly demonstrate to their managers why something is needed. simply saying it makes it easier is not enough, learn to sell and spin in a way that does not make you seem lazy and you will be surprised what you can convince people to do.
Which is why I'm increasingly bullish on the idea that the best managers in the future are going to be engineers that learned management skills.
Historically, software engineers have been the minority of the worker bees in a company. As companies trend towards more and more technical folk at the bottom of the work pyramid (not just software engineers, but anyone doing highly technical work that increasingly incorporates ways of working that have been the status quo among developers), managers are going to need to be able to understand the technical side more and more.
We'll eventually reach the point where it will no longer be enough for a developer to spend inordinate amounts of time convincing the manager what the right thing is. That works for the low hanging fruit that most developers can argue for. Once most if not all of the low hanging fruit has been picked, not picking the higher hanging fruit will be as much the fault of the manager as the engineers that need to convince the manager of their importance.
There will come a time where technically competent managers become a requirement, not just a luxury.
The sad answer is that your co' is what is incorrect. If you have "executives" plural you have the budget in your organization to buy a dev mac and a dev device.
I agree that they're being foolish (though hey, they're the ones paying me to waste my time), but I'm just as peeved at Apple for removing a perfectly-workable self-contained solution in favor of yet more platform lock-in.
Here's a crazy idea: what if we stop buying apple products until they stop pulling this walled garden crap and we are free to use the overpriced hardware we paid for as we damn please?
(And if I'm just an idiot who's overlooking some simple way of debugging mobile Safari, please let me know.)