Google debug
December 25th, 2006 by Lev, Filed under: Web, Commentary, Google
I love Google’s web applications. They are cool and actually set a new standard for the Web we know today. It’s fun and educating to check out their JavaScript code. And as usual, when you dig into somebody’s code, you find surprises. For example Google use a concept of pushing JavaScript errors and debug info to the server.
Typical code section looking like:
try {
/* bla bla */
} catch(e) {
re(e);
}
function re(e) {
var t = gather_client_data();
t += get_stack_info(e);
postASYNC(t);
}
Any error/bug in the web application will be silently pushed to the server, without you even knowing it happened ![]()
It’s a nice approach to track the bugs, though I feel a bit uncomfortable when somebody is trying to hide something from me.
I understand that Google owns you anyways, having all the information on their servers. Still I want to know that something unusual is happening in the application I use.
-
Find security holes before hackers do. Sign up for a Vulnerability Assessment now!















Subscribe
Man, since I’ve started to discover this kind of shit in their js (mostly by looking at FF JS console and wondering why something is not working) I am trying to get away from it…
Google owns you - said enough..
I think it’s a neat trick.
Still it can be a headache for them if ppl just start faking JS errors to confuse their staff.
I’d love to know how they go through all the reported errors and make some intelligence out of them.
AL:
I think something like that - 10% or more clients get same error, it’s worth to take a look into.
XenoMuta:
You need a reaaaaal huge botnet to be able to confuse em.
Week’s Links…
Intent Based Filtering of SpamThe Snort Top 10Wireless drivers are now a major vulnerabilityFBI is inside every recent cellphoneAACS Cracked?Database errors - real life of security vendors tooAnother new rogue antispyware on the loose: MrAntispyWhos…
n0thing much just b00st up the google server..