summaryrefslogtreecommitdiffstats
path: root/devtools/client/canvasdebugger/test
diff options
context:
space:
mode:
authorTom Ritter <tom@mozilla.com>2018-02-28 23:33:46 -0600
committerwolfbeast <mcwerewolf@gmail.com>2018-03-14 12:37:03 +0100
commit5e04b38b1dc6a5918091810bd3b93a57df36499e (patch)
treec4d448f11de048ff8db091eefa9fa850f32dd232 /devtools/client/canvasdebugger/test
parent64d560f52bed0065fb7267ff87ad435eacef90fd (diff)
downloadUXP-5e04b38b1dc6a5918091810bd3b93a57df36499e.tar
UXP-5e04b38b1dc6a5918091810bd3b93a57df36499e.tar.gz
UXP-5e04b38b1dc6a5918091810bd3b93a57df36499e.tar.lz
UXP-5e04b38b1dc6a5918091810bd3b93a57df36499e.tar.xz
UXP-5e04b38b1dc6a5918091810bd3b93a57df36499e.zip
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
Diffstat (limited to 'devtools/client/canvasdebugger/test')
-rwxr-xr-x[-rw-r--r--]devtools/client/canvasdebugger/test/browser_profiling-canvas.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/client/canvasdebugger/test/browser_profiling-canvas.js b/devtools/client/canvasdebugger/test/browser_profiling-canvas.js
index ede8a4dbf..75f8da4f3 100644..100755
--- 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);