mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Bug 1442127 - Allow function call times to occur at the same time in browser_profiling-canvas.js for ESR branch. r=baku, a=test-only
MozReview-Commit-ID: Fev1JqBwJYO --HG-- extra : transplant_source : %ADG%83%28%3B%94f%98%EAO%80%08%8A%DFs%D4%24C9%A8 extra : histedit_source : 4859a7fdd7b324e0c0231feb4e13437f836bdb9c
This commit is contained in:
parent
514c90e37c
commit
af7e635176
1 changed files with 1 additions and 1 deletions
2
devtools/client/canvasdebugger/test/browser_profiling-canvas.js
Normal file → Executable file
2
devtools/client/canvasdebugger/test/browser_profiling-canvas.js
Normal file → Executable file
|
|
@ -37,7 +37,7 @@ function* ifTestingSupported() {
|
|||
for (let i = 0; i < functionCalls.length - 1; i += 2) {
|
||||
ok(functionCalls[i].timestamp > 0, "The timestamp of the called function is larger than 0.");
|
||||
ok(functionCalls[i].timestamp < currentTime, "The timestamp has been minus the frame start time.");
|
||||
ok(functionCalls[i + 1].timestamp > functionCalls[i].timestamp, "The timestamp of the called function is correct.");
|
||||
ok(functionCalls[i + 1].timestamp >= functionCalls[i].timestamp, "The timestamp of the called function is correct.");
|
||||
}
|
||||
|
||||
yield removeTab(target.tab);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue