Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | <!-- This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | - License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
michael@0 | 4 | |
michael@0 | 5 | <!-- Pick off begin time as a cgi argument and print it out --> |
michael@0 | 6 | <html> |
michael@0 | 7 | |
michael@0 | 8 | <!-- call this with an arg, e.g. file://foo/startup-test.html?begin=12345678 --> |
michael@0 | 9 | |
michael@0 | 10 | <!-- In-line this to avoid compilation. --> |
michael@0 | 11 | <body onload=" |
michael@0 | 12 | var now = (new Date()).getTime(); |
michael@0 | 13 | var begin = document.location.search.split('=')[1]; // ?begin=nnnnn |
michael@0 | 14 | var startupTime = now - begin; |
michael@0 | 15 | document.write('\n\nStartup time = ' + startupTime + ' ms<br>'); |
michael@0 | 16 | if (window.dump) { |
michael@0 | 17 | dump('\n\n__startuptime,' + startupTime + '\n\n'); |
michael@0 | 18 | } |
michael@0 | 19 | "> |
michael@0 | 20 | </body> |
michael@0 | 21 | </html> |