mirror of
https://github.com/servo/servo.git
synced 2025-08-15 02:15:33 +01:00
Update web-platform-tests to revision 3b3585e368841b77caea8576fa56cef91c3fbdf0
This commit is contained in:
parent
d00639c55f
commit
3b4f0ec0bb
541 changed files with 14609 additions and 3288 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue