forked from mirrors/gecko-dev
benchmar-report.js already has code like:
window.onload = function () {
document.body.removeChild(document.querySelector('main'));
startBenchmark();
}
So we avoid starting the test on load twice.
The throw when the style element was not there was saving us from reporting
twice, but the message interfered with the output that talos tries to parse.
At first sight, looks like this could also be a problem for speedometer, but
turns out it's not, since speedometer uses `<body onload="">`, and window.onload
overrides it.
That means that
https://hg.mozilla.org/mozilla-central/rev/162593bda5e167bea16b28637e85cc9d23f19c7c
is useless for Talos / Raptor, but it may be needed for PGO stuff, so I've kept
it for now.
Differential Revision: https://phabricator.services.mozilla.com/D3062
--HG--
extra : moz-landing-system : lando
|
||
|---|---|---|
| .. | ||
| aom | ||
| python | ||
| rust | ||
| webkit/PerformanceTests | ||
| moz.build | ||