From 5e04b38b1dc6a5918091810bd3b93a57df36499e Mon Sep 17 00:00:00 2001 From: Tom Ritter Date: Wed, 28 Feb 2018 23:33:46 -0600 Subject: 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 --- devtools/client/canvasdebugger/test/browser_profiling-canvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 devtools/client/canvasdebugger/test/browser_profiling-canvas.js (limited to 'devtools') diff --git a/devtools/client/canvasdebugger/test/browser_profiling-canvas.js b/devtools/client/canvasdebugger/test/browser_profiling-canvas.js old mode 100644 new mode 100755 index ede8a4dbf..75f8da4f3 --- a/devtools/client/canvasdebugger/test/browser_profiling-canvas.js +++ b/devtools/client/canvasdebugger/test/browser_profiling-canvas.js @@ -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); -- cgit v1.2.3