%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
// META: script=resources/user-timing-helper.js test(()=>{ const entry = new PerformanceMark("name"); assert_true(entry instanceof PerformanceMark); checkEntry(entry, {name: "name", entryType: "mark"}); }, "Mark entry can be created by 'new PerformanceMark(string)'."); test(()=>{ const entry = new PerformanceMark("name", {}); assert_true(entry instanceof PerformanceMark); checkEntry(entry, {name: "name", entryType: "mark"}); }, "Mark entry can be created by 'new PerformanceMark(string, {})'."); test(()=>{ const entry = new PerformanceMark("name", {startTime: 1}); assert_true(entry instanceof PerformanceMark); checkEntry(entry, {name: "name", entryType: "mark", startTime: 1}); }, "Mark entry can be created by 'new PerformanceMark(string, {startTime})'."); test(()=>{ const entry = new PerformanceMark("name", {detail: {info: "abc"}}); assert_true(entry instanceof PerformanceMark); checkEntry(entry, {name: "name", entryType: "mark", detail: {info: "abc"}}); }, "Mark entry can be created by 'new PerformanceMark(string, {detail})'."); test(()=>{ const entry = new PerformanceMark("name", {startTime: 1, detail: {info: "abc"}}); assert_true(entry instanceof PerformanceMark); checkEntry(entry, {name: "name", entryType: "mark", startTime: 1, detail: {info: "abc"}}); }, "Mark entry can be created by " + "'new PerformanceMark(string, {startTime, detail})'."); test(()=>{ const entry = new PerformanceMark("name"); assert_true(entry instanceof PerformanceMark); checkEntry(entry, {name: "name", entryType: "mark"}); assert_equals(performance.getEntriesByName("name").length, 0); }, "Using new PerformanceMark() shouldn't add the entry to performance timeline.");