gecko-dev/third_party/webkit/PerformanceTests/StyleBench
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
..
resources Bug 1481037 - Update StyleBench. r=jmaher 2018-08-07 15:31:47 +00:00
InteractiveRunner.html
README_MOZILLA Bug 1481037 - Update StyleBench. r=jmaher 2018-08-07 15:31:47 +00:00
index.html Bug 1482043 - Avoid starting the benchmark twice with the same client. r=jmaher 2018-08-10 03:26:18 +00:00
mozilla.patch Bug 1482043 - Avoid starting the benchmark twice with the same client. r=jmaher 2018-08-10 03:26:18 +00:00