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

Unified Diff: chrome/test/media_router/telemetry/benchmarks/pagesets/mirroring.html

Issue 1931553004: Stop the existing session if it exists before start a new session and add mirroring scenario for cp… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update media_router_perf_pages.py Created 4 years, 8 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: chrome/test/media_router/telemetry/benchmarks/pagesets/mirroring.html
diff --git a/chrome/test/media_router/telemetry/benchmarks/pagesets/mirroring.html b/chrome/test/media_router/telemetry/benchmarks/pagesets/mirroring.html
new file mode 100644
index 0000000000000000000000000000000000000000..9cf71ae19f02d1b814652b3245aeb435c20b2e95
--- /dev/null
+++ b/chrome/test/media_router/telemetry/benchmarks/pagesets/mirroring.html
@@ -0,0 +1,21 @@
+<!DOCTYPE HTML>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>MR Perf Test</title>
+ <script type="text/javascript" src="cpu_memory_script.js"></script>
+ <script>
+ function startSession() {
+ var startSessionRequest = new PresentationRequest("http://google.com");
+ startSessionRequest.start();
+ console.log('start session');
+ }
+ </script>
+ </head>
+ <body>
+ <button id="start_session_button" onclick="startSession()">
+ Start session
+ </button>
+ <video id="video_player" controls autoplay loop src="bear-vp9-opus.webm">
+ </video>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698