I have run chrome with logging enabled.
To keep the log pure to the task, I set the launch page to
http://www.max-haut-debit.fr/transla...ator_page.html
I had already blanked the local storage cache for iframe2 & iframe3 by passing the empty textarea thru localstorage to iframe2 which passed it on to iframe3
As a result, this is what the log shows (I deleted the old logs):
Step 1
Therefore as chrome loaded: iframe2 & 3 loaded, and their scripts fired with almost no data.
Step 2
I pasted some english text using ctr+v into textarea.
onClicked the text.
The text was localstored
iframe2 reloaded, retrieving the text, and displaying it in english.
The text was then sent to google.
It was returned in French, and displayed.
Step 3
Step 3 already started probably milliseconds after onclicking the text.
iframe3 had reloaded retrieving the blank local storage.
This is the problem area, pausing the rolling reload, until translate has done its biz
Step 4
I onclicked iframe2, causing the translated text to go to localstorage.
iframe3 reloaded, retrieving the French text.
The text was sent to google.
It was returned in English, and displayed.
Step 5
I quit chrome, and copied the log to temp.
I copied the log to pastebin.
This log should only contain the tasks described above:
http://pastebin.com/016QNsSz