mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Include document title in report.
This commit is contained in:
parent
08d15e9466
commit
2857dbabbe
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ function formatLine(name, t) {
|
|||
function printPerfTiming() {
|
||||
print("[PERF] perf block start")
|
||||
formatLine("testcase", window.location);
|
||||
formatLine("title", document.title.replace(/,/g, ","));
|
||||
formatLine("navigationStart", performance.timing.navigationStart);
|
||||
formatLine("unloadEventStart", performance.timing.unloadEventStart);
|
||||
formatLine("unloadEventEnd", performance.timing.unloadEventEnd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue