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

Unified Diff: third_party/WebKit/LayoutTests/webmidi/loopback-receive.html

Issue 2099213002: Web MIDI: prepare to deprecate MIDIMessageEvent::receivedTime (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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: third_party/WebKit/LayoutTests/webmidi/loopback-receive.html
diff --git a/third_party/WebKit/LayoutTests/webmidi/loopback-receive.html b/third_party/WebKit/LayoutTests/webmidi/loopback-receive.html
index 9728155a3a70d1aa81c44e2be35522c4705aa1d1..c3f6b0f24161f5100ece95d5f5c6cdda74d7be53 100644
--- a/third_party/WebKit/LayoutTests/webmidi/loopback-receive.html
+++ b/third_party/WebKit/LayoutTests/webmidi/loopback-receive.html
@@ -43,6 +43,8 @@ function verifyData(e) {
expected = testData[receiveCount];
actual = e.data;
shouldBe("actual", "expected");
+ midiMessageEvent = e;
+ shouldBeTrue("midiMessageEvent.receivedTime !== undefined");
receiveCount++;
if (receiveCount == testData.length)
e.target.resolve();

Powered by Google App Engine
This is Rietveld 408576698