gecko-dev/third_party
Emilio Cobos Álvarez e469d8b05b Bug 1482043 - Avoid starting the benchmark twice with the same client. r=jmaher
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
2018-08-10 03:26:18 +00:00
..
aom Bug 1476408 - Only build stats code if examples are enabled; r=TD-Linux 2018-07-24 10:37:28 -04:00
python Bug 1481555: Use lldb's python API to summarise nsAtoms. r=froydnj 2018-08-08 15:11:22 +00:00
rust Bug 1445451 - vendor rkv; r=froydnj 2018-08-09 19:42:17 +00:00
webkit/PerformanceTests Bug 1482043 - Avoid starting the benchmark twice with the same client. r=jmaher 2018-08-10 03:26:18 +00:00
moz.build