Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Unified Diff: LayoutTests/inspector-protocol/timeline/timeline-raf.html

Issue 1021543002: DevTools: remove InspectorTest.assert from inspector-protocol tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/inspector-protocol/timeline/timeline-raf.html
diff --git a/LayoutTests/inspector-protocol/timeline/timeline-raf.html b/LayoutTests/inspector-protocol/timeline/timeline-raf.html
index 8acb7a0198c1097525b3a9af445800eddabcc18f..61d0a958beacfc6f46d1466313c976fde00d60cb 100644
--- a/LayoutTests/inspector-protocol/timeline/timeline-raf.html
+++ b/LayoutTests/inspector-protocol/timeline/timeline-raf.html
@@ -36,8 +36,8 @@ function test()
var raf1 = InspectorTest.findEvent("RequestAnimationFrame", "I", hasRafId.bind(this, firedRaf));
var raf2 = InspectorTest.findEvent("RequestAnimationFrame", "I", hasRafId.bind(this, canceledRaf));
- InspectorTest.assert(!!raf1.args.data.frame, "RequestAnimationFrame frame");
- InspectorTest.assertEquals(raf1.args.data.frame, raf2.args.data.frame, "RequestAnimationFrame frame match");
+ InspectorTest.log("RequestAnimationFrame has frame: " + !!raf1.args.data.frame);
+ InspectorTest.log("RequestAnimationFrame frames match: " + (raf1.args.data.frame === raf2.args.data.frame));
InspectorTest.findEvent("CancelAnimationFrame", "I", hasRafId.bind(this, canceledRaf));
InspectorTest.findEvent("FireAnimationFrame", "X", hasRafId.bind(this, firedRaf));

Powered by Google App Engine
This is Rietveld 408576698