Update web-platform-tests to revision 3b3585e368841b77caea8576fa56cef91c3fbdf0

This commit is contained in:
Ms2ger 2016-09-26 10:52:50 +02:00
parent d00639c55f
commit 3b4f0ec0bb
541 changed files with 14609 additions and 3288 deletions

View file

@ -434,6 +434,21 @@ window.onload =
output.textContent += text + "\r\n";
}
add_completion_callback(function () {
var output = document.getElementById("output");
var button = document.createElement('button');
output.parentNode.insertBefore(button, output);
button.onclick = function () {
var showButton = output.style.display == 'none';
output.style.display = showButton ? null : 'none';
button.textContent = showButton ? 'Hide details' : 'Show details';
}
button.onclick();
var iframes = document.querySelectorAll('iframe');
for (var i = 0; i < iframes.length; i++)
iframes[i].parentNode.removeChild(iframes[i]);
});
/** pretty print a resource timeline entry. */
function logResourceEntry(entry) {
log("[" + entry.entryType + "] " + entry.name);