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

Unified Diff: LayoutTests/inspector-protocol/timeline/timeline-timer.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-timer.html
diff --git a/LayoutTests/inspector-protocol/timeline/timeline-timer.html b/LayoutTests/inspector-protocol/timeline/timeline-timer.html
index 106935cde4a093e7c4fe9db74a91638b47d5e62e..d0d4e2d2f8978b4a622d927ad2562f5d49a71829 100644
--- a/LayoutTests/inspector-protocol/timeline/timeline-timer.html
+++ b/LayoutTests/inspector-protocol/timeline/timeline-timer.html
@@ -37,8 +37,8 @@ function test()
var installTimer1 = InspectorTest.findEvent("TimerInstall", "I", hasTimerId.bind(this, firedTimerId));
var installTimer2 = InspectorTest.findEvent("TimerInstall", "I", hasTimerId.bind(this, removedTimerId));
- InspectorTest.assert(!!installTimer1.args.data.frame, "TimerInstall frame");
- InspectorTest.assertEquals(installTimer1.args.data.frame, installTimer2.args.data.frame, "TimerInstall frame match");
+ InspectorTest.log("TimerInstall has frame: " + !!installTimer1.args.data.frame);
+ InspectorTest.log("TimerInstall frames match: " + (installTimer1.args.data.frame === installTimer2.args.data.frame));
InspectorTest.findEvent("TimerRemove", "I", hasTimerId.bind(this, removedTimerId));
InspectorTest.findEvent("TimerFire", "X", hasTimerId.bind(this, firedTimerId));

Powered by Google App Engine
This is Rietveld 408576698